Merge branch 'neo_su' into 'master'

NEO: Satoru Umezawa and support

See merge request core-developers/forge!5996
This commit is contained in:
Michael Kamensky
2021-12-30 17:00:24 +00:00
3 changed files with 14 additions and 0 deletions

View File

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

View File

@@ -511,6 +511,10 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
return this.hasParam("Boast"); return this.hasParam("Boast");
} }
public boolean isNinjutsu() {
return this.hasParam("Ninjutsu");
}
// If this is not null, then ability was made in a factory // If this is not null, then ability was made in a factory
public ApiType getApi() { public ApiType getApi() {
return api; return api;

View File

@@ -0,0 +1,8 @@
Name:Satoru Umezawa
ManaCost:1 U B
Types:Legendary Creature Human Ninja
PT:2/4
T:Mode$ AbilityCast | ValidActivatingPlayer$ You | ValidSA$ Activated.Ninjutsu | TriggerZones$ Battlefield | ActivationLimit$ 1 | Execute$ TrigDig | TriggerDescription$ Whenever you activate a ninjutsu ability, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. This ability triggers only once each turn.
SVar:TrigDig:DB$ Dig | DigNum$ 3 | ChangeNum$ 1
S:Mode$ Continuous | Affected$ Creature.YouOwn | AffectedZone$ Hand | AddKeyword$ Ninjutsu:2 U B | Description$ Each creature card in your hand has ninjutsu {2}{U}{B}.
Oracle:Whenever you activate a ninjutsu ability, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. This ability triggers only once each turn.\nEach creature card in your hand has ninjutsu {2}{U}{B}.