mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Changes to first trigger
This commit is contained in:
parent
8538e6d157
commit
0ec629d6e5
1 changed files with 3 additions and 2 deletions
|
@ -200,10 +200,11 @@ class BaronVonCountMoveDoomCounterEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
Integer doomNumber = (Integer) game.getState().getValue(mageObject.getId() + "_doom");
|
||||
if (doomNumber <= 1) {
|
||||
if (doomNumber == 1) {
|
||||
// not completely sure if counter should be moving here or not (relevant in case the second trigger gets countered)
|
||||
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.CUSTOM_EVENT, source.getSourceId(), source.getSourceId(), controller.getId(), "DoomCounterReset", 1));
|
||||
} else {
|
||||
}
|
||||
if (doomNumber > 0) {
|
||||
doomNumber--;
|
||||
game.getState().setValue(mageObject.getId() + "_doom", doomNumber);
|
||||
((Permanent) mageObject).addInfo("doom counter", CardUtil.addToolTipMarkTags("Doom counter at: " + doomNumber), game);
|
||||
|
|
Loading…
Reference in a new issue