mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
add Jhoira Weatherlight Captain + tests
This commit is contained in:
parent
7344a15a9b
commit
bd4b5f6300
3 changed files with 64 additions and 0 deletions
37
Mage.Sets/src/mage/cards/j/JhoiraWeatherlightCaptain.java
Normal file
37
Mage.Sets/src/mage/cards/j/JhoiraWeatherlightCaptain.java
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.j;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.common.FilterHistoricSpell;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public class JhoiraWeatherlightCaptain extends CardImpl {
|
||||
|
||||
public JhoiraWeatherlightCaptain(UUID ownerId, CardSetInfo cardSetInfo){
|
||||
super(ownerId, cardSetInfo, new CardType[]{CardType.CREATURE}, "{2}{U}{R}");
|
||||
addSuperType(SuperType.LEGENDARY);
|
||||
subtype.add(SubType.HUMAN, SubType.ARTIFICER);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
||||
Ability ability = new SpellCastControllerTriggeredAbility(new DrawCardSourceControllerEffect(1), new FilterHistoricSpell(), false);
|
||||
addAbility(ability);
|
||||
|
||||
}
|
||||
|
||||
public JhoiraWeatherlightCaptain(final JhoiraWeatherlightCaptain jhoiraWeatherlightCaptain){
|
||||
super(jhoiraWeatherlightCaptain);
|
||||
}
|
||||
|
||||
public JhoiraWeatherlightCaptain copy(){
|
||||
return new JhoiraWeatherlightCaptain(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -55,5 +55,6 @@ public class Dominaria extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Benalish Marshal", 10, Rarity.UNCOMMON, mage.cards.b.BenalishMarshal.class));
|
||||
cards.add(new SetCardInfo("Charge", 11, Rarity.COMMON, mage.cards.c.Charge.class));
|
||||
cards.add(new SetCardInfo("Knight of Grace", 12, Rarity.UNCOMMON, mage.cards.k.KnightOfGrace.class));
|
||||
cards.add(new SetCardInfo("Jhoira, Weatherlight Captain", 200, Rarity.MYTHIC, mage.cards.j.JhoiraWeatherlightCaptain.class));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue