Exemplo n.º 1
0
 public override void PerformCAction(Player performingPlayer)
 {
     if (performingPlayer.BattleBots != null)
     {
         if (performingPlayer.BattleBots.IsDisabled)
         {
             performingPlayer.BattleBots.IsDisabled = false;
         }
     }
     else if (battleBots != null)
     {
         performingPlayer.BattleBots = battleBots;
         battleBots = null;
     }
 }
Exemplo n.º 2
0
 public void PerformCAction(Player performingPlayer, int currentTurn, bool isAdvancedUsage)
 {
     Check.ArgumentIsNotNull(performingPlayer, "performingPlayer");
     if (performingPlayer.BattleBots != null)
     {
         if (performingPlayer.BattleBots.IsDisabled)
         {
             performingPlayer.BattleBots.IsDisabled = false;
         }
     }
     else if (BattleBots != null)
     {
         performingPlayer.BattleBots = BattleBots;
         BattleBots = null;
     }
 }