******************************************************************************
******************************************************************************
*******************************************************************************
[PLEVEL 1]
stampower

[FUNCTION stampower]
src.SPELLEFFECT s_protection,100.0
src.SPELLEFFECT s_reactive_armor,100.0
src.SPELLEFFECT s_night_sight,100.0
src.message @0800 *Stam Gucunu Kontrol Altına Alır.*
timer=400

[itemdef i_stam_mace]
defname i_stam_mace
id=i_mace
name StamShot Mace
type t_weapon_mace
SPEED=35

CATEGORY=Tcpip
SUBSECTION=Weapon
DESCRIPTION=StamShot Mace

DAM={2 7}

ON=@Create 
HITPOINTS={20 45} 
COLOR=07ed

on=@click
src.message @07a1 [<serv.name>]
src.message @07a1 [<name>]
return 1

on=@dclick
if (<src.macefightning> == 100.0) && (<src.tactics> == 100.0)
equip
else
src.sysmessage @07a1,0,1 Bunu kullanabilmeniz icin 100.0 Macefightning ve 100.0 Tactics skilline ihtiyaciniz var.
unequip
endif

on=@Timer
TIMER=400

on=@equip
cont.sayua 0823,0,0,1 *Stam Gucu Seninle*
src.sysmessage @0800 ".stampower" Komutu Ile İnlor ve Flam Komutunu Kullanabilirsiniz.
on=@damage
if (<src.stam> <= 0)
src.stam 0
else
src.stam -=15
return 1
endif

on=@Hit
src.message @07a1,0,1 *Stam Shot Gucunu Kullanır.*
return 1 


Scriptte Yenı Sayılırım Hatalarimi Solermisiniz ??? Birde Ben Her Vurusta Stam Wersın Istemıorum 4-5 Vurusta 1 Stam Shot Wersin İstiyorum Yardım Edermısnız?
if (<r1,5> == 1)
if (<src.stam> <= 0)
src.stam 0
else
src.stam -=15
return 1
endif
endif

şeklinde 5 de 1 oranını sağlayabilirsin

Üye Ol veya Giriş Yap

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