* Riders of Gavony, Adaptive Automaton, Door of Destinies, Xenograft - Added info to card tooltip about the chosen creature type.

This commit is contained in:
LevelX2 2013-09-16 22:07:57 +02:00
parent 243d10b336
commit c6f7d0c713
4 changed files with 4 additions and 0 deletions

View file

@ -107,6 +107,7 @@ class RidersOfGavonyEffect extends OneShotEffect<RidersOfGavonyEffect> {
}
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>");
}
return false;
}

View file

@ -100,6 +100,7 @@ class AdaptiveAutomatonEffect extends OneShotEffect<AdaptiveAutomatonEffect> {
}
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>");
}
return false;
}

View file

@ -112,6 +112,7 @@ class ChooseCreatureTypeEffect extends OneShotEffect<ChooseCreatureTypeEffect> {
}
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>");
}
return false;
}

View file

@ -102,6 +102,7 @@ class XenograftEffect extends OneShotEffect<XenograftEffect> {
}
game.informPlayers(permanent.getName() + ": " + player.getName() + " has chosen " + typeChoice.getChoice());
game.getState().setValue(source.getSourceId() + "_XenograftType", typeChoice.getChoice());
permanent.addInfo("chosen type", "<i>Chosen type: " + typeChoice.getChoice().toString() + "</i>");
}
return false;
}