clear hints before static ones are added in triggers' checkTrigger

This commit is contained in:
Susucre 2024-06-09 14:22:10 +02:00
parent cbe1db3434
commit 01d2550396
2 changed files with 2 additions and 0 deletions

View file

@ -127,6 +127,7 @@ class AetherRevoltTriggeredAbility extends TriggeredAbilityImpl {
}
this.getEffects().clear();
this.getEffects().add(new DamageTargetEffect(amount));
this.getHints().clear();
this.addHint(new StaticHint("Energy you got: " + amount));
return true;
}

View file

@ -87,6 +87,7 @@ class RampagingWarMammothTriggeredAbility extends ZoneChangeTriggeredAbility {
this.addEffect(new DestroyTargetEffect());
// Target up to X artifacts
this.addTarget(new TargetArtifactPermanent(0, xValue));
this.getHints().clear();
this.addHint(new StaticHint("X = " + xValue));
return true;