diff --git a/forge-game/src/main/java/forge/game/ForgeScript.java b/forge-game/src/main/java/forge/game/ForgeScript.java index 58e5c55a290..90a8d8a02fe 100644 --- a/forge-game/src/main/java/forge/game/ForgeScript.java +++ b/forge-game/src/main/java/forge/game/ForgeScript.java @@ -170,6 +170,8 @@ public class ForgeScript { return sa.isBoast(); } else if (property.equals("Mutate")) { return sa.isMutate(); + } else if (property.equals("Ninjutsu")) { + return sa.isNinjutsu(); } else if (property.equals("Foretelling")) { return sa.isForetelling(); } else if (property.equals("Foretold")) { diff --git a/forge-game/src/main/java/forge/game/spellability/SpellAbility.java b/forge-game/src/main/java/forge/game/spellability/SpellAbility.java index 8468a87d3e0..bfc4f8af46d 100644 --- a/forge-game/src/main/java/forge/game/spellability/SpellAbility.java +++ b/forge-game/src/main/java/forge/game/spellability/SpellAbility.java @@ -511,6 +511,10 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit return this.hasParam("Boast"); } + public boolean isNinjutsu() { + return this.hasParam("Ninjutsu"); + } + // If this is not null, then ability was made in a factory public ApiType getApi() { return api; diff --git a/forge-gui/res/cardsfolder/upcoming/satoru_umezawa.txt b/forge-gui/res/cardsfolder/upcoming/satoru_umezawa.txt new file mode 100644 index 00000000000..5f5218a2f6a --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/satoru_umezawa.txt @@ -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}.