Пример #1
0
 protected override void StartEffectivePerform()
 {
     base.StartEffectivePerform();
     speedInc = TargetUnit.MaxRunSpeed;
     TargetUnit.MaxRunSpeed += speedInc;
     TargetUnit.Armor       += armorInc;
     effect = new Client.Game.Map.Effects.CommanderBuffEffect {
         Scale = TargetUnit.Scale
     };
     TargetUnit.Scene.Add(effect);
 }
Пример #2
0
 protected override void StartEffectivePerform()
 {
     base.StartEffectivePerform();
     speedInc = TargetUnit.MaxRunSpeed;
     TargetUnit.MaxRunSpeed += speedInc;
     TargetUnit.Armor += armorInc;
     effect = new Client.Game.Map.Effects.CommanderBuffEffect { Scale = TargetUnit.Scale };
     TargetUnit.Scene.Add(effect);
 }