///////////////////////////////////////////////////////////////////////
// *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).
///////////////////////////////////////////////////////////////////////
[itemdef i_mem_frozen]
name=frozen memory
id=i_memory
type=t_eq_script
layer=layer_special
on=@create
attr=attr_decay | attr_newbie
on=@equip
timer 2
SRC.FLAGS=<SRC.FLAGS>|04
on=@timer
cont.flags=<cont.FLAGS>&~04
cont.sayua 060,6,6,0 * Kendine Gelir *
remove
return 1
[events e_stun]
ON=@HIT
if (<src.flags>&statf_stone) || (<src.region.safe>)
return 0
endif
if !(<findlayer(1)> || <findlayer(2)>)
if (rand(500) <= <eval (<anatomy> / 40)>) && !(<src.findid.i_mem_frozen>)
src.damage {10 20}
src.skill fail
var.act <src.act.uid>
src.newitem i_mem_frozen
src.act.equip
src.act <var.act>
src.sayua 020,6,6,0 * sersemler *
return 1
endif
endif
endif
[eof]