ScriptName aaaKimachuuOnslaughtPod Extends ActiveMagicEffect

GlobalVariable Property aaaKimachuuOnslaughtGlo Auto

Actor actCaster

Event OnEffectStart(Actor akTarget, Actor akCaster)
	actCaster = akTarget
	RegisterForUpdate(5.0)
EndEvent

Event OnUpdate()
	If aaaKimachuuOnslaughtGlo.GetValueInt() == 1
		Return
	EndIf

	deathFunction(actCaster)
EndEvent

Function deathFunction(Actor act01)
	act01.Kill()
	act01.Disable()
	act01.Delete()
	actCaster = None
EndFunction