调整卡牌攻击
- 场上存在卡牌时无法直接攻击敌方玩家 - 取消卡牌攻击敌方玩家高亮显示 - 一回合只能上场一张角色卡
This commit is contained in:
@@ -231,9 +231,10 @@ namespace TcgEngine.Client
|
||||
return;
|
||||
}
|
||||
|
||||
if (!player.CanPayMana(card))
|
||||
// 检查本回合是否已经上场过场上卡牌(只有怪物牌等场上卡牌受限制)
|
||||
if (card.CardData.IsBoardCard() && player.cards_played_this_turn >= 1)
|
||||
{
|
||||
WarningText.ShowNoMana();
|
||||
Debug.Log("本回合只能上场一张场上卡牌");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user