mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Armory of Iroas - Fixed that the counter was not added to the equpped creature.
This commit is contained in:
parent
712eac2b3d
commit
7480802f93
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ package mage.sets.journeyintonyx;
|
|||
import java.util.UUID;
|
||||
import mage.abilities.common.AttacksAttachedTriggeredAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.counter.AddCountersAttachedEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -50,7 +51,7 @@ public class ArmoryOfIroas extends CardImpl<ArmoryOfIroas> {
|
|||
this.subtype.add("Equipment");
|
||||
|
||||
// Whenever equipped creature attacks, put a +1/+1 counter on it.
|
||||
this.addAbility(new AttacksAttachedTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(), true)));
|
||||
this.addAbility(new AttacksAttachedTriggeredAbility(new AddCountersAttachedEffect(CounterType.P1P1.createInstance(), "it")));
|
||||
|
||||
// Equip {2}
|
||||
this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(2)));
|
||||
|
|
Loading…
Reference in a new issue