mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
GameAction: stop always trigger before etb counter (#4449)
* GameAction: stop always trigger before etb counter * ~ always clear trigger and check for static abilities again
This commit is contained in:
@@ -583,14 +583,19 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!table.isEmpty()) {
|
||||||
|
// we don't want always trigger before counters are placed
|
||||||
|
game.getTriggerHandler().suppressMode(TriggerType.Always);
|
||||||
// Need to apply any static effects to produce correct triggers
|
// Need to apply any static effects to produce correct triggers
|
||||||
checkStaticAbilities();
|
checkStaticAbilities();
|
||||||
|
|
||||||
if (table.replaceCounterEffect(game, null, true, true, params)) {
|
|
||||||
// update static abilities after etb counters have been placed
|
|
||||||
checkStaticAbilities();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.replaceCounterEffect(game, null, true, true, params);
|
||||||
|
|
||||||
|
// update static abilities after etb counters have been placed
|
||||||
|
game.getTriggerHandler().clearSuppression(TriggerType.Always);
|
||||||
|
checkStaticAbilities();
|
||||||
|
|
||||||
// 400.7g try adding keyword back into card if it doesn't already have it
|
// 400.7g try adding keyword back into card if it doesn't already have it
|
||||||
if (zoneTo.is(ZoneType.Stack) && cause != null && cause.isSpell() && !cause.isIntrinsic() && c.equals(cause.getHostCard())) {
|
if (zoneTo.is(ZoneType.Stack) && cause != null && cause.isSpell() && !cause.isIntrinsic() && c.equals(cause.getHostCard())) {
|
||||||
if (cause.getKeyword() != null && !copied.getKeywords().contains(cause.getKeyword())) {
|
if (cause.getKeyword() != null && !copied.getKeywords().contains(cause.getKeyword())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user