scn <Spell>
short doonce
short wait
short done
ref target
ref me
ref <activator>
ref <Kreaturen-beherrschen Spell>
ref spell
Begin ScriptEffectStart
set target to GetSelf
if target.getdead == 1
target.resurrect 1
endif
End
Begin ScriptEffectUpdate
if wait == 1
if doonce == 0
set me to GetSelf
set source to <Interior>
<activator>.MoveTo me 0, 0, 10
<activator>.cast <Kreaturen-beherrschen Spell> target
set spell to getFirstRef 34
while spell
if spell.getProjectileType
if spell.getProjectileLifetime < 0.5
if spell.getMagicProjectileSpell == <Kreaturen-beherrschen Spell>
spell.setPlayerProjectile
set done to 1
endif
endif
endif
if done
set spell to 0
set done to 0
else
getNextRef
endif
loop
set doonce to 1
endif
else
set wait to 1
endif
End
Begin ScriptEffectFinish
target.kill
End