mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Implement Fireborn Knight
This commit is contained in:
parent
e421242365
commit
cc58b9fb2d
1 changed files with 47 additions and 0 deletions
47
Mage.Sets/src/mage/cards/f/FirebornKnight.java
Normal file
47
Mage.Sets/src/mage/cards/f/FirebornKnight.java
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
package mage.cards.f;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.SimpleActivatedAbility;
|
||||||
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
|
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||||
|
import mage.abilities.keyword.DoubleStrikeAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Duration;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.constants.Zone;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author jmharmon
|
||||||
|
*/
|
||||||
|
|
||||||
|
public final class FirebornKnight extends CardImpl {
|
||||||
|
|
||||||
|
public FirebornKnight(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R/W}{R/W}{R/W}{R/W}");
|
||||||
|
this.subtype.add(SubType.HUMAN);
|
||||||
|
this.subtype.add(SubType.KNIGHT);
|
||||||
|
|
||||||
|
this.power = new MageInt(2);
|
||||||
|
this.toughness = new MageInt(3);
|
||||||
|
|
||||||
|
// Double strike
|
||||||
|
this.addAbility(DoubleStrikeAbility.getInstance());
|
||||||
|
|
||||||
|
// {R/W}{R/W}{R/W}{R/W}: Fireborn Knight gets +1/+1 until end of turn.
|
||||||
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn),
|
||||||
|
new ManaCostsImpl("{R/W}{R/W}{R/W}{R/W}")));
|
||||||
|
}
|
||||||
|
|
||||||
|
public FirebornKnight(final FirebornKnight card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirebornKnight copy() {
|
||||||
|
return new FirebornKnight(this);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue