///////////////////////////////////////////////////////////////////////
// *Scripter Name : Raskol Serna
// *Shard Name : The Rosario Game
// *Shard Address : www.rosario.gen.tr
// *Personal Address : www.raskolserna.com
// *Messenger and E-Mail : [email protected]
// *Sphere Version : Specially 0.56b and maybe other releases
//
// *Bu kodlar TheRaskol tarafından yazılmış veya editlenmiştir.
// *The codes are written or were edited by TheRaskol (Raskol Serna).
///////////////////////////////////////////////////////////////////////
[events e_spear]
On=@Hit
if (<src.flags>&statf_stone) || (<src.region.safe>)
return 0
elseif (<findlayer(2).type> == t_weapon_fence) && (<fencing> >= 98.0)
if (rand(500) <= <eval (<anatomy> / 40)>) && !(<src.findid.i_parablow>)
src.damage {15 25}
src.skill fail
var.act <src.act.uid>
src.newitem i_parablow
src.act.equip
src.sayua 020,6,6,0 * paradarbe alır *
return 1
endif
endif
endif
[events e_parablow]
On=@GetHit
findid.i_parablow.remove
On=@Death
findid.i_parablow.remove
[itemdef i_parablow]
name=parablow
id=i_gold
type=t_eq_script
weight=0
layer=layer_special
On=@Equip
src.flags <src.flags>|04
src.events +e_parablow
timer 3
On=@UnEquip
cont.events -e_parablow
if !(<cont.flags>&statf_dead)
cont.flags <cont.flags>&~04
endif
On=@Timer
attr attr_decay
remove
return 1
[eof]