mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
- Little refactor
This commit is contained in:
parent
684c8baebe
commit
1fddddcafa
1 changed files with 0 additions and 1 deletions
|
@ -142,7 +142,6 @@ class ImminentDoomEffect extends OneShotEffect {
|
||||||
Effect effect = new DamageTargetEffect((int) game.getState().getValue("ImminentDoomCount" + source.getSourceId().toString()));
|
Effect effect = new DamageTargetEffect((int) game.getState().getValue("ImminentDoomCount" + source.getSourceId().toString()));
|
||||||
effect.apply(game, source);
|
effect.apply(game, source);
|
||||||
imminentDoom.addCounters(CounterType.DOOM.createInstance(), source, game);
|
imminentDoom.addCounters(CounterType.DOOM.createInstance(), source, game);
|
||||||
game.getState().setValue("ImminentDoomCount" + source.getSourceId().toString(), 0); // reset to 0 to avoid any silliness
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue