From 12f8a9742415d80dadbe2158f8e8736339886c89 Mon Sep 17 00:00:00 2001 From: Simisays <67333662+Simisays@users.noreply.github.com> Date: Fri, 29 Sep 2023 20:59:33 +0200 Subject: [PATCH] LCI first 5 cards (#3829) --- .../java/forge/game/ability/AbilityUtils.java | 2 +- .../upcoming/breeches_eager_pillager.txt | 16 +++++++++++ .../upcoming/ghalta_stampede_tyrant.txt | 9 ++++++ ...poet_of_unity_roar_of_the_fifth_people.txt | 28 +++++++++++++++++++ .../upcoming/ojer_axonil_deepest_might.txt | 22 +++++++++++++++ .../upcoming/the_skullspore_nexus.txt | 12 ++++++++ .../tokenscripts/g_x_x_fungus_dinosaur.txt | 6 ++++ 7 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 forge-gui/res/cardsfolder/upcoming/breeches_eager_pillager.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/ghalta_stampede_tyrant.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/huatli_poet_of_unity_roar_of_the_fifth_people.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/ojer_axonil_deepest_might.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/the_skullspore_nexus.txt create mode 100644 forge-gui/res/tokenscripts/g_x_x_fungus_dinosaur.txt diff --git a/forge-game/src/main/java/forge/game/ability/AbilityUtils.java b/forge-game/src/main/java/forge/game/ability/AbilityUtils.java index 73c2aa47e7f..55de7e628d7 100644 --- a/forge-game/src/main/java/forge/game/ability/AbilityUtils.java +++ b/forge-game/src/main/java/forge/game/ability/AbilityUtils.java @@ -2359,7 +2359,7 @@ public class AbilityUtils { String[] props = l[0].split(" "); Boolean isCombat = null; if (sq[0].contains("CombatDamage")) { - isCombat = true; + isCombat = !sq[0].contains("Non"); } int num; List dmgInstances = game.getDamageDoneThisTurn(isCombat, false, props[1], props[2], c, player, ctb); diff --git a/forge-gui/res/cardsfolder/upcoming/breeches_eager_pillager.txt b/forge-gui/res/cardsfolder/upcoming/breeches_eager_pillager.txt new file mode 100644 index 00000000000..e8d1eea394c --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/breeches_eager_pillager.txt @@ -0,0 +1,16 @@ +Name:Breeches, Eager Pillager +ManaCost:2 R +Types:Legendary Creature Goblin Pirate +PT:3/3 +K:First Strike +T:Mode$ Attacks | ValidCard$ Pirate.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigCharm | TriggerDescription$ Whenever a Pirate you control attacks, ABILITY +SVar:TrigCharm:DB$ Charm | Choices$ DBToken,DBUnblockable,DBExileTop | ChoiceRestriction$ ThisTurn | CharmNum$ 1 +SVar:DBToken:DB$ Token | TokenScript$ c_a_treasure_sac | SpellDescription$ Create a Treasure token. +SVar:DBUnblockable:DB$ Pump | ValidTgts$ Creature | KW$ HIDDEN CARDNAME can't block. | IsCurse$ True | SpellDescription$ Target creature can't block this turn. +SVar:DBExileTop:DB$ Dig | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play it this turn. +SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | ExileOnMoved$ Exile | RememberObjects$ Remembered | SubAbility$ DBCleanup +SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play that card this turn. +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +DeckHas:Ability$Token & Type$Treasure +DeckHints:Type$Pirate +Oracle:First strike\nWhenever a Pirate you control attacks, choose one that hasn't been chosen this turn —\n• Create a Treasure token.\n• Target creature can't block this turn.\n• Exile the top card of your library. You may play it this turn. diff --git a/forge-gui/res/cardsfolder/upcoming/ghalta_stampede_tyrant.txt b/forge-gui/res/cardsfolder/upcoming/ghalta_stampede_tyrant.txt new file mode 100644 index 00000000000..1cc4aab8256 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/ghalta_stampede_tyrant.txt @@ -0,0 +1,9 @@ +Name:Ghalta, Stampede Tyrant +ManaCost:5 G G G +Types:Legendary Creature Elder Dinosaur +PT:12/12 +K:Trample +T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$When CARDNAME enters the battlefield, put any number of creature cards from your hand onto the battlefield. +SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ HandX | Hidden$ True +SVar:HandX:Count$ValidHand Creature.YouCtrl +Oracle:Trample\nWhen Ghalta, Stampede Tyrant enters the battlefield, put any number of creature cards from your hand onto the battlefield. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/huatli_poet_of_unity_roar_of_the_fifth_people.txt b/forge-gui/res/cardsfolder/upcoming/huatli_poet_of_unity_roar_of_the_fifth_people.txt new file mode 100644 index 00000000000..398b0475195 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/huatli_poet_of_unity_roar_of_the_fifth_people.txt @@ -0,0 +1,28 @@ +Name:Huatli, Poet of Unity +ManaCost:2 G +Types:Legendary Creature Human Warrior Bard +PT:2/3 +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, search your library for a basic land card, reveal it, put it into your hand, then shuffle. +SVar:TrigChange:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ 1 +A:AB$ ChangeZone | Cost$ 3 RW RW | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBReturn | SorcerySpeed$ True | StackDescription$ SpellDescription | SpellDescription$ Exile NICKNAME, then return it to the battlefield transformed under its owner's control. Activate only as a sorcery. +SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield | Transformed$ True | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +DeckHas:Ability$Token & Type$Dinosaur +DeckHints:Type$Dinosaur +AlternateMode:DoubleFaced +Oracle:When Huatli, Poet of Unity enters the battlefield, search your library for a basic land card, reveal it, put it into your hand, then shuffle.\n{3}{R/W}{R/W}: Exile Huatli, then return her to the battlefield transformed under her owner's control. Activate only as a sorcery. + +ALTERNATE + +Name:Roar of the Fifth People +ManaCost:no cost +Colors:white,red,green +Types:Enchantment Saga +K:Saga:4:DBToken,DBMana,DBSearch,DBPumpAll +SVar:DBToken:DB$ Token | TokenOwner$ You | TokenScript$ g_3_3_dinosaur_trample | TokenAmount$ 2 | SpellDescription$ Create two 3/3 green Dinosaur creature tokens. +SVar:DBMana:DB$ Animate | Defined$ Self | staticAbilities$ Static | SpellDescription$ CARDNAME gains "Creatures you control have '{T}: Add {R}, {G}, or {W}.'" +SVar:Static:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Creature.YouCtrl | AddAbility$ Mana | Description$ Creatures you control have '{T}: Add {R}, {G}, or {W}. +SVar:Mana:AB$ Mana | Cost$ T | Produced$ Combo R G W | Amount$ 1 | SpellDescription$ Add {R}, {G}, or {W}. +SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.Dinosaur | ChangeNum$ 1 | SpellDescription$ Search your library for a Dinosaur card, reveal it, put it into your hand, then shuffle. +SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Dinosaur.YouCtrl | KW$ Trample & Double Strike | SpellDescription$ Dinosaurs you control gain double strike and trample until end of turn. +Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after IV.)\nI — Create two 3/3 green Dinosaur creature tokens.\nII — Roar of the Fifth People gains "Creatures you control have '{T}: Add {R}, {G}, or {W}.'"\nIII — Search your library for a Dinosaur card, reveal it, put it into your hand, then shuffle.\nIV — Dinosaurs you control gain double strike and trample until end of turn. diff --git a/forge-gui/res/cardsfolder/upcoming/ojer_axonil_deepest_might.txt b/forge-gui/res/cardsfolder/upcoming/ojer_axonil_deepest_might.txt new file mode 100644 index 00000000000..7539c576a3f --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/ojer_axonil_deepest_might.txt @@ -0,0 +1,22 @@ +Name:Ojer Axonil, Deepest Might +ManaCost:2 R R +Types:Legendary Creature God +PT:4/4 +K:Trample +R:Event$ DamageDone | ActiveZones$ Battlefield | DamageAmount$ LTX | ValidSource$ Card.RedSource+YouCtrl | IsCombat$ False | ValidTarget$ Opponent | ReplaceWith$ DmgPlus | Description$ If a red source you control would deal an amount of noncombat damage less than NICKNAME's power to an opponent, that source deals damage equal to NICKNAME's power instead. +SVar:DmgPlus:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X +SVar:X:Count$CardPower +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigTransform | TriggerDescription$ When NICKNAME dies, return it to the battlefield tapped and transformed under its owner's control. +SVar:TrigTransform:DB$ ChangeZone | Defined$ TriggeredCard | Origin$ Graveyard | Destination$ Battlefield | Transformed$ True | Tapped$ True +AlternateMode:DoubleFaced +Oracle:Trample\nIf a red source you control would deal an amount of noncombat damage less than Ojer Axonil's power to an opponent, that source deals damage equal to Ojer Axonil's power instead.\nWhen Ojer Axonil dies, return it to the battlefield tapped and transformed under its owner's control. + +ALTERNATE + +Name:Temple of Power +ManaCost:no cost +Types:Land +A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. +A:AB$ SetState | Cost$ 2 R T | CheckSVar$ X | SVarCompare$ GE4 | Defined$ Self | Mode$ Transform | SorcerySpeed$ True | SpellDescription$ Transform CARDNAME. Activate only if red sources you controlled dealt 4 or more noncombat damage this turn and only as a sorcery. +SVar:X:Count$NonCombatDamageThisTurn Card.Red+YouCtrl Any +Oracle:(Transforms from Ojer Axonil, Deepest Might.)\n{T}: Add {R}.\n{2}{R}, {T}: Transform Temple of Power. Activate only if red sources you controlled dealt 4 or more noncombat damage this turn and only as a sorcery. diff --git a/forge-gui/res/cardsfolder/upcoming/the_skullspore_nexus.txt b/forge-gui/res/cardsfolder/upcoming/the_skullspore_nexus.txt new file mode 100644 index 00000000000..5062b0febff --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/the_skullspore_nexus.txt @@ -0,0 +1,12 @@ +Name:The Skullspore Nexus +ManaCost:6 G G +Types:Legendary Artifact +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is the greatest power among creatures you control. +SVar:X:Count$Valid Creature.YouCtrl$GreatestPower +T:Mode$ ChangesZoneAll | ValidCards$ Creature.nonToken+YouCtrl | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever one or more nontoken creatures you control die, create a green Fungus Dinosaur creature token with base power and toughness each equal to the total power of those creatures. +SVar:TrigToken:DB$ Token | TokenScript$ g_x_x_fungus_dinosaur | TokenPower$ Z | TokenToughness$ Z +SVar:Z:TriggerObjectsCards$CardPower +A:AB$ Pump | Cost$ 2 T | NumAtt$ Y | Double$ True | ValidTgts$ Creature | SpellDescription$ Double target creature's power until end of turn. +SVar:Y:Targeted$CardPower +DeckHas:Ability$Token & Type$Fungus|Dinosaur +Oracle:This spell costs {X} less to cast, where X is the greatest power among creatures you control.\nWhenever one or more nontoken creatures you control die, create a green Fungus Dinosaur creature token with base power and toughness each equal to the total power of those creatures.\n{2}, {T}: Double target creature's power until end of turn. \ No newline at end of file diff --git a/forge-gui/res/tokenscripts/g_x_x_fungus_dinosaur.txt b/forge-gui/res/tokenscripts/g_x_x_fungus_dinosaur.txt new file mode 100644 index 00000000000..3ab54453edd --- /dev/null +++ b/forge-gui/res/tokenscripts/g_x_x_fungus_dinosaur.txt @@ -0,0 +1,6 @@ +Name:Fungus Dinosaur Token +ManaCost:no cost +Colors:green +Types:Creature Fungus Dinosaur +PT:*/* +Oracle: \ No newline at end of file