public void Execute(IDungeonMasterApp dungeonMasterApp, ChatMessage chatMessage) { SetCreatureId(dungeonMasterApp); if (creatureId == int.MinValue && playerName != null) { int playerId = dungeonMasterApp.GetPlayerIdFromName(playerName); dungeonMasterApp.CardCommand(cardCommandType, playerId, cardId); } else { dungeonMasterApp.CardCommand(cardCommandType, creatureId, cardId); } }