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; } }
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; } }