LTR: Gandalf the Grey + The One Ring

LTR: Add card scripts for spoiled LTR cards Gandalf the Grey and The One Ring.

- Gandalf the Grey
- The One Ring
This commit is contained in:
Suthro
2023-03-13 19:21:31 -05:00
parent 7de13c38cf
commit a3883b0ba5
3 changed files with 31 additions and 4 deletions

View File

@@ -61,6 +61,8 @@ public enum CounterEnumType {
BRICK("BRICK", 226, 192, 164), BRICK("BRICK", 226, 192, 164),
BURDEN("BURDEN", 135, 62, 35),
CAGE("CAGE", 155, 155, 155), CAGE("CAGE", 155, 155, 155),
CARRION("CRRON", 255, 163, 222), CARRION("CRRON", 255, 163, 222),

View File

@@ -0,0 +1,13 @@
Name:Gandalf the Grey
ManaCost:3 U R
Types:Legendary Creature Avatar Wizard
PT:3/4
T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCharm | TriggerDescription$ Whenever you cast an instant or sorcery spell, ABILITY
SVar:TrigCharm:DB$ Charm | Choices$ DBTapUntap,DBDamage,DBCopy,DBChangeZone | ChoiceRestriction$ ThisGame | CharmNum$ 1
SVar:DBTapUntap:DB$ TapOrUntap | ValidTgts$ Permanent | TgtPrompt$ Select target permanent to tap or untap | SpellDescription$ You may tap or untap target permanent.
SVar:DBDamage:DB$ DealDamage | Defined$ Opponent | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to each opponent.
SVar:DBCopy:DB$ CopySpellAbility | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | TgtPrompt$ Select target instant or sorcery spell you control | MayChooseTarget$ True | SpellDescription$ Copy target instant or sorcery spell you control. You may choose new targets for the copy.
SVar:DBChangeZone:DB$ ChangeZone | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | SpellDescription$ Put NICKNAME on top of its owner's library.
DeckNeeds:Type$Instant|Sorcery
DeckHas:Type$Wizard
Oracle:Whenever you cast an instant or sorcery spell, choose one that hasn't been chosen —\n• You can tap or untap target permanent.\n• Gandalf the Grey deals 3 damage to each opponent.\n• Copy target instant or sorcery spell you control. You may choose new targets for the copy.\n• Put Gandalf on top of its owner's library.

View File

@@ -0,0 +1,12 @@
Name:The One Ring
ManaCost:4
Types:Legendary Artifact
K:Indestructible
T:Mode$ ChangesZone | ValidCard$ Card.wasCastByYou+Self | Destination$ Battlefield | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, if you cast it, you gain protection from everything until your next turn.
SVar:TrigPump:DB$ Pump | Defined$ You | Duration$ UntilYourNextTurn | KW$ Protection from everything
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you lose 1 life for each burden counter on CARDNAME.
SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X
A:AB$ PutCounter | Cost$ T | Defined$ Self | CounterType$ BURDEN | CounterNum$ 1 | SubAbility$ DBDraw | SpellDescription$ Put a burden counter on CARDNAME, then draw a card for each burden counter on CARDNAME.
SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X
SVar:X:Count$CardCounters.BURDEN
Oracle:Indestructible\nWhen The One Ring enters the battlefield, if you cast it, you gain protection from everything until your next turn.\nAt the beginning of your upkeep, you lose 1 life for each burden counter on The One Ring.\n{T}: Put a burden coutner on The One Ring, then draw a card for each burden counter on The One Ring.