mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
fixed haktos protection (#10289)
This commit is contained in:
parent
969d7f27b1
commit
bb31939079
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class HaktosTheUnscarredChooseEffect extends OneShotEffect {
|
||||||
}
|
}
|
||||||
int number = 2 + RandomUtil.nextInt(3);
|
int number = 2 + RandomUtil.nextInt(3);
|
||||||
game.informPlayers(permanent.getLogName() + ": " + controller.getLogName() + " has chosen " + number + " at random");
|
game.informPlayers(permanent.getLogName() + ": " + controller.getLogName() + " has chosen " + number + " at random");
|
||||||
game.getState().setValue(permanent.getId() + "" + (permanent.getZoneChangeCounter(game) + 1) + "_haktos_number", number);
|
game.getState().setValue(permanent.getId() + "" + source.getSourceObjectZoneChangeCounter() + "_haktos_number", number);
|
||||||
permanent.addInfo("chosen number", CardUtil.addToolTipMarkTags("Chosen number: " + number), game);
|
permanent.addInfo("chosen number", CardUtil.addToolTipMarkTags("Chosen number: " + number), game);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue