Scriptname _00E_ShatterScript extends activemagiceffect Spell Property _00E_Ability_FrostbreathCastBody Auto Actor Property PlayerREF Auto ACtivator Property _00E_ShatteredEnemyPile Auto Explosion Property _00E_FrostShatteringExplosion Auto Explosion Property _00E_FrostShatteringExplosion02 Auto Event OnEffectStart(Actor akTarget, Actor akCaster) bool IsFrozen = akTarget.HasSpell(_00E_Ability_FrostbreathCastBody) if isFrozen == true Debug.Notification("Target is frozen!") akTarget.PlaceAtMe(_00E_FrostShatteringExplosion02) akTarget.PlaceAtMe(_00E_FrostShatteringExplosion) akTarget.Kill(PlayerREF) akTarget.SetAlpha (0.0, true) akTarget.AttachAshPile(_00E_ShatteredEnemyPile) else Debug.Notification("Target is not frozen!") endif EndEvent