protected override void StartEffectivePerform() { base.StartEffectivePerform(); var b = (Buff)Buff.Clone(); TargetUnit.AddBuff(b, Performer, Mediator); }
protected override void StartEffectivePerform() { base.StartEffectivePerform(); foreach (var v in Game.Instance.Mechanics.InRange.GetInRange(Mediator.Position, Radius)) { if (v.Entity is Unit) { var b = (Buff)Buff.Clone(); ((Unit)v.Entity).AddBuff(b, Performer, Mediator); } } }