mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
- Fix Isperia the Inscrutable. Bug #3018
This commit is contained in:
parent
96522e152b
commit
f6279d1250
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ class IsperiaTheInscrutableEffect extends OneShotEffect {
|
|||
Player player = game.getPlayer(getTargetPointer().getFirst(game, source));
|
||||
Object object = (String) game.getState().getValue(source.getSourceId().toString() + NameACardEffect.INFO_KEY);
|
||||
if (player != null && object instanceof String) {
|
||||
player.revealCards(player.getLogName() + "hand", player.getHand(), game, true);
|
||||
String namedCard = (String) object;
|
||||
for (Card card : player.getHand().getCards(game)) {
|
||||
if (card != null && card.getName().equals(namedCard)) {
|
||||
|
|
Loading…
Reference in a new issue