[events e_deneme]
on=@kill
if (<argo.isplayer>)
src.newitem i_flesh_head
new.link <argo>
new.name <argo.name>
new.bounce
return 1
endif
elseif ((<argn> == 38) || (<argn> == 47)) // paralyze & paralyze field
if (<findid.i_pouch_trapped>)
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 20
findid.i_pouch_trapped.remove
return 1
elseif !(<src.uid> == <uid>)
findid.i_pouch_trapped.remove
damage 1
endif
[ITEMDEF i_pouch_trapped]
ID=i_pouch
NAME=Trapped pouch
WEIGHT=4
SKILLMAKE=TINKERING 65.0,t_tinker_tools
RESOURCES=20 i_log
TYPE=t_script
on=@click
message @0481,,1 <name>
return 1
on=@create
color 0455
more2 5
[eof]
[events e_trapped]
On=@SpellEffect
if ((<argn> == 38) || (<argn> == 47)) // paralyze & paralyze field
if (<findid.i_pouch_trapped>)
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 20
findid.i_pouch_trapped.remove
return 1
elseif !(<src.uid> == <uid>)
findid.i_rune_poison.remove
endif
endif
arkane : on=@destroy
foritems 0
if <baseid> == i_flesh_head
remove
endif
endfor
NOT=ALINTIDIR