mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Issue#467: usable activated ability in hand now also displayed yellow (e.g. Cycling)
This commit is contained in:
parent
b52e526c0f
commit
1caaad831e
1 changed files with 6 additions and 0 deletions
|
@ -1995,6 +1995,12 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
break;
|
||||
}
|
||||
}
|
||||
for (ActivatedAbility ability : card.getAbilities().getActivatedAbilities(Zone.HAND)) {
|
||||
if (!playable.contains(ability) && canPlay(ability, available, game)) {
|
||||
playable.add(card.getId());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue