forked from External/mage
moved info from CardImpl to CardState and PermanentImpl + created InfoEffect for displaying rule info on Card
This commit is contained in:
parent
eb86378bc1
commit
fe2cd395a6
55 changed files with 333 additions and 94 deletions
|
|
@ -102,7 +102,7 @@ class AdaptiveAutomatonEffect extends OneShotEffect {
|
|||
}
|
||||
game.informPlayers(permanent.getName() + ": " + player.getName() + " has chosen " + typeChoice.getChoice());
|
||||
game.getState().setValue(permanent.getId() + "_type", typeChoice.getChoice());
|
||||
permanent.addInfo("chosen type", "<i>Chosen type: " + typeChoice.getChoice().toString() + "</i>");
|
||||
permanent.addInfo("chosen type", "<i>Chosen type: " + typeChoice.getChoice().toString() + "</i>", game);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue