Hello all :)
Today I give the script for Frucht des Lebens :)
frucht.quest
item_proto
Query
Icon in attachment :)
Today I give the script for Frucht des Lebens :)
frucht.quest
Code:
quest frucht begin
state start begin
when 71107.use begin
if get_time() > pc.getqf("frucht") then
pc.change_alignment(3000)
pc.setqf("frucht", get_time()+ 18000)
notice("Sie haben 3000 alignment gewonnen")
pc.remove_item("71107", 1)
else
notice("Sie müssen zwischen jeder Frucht 5 Stunden warten.")
end
end
end
end
HTML Code:
<Item vnum="71107" hashName="'õµµº¹¼þ¾Æ'" name="Frucht des Lebens" type="18" subtype="10" weight="0" size="1" antiflag="106880" flag="8192" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="3000" value1="5" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64912" socket2="127" socket3="65008" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
PHP Code:
INSERT INTO `item_proto` VALUES ('71107', 'Frucht des Lebens', 'Frucht des Lebens', '18', '10', '0', '1', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '5000', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
Icon in attachment :)