forked from External/mage
[TLE] Implement Iroh, Firebending Instructor
This commit is contained in:
parent
47c70bdc2d
commit
ea09727e96
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/i/IrohFirebendingInstructor.java
Normal file
45
Mage.Sets/src/mage/cards/i/IrohFirebendingInstructor.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class IrohFirebendingInstructor extends CardImpl {
|
||||
|
||||
public IrohFirebendingInstructor(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.NOBLE);
|
||||
this.subtype.add(SubType.ALLY);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever Iroh attacks, attacking creatures get +1/+1 until end of turn.
|
||||
this.addAbility(new AttacksTriggeredAbility(new BoostAllEffect(
|
||||
1, 1, Duration.EndOfTurn, StaticFilters.FILTER_ATTACKING_CREATURES, false
|
||||
)));
|
||||
}
|
||||
|
||||
private IrohFirebendingInstructor(final IrohFirebendingInstructor card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IrohFirebendingInstructor copy() {
|
||||
return new IrohFirebendingInstructor(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -52,6 +52,7 @@ public final class AvatarTheLastAirbenderEternal extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Frog-Squirrels", 251, Rarity.COMMON, mage.cards.f.FrogSquirrels.class));
|
||||
cards.add(new SetCardInfo("Gilacorn", 231, Rarity.COMMON, mage.cards.g.Gilacorn.class));
|
||||
cards.add(new SetCardInfo("Hippo-Cows", 252, Rarity.COMMON, mage.cards.h.HippoCows.class));
|
||||
cards.add(new SetCardInfo("Iroh, Firebending Instructor", 240, Rarity.UNCOMMON, mage.cards.i.IrohFirebendingInstructor.class));
|
||||
cards.add(new SetCardInfo("Katara, Waterbending Master", 93, Rarity.MYTHIC, mage.cards.k.KataraWaterbendingMaster.class));
|
||||
cards.add(new SetCardInfo("Run Amok", 258, Rarity.COMMON, mage.cards.r.RunAmok.class));
|
||||
cards.add(new SetCardInfo("The Cabbage Merchant", 134, Rarity.RARE, mage.cards.t.TheCabbageMerchant.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue