恢复卡槽可选
This commit is contained in:
@@ -57,14 +57,14 @@ namespace TcgEngine.Client
|
||||
|
||||
//Find target opacity value
|
||||
target_alpha = 0f;
|
||||
if (your_turn && dcard != null && dcard.CardData.IsBoardCard() && gdata.CanPlayCard(dcard, slot, true))
|
||||
if (your_turn && dcard != null && dcard.CardData.IsBoardCard() && gdata.CanPlayCard(dcard, slot))
|
||||
{
|
||||
target_alpha = 1f; //hightlight when dragging a character or artifact (skip mana cost)
|
||||
target_alpha = 1f; //hightlight when dragging a character or artifact
|
||||
}
|
||||
|
||||
if (your_turn && dcard != null && dcard.CardData.IsRequireTarget() && gdata.CanPlayCard(dcard, slot, true))
|
||||
if (your_turn && dcard != null && dcard.CardData.IsRequireTarget() && gdata.CanPlayCard(dcard, slot))
|
||||
{
|
||||
target_alpha = 1f; //Highlight when dragin a spell with target (skip mana cost)
|
||||
target_alpha = 1f; //Highlight when dragin a spell with target
|
||||
}
|
||||
|
||||
if (gdata.selector == SelectorType.SelectTarget && player.player_id == gdata.selector_player_id)
|
||||
|
||||
Reference in New Issue
Block a user