forked from External/mage
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:
parent
dcca63b963
commit
be4b568e88
14 changed files with 168 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue