mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
Added pseudo keywords (Hellbent), there may be more, but I don't know them all.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@324 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -195,8 +195,10 @@ init script:
|
|||||||
tag_remove_rule(tag: "<i-auto>") +
|
tag_remove_rule(tag: "<i-auto>") +
|
||||||
# step 2 : reminder text for keywords
|
# step 2 : reminder text for keywords
|
||||||
expand_keywords_rule(
|
expand_keywords_rule(
|
||||||
default_expand: { contains(match:mode, set.automatic_reminder_text, match:mode) },
|
default_expand: { contains(match:mode, set.automatic_reminder_text) },
|
||||||
combine: { "{keyword}<atom-reminder><i> ({process_english_hints(reminder)})</i></atom-reminder>" }
|
combine: {
|
||||||
|
if mode == "pseudo" then "<i-auto>{keyword}</i-auto>"
|
||||||
|
else "{keyword}<atom-reminder><i> ({process_english_hints(reminder)})</i></atom-reminder>" }
|
||||||
) +
|
) +
|
||||||
# step 3a : expand shortcut words ~ and CARDNAME
|
# step 3a : expand shortcut words ~ and CARDNAME
|
||||||
replace_rule(
|
replace_rule(
|
||||||
@@ -387,8 +389,9 @@ set field:
|
|||||||
choice: old
|
choice: old
|
||||||
choice: core
|
choice: core
|
||||||
choice: expert
|
choice: expert
|
||||||
|
choice: pseudo
|
||||||
choice: custom
|
choice: custom
|
||||||
initial: old, core, expert, custom
|
initial: old, core, expert, pseudo, custom
|
||||||
# Convert from older mse versions
|
# Convert from older mse versions
|
||||||
script:
|
script:
|
||||||
if value = "yes" then "old, core, expert, custom"
|
if value = "yes" then "old, core, expert, custom"
|
||||||
@@ -1090,6 +1093,9 @@ keyword mode:
|
|||||||
keyword mode:
|
keyword mode:
|
||||||
name: expert
|
name: expert
|
||||||
description: Expert level keywords (Cycling, Vanishing, etc.)
|
description: Expert level keywords (Cycling, Vanishing, etc.)
|
||||||
|
keyword mode:
|
||||||
|
name: pseudo
|
||||||
|
description: Pseudo keyword / named ability (Hellbent, Gating, etc.)
|
||||||
keyword mode:
|
keyword mode:
|
||||||
is default: true
|
is default: true
|
||||||
name: custom
|
name: custom
|
||||||
@@ -1520,3 +1526,7 @@ keyword:
|
|||||||
match: Fortify<atom-param>cost</atom-param>
|
match: Fortify<atom-param>cost</atom-param>
|
||||||
mode: expert
|
mode: expert
|
||||||
reminder: {format_cost(param1)}: Attach to target land you control. Fortify only as a sorcery. This card comes into play unattached and stays in play if the land leaves play.
|
reminder: {format_cost(param1)}: Attach to target land you control. Fortify only as a sorcery. This card comes into play unattached and stays in play if the land leaves play.
|
||||||
|
keyword:
|
||||||
|
keyword: Hellbent
|
||||||
|
match: Hellbent
|
||||||
|
mode: pseudo
|
||||||
|
|||||||
Reference in New Issue
Block a user