mage/Utils/cardSplitClass.tmpl
2018-12-20 19:22:11 -05:00

35 lines
1 KiB
Cheetah

package mage.cards.[=$cardNameFirstLetter=];
import java.util.UUID;
[=$abilitiesImports=]
import mage.cards.CardSetInfo;
import mage.cards.SplitCard;
import mage.constants.CardType;
import mage.constants.SpellAbilityType;
/**
*
* @author [=$author=]
*/
public final class [=$className=] extends SplitCard {
public [=$className=](UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{[=$type=]}, new CardType[]{??}, "[=$manaCost=]", "??", SpellAbilityType.SPLIT_AFTERMATH);
[=$subType=][=$colors=]
[= if ($power || $power eq 0) {
$OUT .= "\n this.power = new MageInt($power);";
$OUT .= "\n this.toughness = new MageInt($toughness);";} =][=$abilities=]
// getLeftHalfCard().getSpellAbility().addEffect(new Effect());
// getRightHalfCard().getSpellAbility().addEffect(new Effect());
}
private [=$className=](final [=$className=] card) {
super(card);
}
@Override
public [=$className=] copy() {
return new [=$className=](this);
}
}