[FIN] Implement Summon: Choco/Mog

This commit is contained in:
theelk801 2025-05-28 10:47:28 -04:00
parent 0df026ab16
commit e7e2b05f5a
3 changed files with 51 additions and 1 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.SagaAbility;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SagaChapter;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SummonChocoMog extends CardImpl {
public SummonChocoMog(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{2}{W}");
this.subtype.add(SubType.SAGA);
this.subtype.add(SubType.BIRD);
this.subtype.add(SubType.MOOGLE);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// (As this Saga enters and after your draw step, add a lore counter. Sacrifice after IV.)
SagaAbility sagaAbility = new SagaAbility(this, SagaChapter.CHAPTER_IV);
// I, II, III, IV -- Stampede! -- Other creatures you control get +1/+0 until end of turn.
sagaAbility.addChapterEffect(this, SagaChapter.CHAPTER_I, SagaChapter.CHAPTER_IV, ability -> {
ability.addEffect(new BoostControlledEffect(1, 0, Duration.EndOfTurn, true));
ability.withFlavorWord("Stampede!");
});
this.addAbility(sagaAbility);
}
private SummonChocoMog(final SummonChocoMog card) {
super(card);
}
@Override
public SummonChocoMog copy() {
return new SummonChocoMog(this);
}
}

View file

@ -476,6 +476,8 @@ public final class FinalFantasy extends ExpansionSet {
cards.add(new SetCardInfo("Summon: Anima", 364, Rarity.UNCOMMON, mage.cards.s.SummonAnima.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Summon: Bahamut", 1, Rarity.MYTHIC, mage.cards.s.SummonBahamut.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Summon: Bahamut", 356, Rarity.MYTHIC, mage.cards.s.SummonBahamut.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Summon: Choco/Mog", 35, Rarity.COMMON, mage.cards.s.SummonChocoMog.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Summon: Choco/Mog", 358, Rarity.COMMON, mage.cards.s.SummonChocoMog.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Summon: Esper Maduin", 185, Rarity.RARE, mage.cards.s.SummonEsperMaduin.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Summon: Esper Maduin", 370, Rarity.RARE, mage.cards.s.SummonEsperMaduin.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Summon: Esper Ramuh", 161, Rarity.UNCOMMON, mage.cards.s.SummonEsperRamuh.class, NON_FULL_USE_VARIOUS));

View file

@ -19,7 +19,7 @@ my %keywords;
sub toCamelCase {
my $string = $_[0];
$string =~ s/\b([\w']+)\b/ucfirst($1)/ge;
$string =~ s/[-,\s\':.!]//g;
$string =~ s/[-,\s\':.!\/]//g;
$string;
}