arkadaşlar ben silahlara tıklandığında silahın %lik dilimle hasarını gostermesini istiyorum nasıl yapabilirim birde spear bardich gibi slahların 2 kareden vurmasını istiyorum nasıl ayarlayabilirim şimdiden thanx..
ilk önce hitpoinsi belirle sonra

on=@click
message @07a1,,1 [ % <eval <hitpoints>> Yeni ]
message @025 ' <name> '
if (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_mace_smith)|| (<act.type> == t_weapon_mace_sharp) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_mace_staff)
if (<src.act.morez> > 0)
src.sysmessage @68,,1 Silah Zehirli
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @55,1,1 Bu silah [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))>] eskimis.
else
src.sysmessage @55,1,1 Bu silah saglam.
endif
endif
endif
fix.scp de itemclick triggerinin altina eklersen sorunsuz calisir...
Çift KaRe için ise

range=2

ekliceksin
if (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_mace_smith)|| (<act.type> == t_weapon_mace_sharp) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_mace_staff)

yerine

if (<act.isweapon>) kullanabilirsin.
yahu iyide adam %85 hasar oalnı %90 gibini söylüyor :D
Genesis : if (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_mace_smith)|| (<act.type> == t_weapon_mace_sharp) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_mace_staff)

yerine

if (<act.isweapon>) kullanabilirsin.
haklısın bunu benim düşünmem lazımdı hemen deiştiriyim bende

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.