public override bool Process() { if (TargetUnit == null) { return(false); } SpellEffects.Effect eff = new SpellEffects.Shield((int)(MapLogic.TICRATE * Spell.GetDuration()), Spell.GetAbsorbtion()); TargetUnit.AddSpellEffects(eff); return(false); }
public override bool Process() { if (TargetUnit == null) { return(false); } SpellEffects.Effect eff = new SpellEffects.Shield((int)(MapLogic.TICRATE * Spell.GetDuration()), Spell.GetAbsorbtion()); TargetUnit.AddSpellEffects(eff); return(false); }