mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
clear hints before static ones are added in triggers' checkTrigger
This commit is contained in:
parent
cbe1db3434
commit
01d2550396
2 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue