protected override void OnStart() { base.OnStart(); CurTargets = EntitiesAffected; TJAction = Action as TornadoJump; DamageMod = 1; SecondPart = false; }
protected override void OnEnd() { base.OnEnd(); if (CurTargets != null) { //Stop targeting for (int i = 0; i < CurTargets.Length; i++) { CurTargets[i].StopTarget(); } } //Clear the current targets CurTargets = null; TJAction = null; DamageMod = 1; SecondPart = false; }