Add modeTag + hint of used modes for "choose one that hasn't been chosen" abilities. (#10860)

* Add modeTag + hint of used modes on Three Bowls of Porridge

* add ModesAlreadyUsedHint to all the cards.
This commit is contained in:
Susucre 2023-08-27 05:09:04 +02:00 committed by GitHub
parent dcca63b963
commit be4b568e88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 168 additions and 15 deletions

View file

@ -1390,6 +1390,16 @@ public abstract class AbilityImpl implements Ability {
return this;
}
/**
* sets the mode tag for the current mode.
*/
@Override
public void setModeTag(String tag) {
if (getModes().getMode() != null) {
getModes().getMode().setModeTag(tag);
}
}
@Override
public final List<CardIcon> getIcons() {
return getIcons(null);