mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Additional card hints for 68326c8554
This commit is contained in:
parent
68326c8554
commit
cae3081123
1 changed files with 13 additions and 0 deletions
|
|
@ -306,6 +306,19 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
if (entry.getKey().mustBlockAllAttackers(game)) {
|
||||
restrictHints.add(HintUtils.prepareText("Must block all attackers" + addSourceObjectName(game, ability), null, HintUtils.HINT_ICON_REQUIRE));
|
||||
}
|
||||
|
||||
MageObject object = game.getObject(entry.getKey().mustAttackDefender(ability, game));
|
||||
if (object != null) {
|
||||
restrictHints.add(HintUtils.prepareText("Must attack defender " + object.getLogName() + addSourceObjectName(game, ability), null, HintUtils.HINT_ICON_REQUIRE));
|
||||
}
|
||||
object = game.getObject(entry.getKey().mustBlockAttacker(ability, game));
|
||||
if (object != null) {
|
||||
restrictHints.add(HintUtils.prepareText("Must block attacker " + object.getLogName() + addSourceObjectName(game, ability), null, HintUtils.HINT_ICON_REQUIRE));
|
||||
}
|
||||
object = game.getObject(entry.getKey().mustBlockAttackerIfElseUnblocked(ability, game));
|
||||
if (object != null) {
|
||||
restrictHints.add(HintUtils.prepareText("Must block attacker if able " + object.getLogName() + addSourceObjectName(game, ability), null, HintUtils.HINT_ICON_REQUIRE));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue