mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
GameAction: fix ETB counters with Solemnity
This commit is contained in:
@@ -288,11 +288,6 @@ public class GameAction {
|
||||
lastKnownInfo = CardUtil.getLKICopy(c);
|
||||
c.setUnearthed(false);
|
||||
}
|
||||
|
||||
if (toBattlefield) {
|
||||
copied.putEtbCounters();
|
||||
}
|
||||
copied.clearEtbCounters();
|
||||
}
|
||||
|
||||
copied.getOwner().removeInboundToken(copied);
|
||||
@@ -355,6 +350,14 @@ public class GameAction {
|
||||
game.getTriggerHandler().clearInstrinsicActiveTriggers(c, zoneFrom);
|
||||
game.getTriggerHandler().registerActiveTrigger(c, false);
|
||||
|
||||
// do ETB counters after StaticAbilities check
|
||||
if (!suppress) {
|
||||
if (toBattlefield) {
|
||||
copied.putEtbCounters();
|
||||
}
|
||||
copied.clearEtbCounters();
|
||||
}
|
||||
|
||||
// play the change zone sound
|
||||
game.fireEvent(new GameEventCardChangeZone(c, zoneFrom, zoneTo));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user