Example #1
0
        protected override void StartEffectivePerform()
        {
            base.StartEffectivePerform();
            var b = (Buff)Buff.Clone();

            TargetUnit.AddBuff(b, Performer, Mediator);
        }
Example #2
0
 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);
         }
     }
 }