Add Brokkos, Apex of Forever

This commit is contained in:
Lyu Zong-Hong
2021-02-20 22:38:03 +09:00
parent b26ef285c7
commit 0a905c77cf
3 changed files with 16 additions and 0 deletions

View File

@@ -157,6 +157,8 @@ public class ForgeScript {
return sa.hasParam("Equip");
} else if (property.equals("Boast")) {
return sa.isBoast();
} else if (property.equals("Mutate")) {
return sa.isMutate();
} else if (property.equals("Foretelling")) {
return sa.isForetelling();
} else if (property.equals("Foretold")) {

View File

@@ -257,6 +257,12 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
}
}
if (params.containsKey("ValidSA")) {
if (!sa.isValid(params.get("ValidSA").split(","), activator, o.getHost(), null)) {
return false;
}
}
// TODO: this is an exception for Aftermath. Needs to be somehow generalized.
if (this.getZone() != ZoneType.Graveyard && sa.isAftermath() && sa.getCardState() != null) {
return false;

View File

@@ -0,0 +1,8 @@
Name:Brokkos, Apex of Forever
ManaCost:2 B G U
Types:Legendary Creature Nightmare Beast Elemental
PT:6/6
K:Mutate:2 UB G G
K:Trample
S:Mode$ Continuous | Affected$ Card.Self | MayPlay$ True | ValidSA$ Spell.Mutate | AffectedZone$ Graveyard | EffectZone$ Graveyard | Description$ You may cast CARDNAME from your graveyard using its mutate ability.
Oracle:Mutate {2}{U/B}{G}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.)\nTrample\nYou may cast Brokkos, Apex of Forever from your graveyard using its mutate ability.