[ITEMDEF i_potion_Heal]
NAME=heal potion
ID=i_bottle_empty
RESOURCES=i_reag_ginseng 3, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 15.1
TYPE=T_POTION
TDATA1=i_bottle_empty
VALUE=29
ON=@Create
MORE1=s_greater_heal
MORE2=55.0
color=4044
on=@click
message @099 <amount> <name>
return 1
on=@dclick
if (<src.findid.i_rune_poison>)
src.smg Zehirli iken bunu kullanamazsiniz
return 1
else
src.findlayer(2).unequip
endif
ON=@dclick
if <src.ctag0.potion>
src.sysmessage @38,,1 Potion kullanabilmek için bir süre beklemelisiniz.
else
src.spelleffect <more1>,<more2>
src.ctag.potion = <uid>
src.timerf 10,ctag0.potion = 0
endif
return 1
ON=@dclick
target @1153,,1 Zehiri sürmek istediğiniz silahı seçiniz ??
return 1
ON=@targon_item
ref1=<src.targ.uid>
if !<ref1.isweapon>
src.sysmessage @38,,1 Bu bir silah değil.
return 1
endif
if (<ref1.type> == t_weapon_sword) || (<ref1.type> == t_weapon_fence) || (<ref1.type> == t_weapon_mace_sharp)
src.sysmessage @1153,,1 <qval <ref1.morez>?Zehiri tazelediniz. : Zehiri sürdünüz.>
ref1.morez = <more2>
else
sysmessage @38,,1 Buna silaha zehir süremezsiniz.
endif