mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[G18] added Immortal Phoenix
This commit is contained in:
parent
f2092f35ba
commit
2e6a1e9311
1 changed files with 40 additions and 0 deletions
40
Mage.Sets/src/mage/cards/i/ImmortalPhoenix.java
Normal file
40
Mage.Sets/src/mage/cards/i/ImmortalPhoenix.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesTriggeredAbility;
|
||||
import mage.abilities.effects.common.ReturnToHandSourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author JayDi85
|
||||
*/
|
||||
public final class ImmortalPhoenix extends CardImpl {
|
||||
|
||||
public ImmortalPhoenix(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}{R}");
|
||||
this.subtype.add(SubType.PHOENIX);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// When Immortal Phoenix dies, return it to its owner’s hand.
|
||||
this.addAbility(new DiesTriggeredAbility(new ReturnToHandSourceEffect()));
|
||||
}
|
||||
|
||||
public ImmortalPhoenix(final ImmortalPhoenix card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ImmortalPhoenix copy() {
|
||||
return new ImmortalPhoenix(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue