From 17a008f5ff78c989b34afa0138a5c25e9621e4f6 Mon Sep 17 00:00:00 2001 From: Mike S <81990938+MikeS-NZ@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:57:56 -0500 Subject: [PATCH] LCI: Malcolm, Alluring Scoundrel + 2 cards (#3969) * LCI: Malcolm, Alluring Scoundrel + 2 cards, LCI: Added card scripts and counter support for the following LCI cards and tokens: - Bonehoard Dracosaur - Malcolm, Alluring Scoundrel - Souls of the Lost - Token: 3/1 red Dinosaur creature * Update bonehoard_dracosaur.txt Bonehoard Dracosaur: Fixed lower case char in First Strike keyword * Update malcolm_alluring_scoundrel.txt Malcolm, Alluring Scoundrel: Cleaned up the check for a castable nonland discarded card * Update souls_of_the_lost.txt Souls of the Lost: Cleaned up PT * Update souls_of_the_lost.txt Souls of the Lost: Added flavor tag to static ability description * Update r_3_1_dinosaur.txt Dinosaur Token: Cleaned up name * Update bonehoard_dracosaur.txt Bonehoard Dracosaur: Added Artifact deckHas tag * Update malcolm_alluring_scoundrel.txt --------- Co-authored-by: tool4ever --- .../java/forge/game/card/CounterEnumType.java | 2 ++ .../cardsfolder/upcoming/bonehoard_dracosaur.txt | 15 +++++++++++++++ .../upcoming/malcolm_alluring_scoundrel.txt | 14 ++++++++++++++ .../cardsfolder/upcoming/souls_of_the_lost.txt | 2 +- forge-gui/res/tokenscripts/r_3_1_dinosaur.txt | 6 ++++++ 5 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 forge-gui/res/cardsfolder/upcoming/bonehoard_dracosaur.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/malcolm_alluring_scoundrel.txt create mode 100644 forge-gui/res/tokenscripts/r_3_1_dinosaur.txt diff --git a/forge-game/src/main/java/forge/game/card/CounterEnumType.java b/forge-game/src/main/java/forge/game/card/CounterEnumType.java index b8684b1a910..f46a24c8d0c 100644 --- a/forge-game/src/main/java/forge/game/card/CounterEnumType.java +++ b/forge-game/src/main/java/forge/game/card/CounterEnumType.java @@ -71,6 +71,8 @@ public enum CounterEnumType { CHARGE("CHARG", 246, 192, 0), + CHORUS("CHRUS", 0, 192, 246), + COIN("COIN",255,215,0), COLLECTION("CLLCT", 255, 215, 0), diff --git a/forge-gui/res/cardsfolder/upcoming/bonehoard_dracosaur.txt b/forge-gui/res/cardsfolder/upcoming/bonehoard_dracosaur.txt new file mode 100644 index 00000000000..638818b6bb9 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/bonehoard_dracosaur.txt @@ -0,0 +1,15 @@ +Name:Bonehoard Dracosaur +ManaCost:3 R R +Types:Creature Dinosaur Dragon +PT:5/5 +K:Flying +K:First Strike +T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | ValidPlayer$ You | Execute$ TrigExile | TriggerDescription$ At the beginning of your upkeep, exile the top two cards of your library. You may play them this turn. If you exiled a land card this way, create a 3/1 red Dinosaur creature token. If you exiled a nonland card this way, create a Treasure token. +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 2 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffectYou +SVar:DBEffectYou:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBToken | ForgetOnMoved$ Exile +SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play the exiled cards this turn. +SVar:DBToken:DB$ Token | ConditionDefined$ Remembered | ConditionPresent$ Land | TokenScript$ r_3_1_dinosaur | SubAbility$ DBTreasure +SVar:DBTreasure:DB$ Token | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | TokenScript$ c_a_treasure_sac | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +DeckHas:Ability$Token|Sacrifice & Type$Artifact|Treasure|Dinosaur +Oracle:Flying, first strike\nAt the beginning of your upkeep, exile the top two cards of your library. You may play them this turn. If you exiled a land card this way, create a 3/1 red Dinosaur creature token. If you exiled a nonland card this way, create a Treasure token. diff --git a/forge-gui/res/cardsfolder/upcoming/malcolm_alluring_scoundrel.txt b/forge-gui/res/cardsfolder/upcoming/malcolm_alluring_scoundrel.txt new file mode 100644 index 00000000000..c5649f27f40 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/malcolm_alluring_scoundrel.txt @@ -0,0 +1,14 @@ +Name:Malcolm, Alluring Scoundrel +ManaCost:1 U +Types:Legendary Creature Siren Pirate +PT:2/1 +K:Flash +K:Flying +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put a chorus counter on it. Draw a card, then discard a card. If there are four or more chorus counters on NICKNAME, you may cast the discarded card without paying its mana cost. +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHORUS | CounterNum$ 1 | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ DBDiscard +SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBCast +SVar:DBCast:DB$ Play | Optional$ True | Defined$ Remembered | ConditionPresent$ Card.Self+counters_GE4_CHORUS | DefinedDesc$ the exiled card | ValidZone$ Graveyard | Valid$ Card.IsRemembered | ValidSA$ Spell | WithoutManaCost$ True | IfDesc$ if there are four or more chorus counters on NICKNAME | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +DeckHas:Ability$Discard +Oracle:Flash\nFlying\nWhenever Malcolm, Alluring Scoundrel deals combat damage to a player, put a chorus counter on it. Draw a card, then discard a card. If there are four or more chorus counters on Malcolm, you may cast the discarded card without paying its mana cost. diff --git a/forge-gui/res/cardsfolder/upcoming/souls_of_the_lost.txt b/forge-gui/res/cardsfolder/upcoming/souls_of_the_lost.txt index 116498fba02..d79f03ce19d 100644 --- a/forge-gui/res/cardsfolder/upcoming/souls_of_the_lost.txt +++ b/forge-gui/res/cardsfolder/upcoming/souls_of_the_lost.txt @@ -9,4 +9,4 @@ SVar:X:Count$ValidGraveyard Permanent.YouOwn SVar:Y:Count$ValidGraveyard Permanent.YouOwn/Plus.1 DeckHas:Ability$Sacrifice|Discard DeckHints:Ability$Graveyard|Mill|Discard -Oracle:As an additional cost to cast this spell, discard a card or sacrifice a permanent.\nFathomless descent — Souls of the Lost's power is equal to the number of permanent cards in your graveyard and its toughness is equal to that number plus 1. \ No newline at end of file +Oracle:As an additional cost to cast this spell, discard a card or sacrifice a permanent.\nFathomless descent — Souls of the Lost's power is equal to the number of permanent cards in your graveyard and its toughness is equal to that number plus 1. diff --git a/forge-gui/res/tokenscripts/r_3_1_dinosaur.txt b/forge-gui/res/tokenscripts/r_3_1_dinosaur.txt new file mode 100644 index 00000000000..e05f6fbbfd7 --- /dev/null +++ b/forge-gui/res/tokenscripts/r_3_1_dinosaur.txt @@ -0,0 +1,6 @@ +Name:Dinosaur Token +ManaCost:no cost +Types:Creature Dinosaur +Colors:red +PT:3/1 +Oracle: