mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Fix Blitz not being cleaned up when the permanent leaved the BF (#9775)
A onCard: false parameter was necessary to clean the effect once the blitz creature leaved the battlefield.
This commit is contained in:
parent
2cdfb255cf
commit
70fa98f492
2 changed files with 49 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ public class BlitzAbility extends SpellAbility {
|
|||
);
|
||||
ability.addEffect(new GainAbilitySourceEffect(new DiesSourceTriggeredAbility(
|
||||
new DrawCardSourceControllerEffect(1)
|
||||
).setTriggerPhrase("When this creature dies, ")));
|
||||
).setTriggerPhrase("When this creature dies, "), Duration.Custom, false));
|
||||
ability.addEffect(new BlitzAddDelayedTriggeredAbilityEffect());
|
||||
ability.setRuleVisible(false);
|
||||
addSubAbility(ability);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue