mage/Utils/cardSplitClass.tmpl

36 lines
1 KiB
Cheetah
Raw Normal View History

package mage.cards.[=$cardNameFirstLetter=];
2017-06-30 13:04:56 +00:00
import java.util.UUID;
[=$abilitiesImports=]
import mage.cards.CardSetInfo;
2017-06-30 13:04:56 +00:00
import mage.cards.SplitCard;
import mage.constants.CardType;
2017-07-03 06:58:48 +00:00
import mage.constants.SpellAbilityType;
/**
*
* @author [=$author=]
*/
2018-05-21 15:14:45 +00:00
public final class [=$className=] extends SplitCard {
public [=$className=](UUID ownerId, CardSetInfo setInfo) {
2017-07-04 04:50:59 +00:00
super(ownerId, setInfo, new CardType[]{[=$type=]}, new CardType[]{??}, "[=$manaCost=]", "??", SpellAbilityType.SPLIT_AFTERMATH);
2017-07-03 06:58:48 +00:00
[=$subType=][=$colors=]
2017-07-04 04:50:59 +00:00
[= if ($power || $power eq 0) {
$OUT .= "\n this.power = new MageInt($power);";
2017-07-04 04:50:59 +00:00
$OUT .= "\n this.toughness = new MageInt($toughness);";} =][=$abilities=]
// getLeftHalfCard().getSpellAbility().addEffect(new Effect());
2017-07-03 06:58:48 +00:00
2017-07-04 04:50:59 +00:00
// getRightHalfCard().getSpellAbility().addEffect(new Effect());
2017-07-03 06:58:48 +00:00
}
2018-12-21 00:22:11 +00:00
private [=$className=](final [=$className=] card) {
super(card);
}
@Override
public [=$className=] copy() {
return new [=$className=](this);
}
}