on=@Mount
argo.hits 10
[events e_atioldur]
on=@hit
if (<act.findlayer.25>)
if ((<findlayer(layer_hand2).type> == t_weapon_fence) || (<findlayer(layer_hand2).type> == t_weapon_sword) || (<findlayer(layer_hand2).type> == t_weapon_smith) || (<findlayer(layer_hand2).type> == t_weapon_sharp))
atincaniniindir
endif
endif
[function atincaniniindir]
if (rand(2)
obj <act.findlayer.25.more2>
obj.hits (<obj.hits> - <argn1>)
update
endif
[events e_atioldur]
on=@hit
if (<act.findlayer.25>)
if ((<findlayer(layer_hand2).type> == t_weapon_fence) || (<findlayer(layer_hand2).type> == t_weapon_sword) || (<findlayer(layer_hand2).type> == t_weapon_smith) || (<findlayer(layer_hand2).type> == t_weapon_sharp))
atincaniniindir <argn1>
endif
endif
[function atincaniniindir]
if (rand(2) == 1)
obj <act.findlayer.25.more2>
obj.hits (<obj.hits> - <args>)
update
endif