LCI Keyword/Type Update

Fixes #17
This commit is contained in:
cajun
2023-11-04 19:25:12 -05:00
parent 000616eb1c
commit df7fbdef1b
6 changed files with 504 additions and 130 deletions

View File

@@ -69,7 +69,7 @@ keyword parameter type:
keyword parameter type:
name: number
match: [XYZ0-9]+
match: [XYZ0-9%]+
refer script:
name: normal
description: (1,2,3)
@@ -341,7 +341,7 @@ keyword:
keyword: Storm
match: Storm
mode: expert
reminder: When you cast this spell, copy it for each spell cast before it this turn.{ if is_targeted() then " You may choose new targets for the copies." }
reminder: When you cast this spell, copy it for each spell cast before it this turn.{ if is_targeted() then " You may choose new targets for the copies." }{if not is_spell(card.card_type) then " Copies become tokens."}
# Mirrodin
keyword:
keyword: Affinity for
@@ -647,9 +647,9 @@ keyword:
reminder: This card is every creature type.
keyword:
keyword: Hideaway
match: Hideaway
match: Hideaway <atom-param>number</atom-param>
mode: expert
reminder: {this_or_that("land", upper:true)} enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library.
reminder: When {this_or_that("type", upper:false)} enters the battlefield, look at the top {english_number_multiple(param1)} card(s) of your library, exile one face down, then put the rest on the bottom of your library.
# Morningtide
keyword:
keyword: Prowl
@@ -756,8 +756,8 @@ keyword:
mode: expert
reminder: If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.
keyword:
keyword: Totem armor
match: Totem armor
keyword: Umbra armor
match: Umbra armor
mode: expert
reminder: If enchanted {if contains(card.text, match:"Enchant <param-name>creature</param-name>") then "creature" else "permanent"} would be destroyed, instead remove all damage from it and destroy this Aura.
keyword:
@@ -1376,9 +1376,9 @@ keyword:
#War of the Spark
keyword:
keyword: Amass
match: Amass <atom-param>number</atom-param>
match: Amass <atom-param>name</atom-param> <atom-param>number</atom-param>
mode: action
reminder: Put {english_number_a(param1)} +1/+1 counter(s) on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.
reminder: Put {english_number_a(param2)} +1/+1 counter(s) on an Army you control. It's also a {if param1.value == "Zombies" then "Zombie" else english_singular(param1)}. If you don't control one, create a 0/0 black {if param1.value == "Zombies" then "Zombie" else english_singular(param1)} Army creature token first.
#Throne of Eldraine
keyword:
keyword: Adamant
@@ -1552,4 +1552,247 @@ keyword:
keyword: Compleated
match: Compleated
mode: expert
reminder: {phy_reminder(card.casting_cost)} If life was paid, this planeswalker enters with two fewer loyalty counters.
reminder: {phy_reminder(card.casting_cost)} If life was paid, this planeswalker enters with two fewer loyalty counters.
# Streets of New Capenna
keyword:
keyword: Casualty
match: Casualty <atom-param>number</atom-param>
mode: expert
reminder: As you cast this spell, you may sacrifice a creature with power {param1}{if param1 == "X" then "." else " or greater."} When you do, copy this spell.
keyword:
keyword: Connive
match: connive
mode: action
reminder: To have a creature connive, draw a card, then discard a card. If you discarded a nonland card, put a +1/+1 counter on that creature.
keyword:
keyword: Connives
match: connives
mode: action
reminder: Draw a card, then discard a card. If you discarded a nonland card, put a +1/+1 counter on {this_or_that("creature")}.
keyword:
keyword: Connives N
match: connives <atom-param>number</atom-param>
mode: action
reminder: Draw {english_number_a(param1)} card(s), then discard {english_number_a(param1)} card(s). Put a +1/+1 counter on {this_or_that("creature")} for each nonland card discarded this way.
keyword:
keyword: Blitz
match: Blitz <atom-param>cost</atom-param>
mode: expert
reminder: If you cast this spell for its blitz cost, it gains haste and "When this creature dies, draw a card". Sacrifice it at the beginning of the next end step.
keyword:
keyword: Shield counter
match: shield counter
mode: action
reminder: If it would be dealt damage or destroyed, remove a shield counter from it instead.
keyword:
keyword: Shield counter
match: shield counters
mode: action
reminder: If a permanent with a shield counter on it would be dealt damage or destroyed, remove a shield counter from it instead.
keyword:
keyword: Alliance
match: Alliance
mode: pseudo
rules: Alliance — Whenever another creature enters the battlefield under your control, [effect].
# Secret Lair
keyword:
keyword: Friends forever
match: Friends forever
mode: expert
reminder: You can have two commanders if they both have friends forever.
# Commander Legends Battle for Baldur's Gate
keyword:
keyword: Choose a Background
match: Choose a Background
mode: expert
reminder: You can have a Background as a second commander.
keyword:
keyword: Double team
match: Double team
mode: expert
reminder: When this creature attacks, if it's not a token, conjure a duplicate of it into your hand. Then both cards perpetually lose double team.
# Warhammer 40k
keyword:
keyword: Squad
match: Squad <atom-param>cost</atom-param>
mode: expert
reminder: As an additional cost to cast this spell, you may pay {param1} any number of times. When this creature enters the battlefield, create that many tokens that are copies of it.
keyword:
keyword: Ravenous
match: Ravenous
mode: expert
reminder: This creature enters the battlefield with X +1/+1 counters on it. If X is 5 or more, draw a card when it enters.
# Dominaria United
keyword:
keyword: Read ahead
match: Read ahead
mode: expert
reminder: Choose a chapter and start with that many lore counters. Add one after your draw step. Skipped chapters don't trigger. Sacrifice after III.
keyword:
keyword: Enlist
match: Enlist
mode: expert
reminder: As this creature attacks, you may tap a nonattacking creature you control without summoning sickness. When you do, add its power to this creature's until end of turn.
keyword:
keyword: Stun counters
match: stun counte<atom-param>*s</atom-param>
mode: core
reminder: If a permanent with a stun counter would become untapped, remove one from it instead.
keyword:
keyword: Powerstone token
match: Powerstone toke<atom-param>*s</atom-param>
mode: expert
reminder: {if param1.value == "ns" then "Theyre artifacts" else "Its an artifact"} with "{T}: Add {C}. This mana can't be spent to cast a nonartifact spell."
# Brother's War
keyword:
keyword: Prototype
match: Prototype
mode: expert
reminder: You may cast this spell with different mana cost, color, and size. It keeps its abilities and types.
keyword:
keyword: More Than Meets the Eye
match: More Than Meets the Eye <atom-param>cost</atom-param>
mode: expert
reminder: You may cast this card converted for {param1}.
# Phrexia: All Will Be One
keyword:
keyword: Corrupted
match: Corrupted
mode: pseudo
rules: Corrupted — If an opponent has three or more poison counters, [effect].
keyword:
keyword: For Mirrodin!
match: For Mirrodin!
mode: expert
reminder: When this Equipment enters the battlefield, create a 2/2 red Rebel creature token, then attach this to it.
keyword:
keyword: Toxic
mode: expert
match: Toxic <atom-param>number</atom-param>
reminder: Players dealt combat damage by this creature also get {english_number_a(param1)} poison counter(s).
# March of the Machine
keyword:
keyword: Backup
match: Backup <atom-param>number</atom-param>
mode: expert
reminder: When this creature enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on target creature. If that's another creature, it gains the following abilities until end of turn.
keyword:
keyword: Incubate
match: Incubate <atom-param>number</atom-param>
mode: action
reminder: Create an Incubator token wit {english_number_a(param1)} +1/+1 counter(s) on it and "[2]: Transform this artifact." It transforms into a 0/0 Phyrexian artifact creature.
# Wilds of Eldraine
keyword:
keyword: Bargain
match: Bargain
mode: expert
reminder: You may sacrifice an artifact, enchantment, or token as you cast this spell.
keyword:
keyword: Celebration
match: Celebration
mode: pseudo
rules: Celebration — If two or more nonland permanents entered the battlefield under your turn, [effect].
keyword:
keyword: Cursed Role
match: Cursed Role token
mode: expert
reminder: face_if_type_contains_Adventure_then__else_If you control another Role on it, put that one into the graveyard. _endEnchanted creature is 1/1.
keyword:
keyword: Monster Role
match: Monster Role token
mode: expert
reminder: face_if_type_contains_Adventure_then__else_If you control another Role on it, put that one into the graveyard. _endEnchanted creature gets +1/+1 and has trample.
keyword:
keyword: Royal Role
match: Royal Role token
mode: expert
reminder: face_if_type_contains_Adventure_then__else_If you control another Role on it, put that one into the graveyard. _endEnchanted creature gets +1/+1 and has ward [1].
keyword:
keyword: Sorcerer Role
match: Sorcerer Role token
mode: expert
reminder: face_if_type_contains_Adventure_then__else_If you control another Role on it, put that one into the graveyard. _endEnchanted creature gets +1/+1 and has "Whenever this creature attacks, scry 1."
keyword:
keyword: Virtuous Role
match: Virtuous Role token
mode: expert
reminder: face_if_type_contains_Adventure_then__else_If you control another Role on it, put that one into the graveyard. _endEnchanted creature gets +1/+1 for each enchantment you control.
keyword:
keyword: Wicked Role
match: Wicked Role token
mode: expert
reminder: face_if_type_contains_Adventure_then__else_If you control another Role on it, put that one into the graveyard. _endEnchanted creature gets +1/+1. When this Aura is put into a graveyard, each opponent loses 1 life.
keyword:
keyword: Young Hero Role
match: Young Hero Role token
mode: expert
reminder: face_if_type_contains_Adventure_then__else_If you control another Role on it, put that one into the graveyard. _endEnchanted creature has "Whenever this creature attacks, if its toughness is 3 or less, put a +1/+1 counter on it."
# Ponies the Galloping
keyword:
keyword: Coolness
match: <atom-param>number</atom-param> cooler
mode: expert
reminder: You start at 0% coolness.
keyword:
keyword: Stare down
match: Stare down
mode: expert
reminder: It can't attack or block as long as you're looking directly at it.
# Dr Who
keyword:
keyword: Doctors companion
match: Doctors companion
mode: expert
reminder: You can have two commanders if the other is the Doctor.
keyword:
keyword: Paradox
match: Paradox
mode: pseudo
rules: Paradox — Whenever you cast a spell from anywhere but your hand, [effect].
keyword:
keyword: Time travel
match: Time travel
mode: action
reminder: For each suspended card you own and each permanent you control with a time counter on it, you may add or remove a time counter.
# Lost Caverns of Ixalan
keyword:
keyword: Map token
match: Map toke<atom-param>*s</atom-param>
mode: expert
reminder: {if param1.value == "ns" then "Theyre artifacts" else "Its an artifact"} with "1, T, Sacrifice this artifact: Target creature you control explores. Activate only as a sorcery."
keyword:
keyword: Craft
match: Craft with <atom-param>name</atom-param> <atom-param>cost</atom-param>
mode: expert
reminder: {rem := param2.value + ", Exile this artifact, Exile ";count := filter_text(param1.value, match:"^(one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety|[0-9]+)(-(one|two|three|four|five|six|seven|eight|nine))? (or more)?");commas := filter_text(param1.value, match:",");vowel := match(param1.value, match:"^[aeiouAEIOU]");if commas != "" then count := english_number(length(commas)+1);count := replace(count, match:" $", replace:"");if count == param1.value then (rem := rem + param1.value + " other permanents you control and/or cards from your graveyard: ") else if count != "" then (rem := rem + (if count == "one or more" then param1.value else "the " + count) + " from among other permanents you control and/or cards in your graveyard: ") else rem := rem + "another " + param1.value + " you control or " + (if vowel then "an " else "a ") + param1.value + " card from your graveyard: ";rem := rem + "Return this card transformed under its owner's control. Craft only as a sorcery.";rem;}
keyword:
keyword: Descend
match: Descend <atom-param>number</atom-param>
mode: pseudo
rules: Descend N - If there are N or more permanent cards in your graveyard, [effect].
keyword:
keyword: Fathomless descend
match: Fathomless descend
mode: pseudo
rules: Fathomless descend - [effect], where X is the number of permanent cards in your graveyard.
keyword:
keyword: Descended
match: descended
mode: expert
reminder: You descended if a permanent card was put into your graveyard from anywhere this turn.
keyword:
keyword: Discover
match: Discover <atom-param>number</atom-param>
mode: action
reminder: Exile cards from the top of your library until you exile a nonland card with mana value {param1} or less. Cast it without paying its mana cost or put it into your hand. Put the rest on the bottom in a random order.
keyword:
keyword: Finality counters
match: finality counter
mode: core
reminder: If a creature with a finality counter would die, exile it instead.
# Fallout
keyword:
keyword: Junk token
match: Junk toke<atom-param>*s</atom-param>
mode: expert
reminder: {if param1.value == "ns" then "Theyre artifacts" else "Its an artifact"} with "T, Sacrifice this artifact: Exile the top card of your library. You may play that card this turn. Activate only as a sorcery."