mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
* Grafted Wargear - Fixed that the sacrifice effect did not work.
This commit is contained in:
parent
07bbd53d82
commit
9e29a01c0c
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ import java.util.UUID;
|
|||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.common.UnattachedTriggeredAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.SacrificeEquippedEffect;
|
||||
import mage.abilities.effects.common.SacrificeTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -55,7 +55,7 @@ public class GraftedWargear extends CardImpl {
|
|||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(3, 2)));
|
||||
|
||||
// Whenever Grafted Wargear becomes unattached from a permanent, sacrifice that permanent.
|
||||
this.addAbility(new UnattachedTriggeredAbility(new SacrificeEquippedEffect(), false));
|
||||
this.addAbility(new UnattachedTriggeredAbility(new SacrificeTargetEffect(), false));
|
||||
|
||||
// Equip {0}
|
||||
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(0)));
|
||||
|
|
Loading…
Reference in a new issue