mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08: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…
Add table
Add a link
Reference in a new issue