- Little refactor

This commit is contained in:
Achilles 2017-07-07 21:02:30 -05:00
parent 684c8baebe
commit 1fddddcafa

View file

@ -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;