mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
Modified action param to not include colons or semi-colons.
Modified name param to not include colons or semi-colons and to include regular dashes (because they're legal in Magic card names). Modified prefix param to accept curly apostrophe (Urza'swalk *shudder*). Modified landwalk to to_lower() all inputs with "land". git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@697 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -1564,12 +1564,12 @@ keyword parameter type:
|
|||||||
script: \{english_number_ordinal({input})\}
|
script: \{english_number_ordinal({input})\}
|
||||||
keyword parameter type:
|
keyword parameter type:
|
||||||
name: action
|
name: action
|
||||||
match: [^(\n]+
|
match: [^(:;\n]+
|
||||||
separator after is: [.]
|
separator after is: [.]
|
||||||
reminder script: alternative_cost()
|
reminder script: alternative_cost()
|
||||||
keyword parameter type:
|
keyword parameter type:
|
||||||
name: name
|
name: name
|
||||||
match: [^(.,\n—-]+
|
match: [^(.:;\n—]+
|
||||||
refer script:
|
refer script:
|
||||||
name: normal
|
name: normal
|
||||||
description: No changes made.
|
description: No changes made.
|
||||||
@@ -1587,7 +1587,7 @@ keyword parameter type:
|
|||||||
description: Prefix for things like "<something>walk"
|
description: Prefix for things like "<something>walk"
|
||||||
optional: false
|
optional: false
|
||||||
# match: [A-Z][a-z, ]*([A-Z][a-z, ]*\xEB00) # commented out because it stopped prefix param from working, version below allows all "walks", including "Dame Judi Denchwalk", doesn't trigger #in middle of sentences, and doesn't trigger in chains of keywords.
|
# match: [A-Z][a-z, ]*([A-Z][a-z, ]*\xEB00) # commented out because it stopped prefix param from working, version below allows all "walks", including "Dame Judi Denchwalk", doesn't trigger #in middle of sentences, and doesn't trigger in chains of keywords.
|
||||||
match: [A-Z][A-Z,a-z ]*
|
match: [A-Z][A-Z,a-z’ ]*
|
||||||
example: Forest
|
example: Forest
|
||||||
keyword parameter type:
|
keyword parameter type:
|
||||||
name: a
|
name: a
|
||||||
@@ -1620,7 +1620,7 @@ keyword:
|
|||||||
keyword: Landwalk
|
keyword: Landwalk
|
||||||
match: <atom-param>prefix</atom-param>walk
|
match: <atom-param>prefix</atom-param>walk
|
||||||
mode: core
|
mode: core
|
||||||
reminder: This creature is unblockable as long as defending player controls a {param1}.
|
reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") then "{to_lower(param1)}" else "{param1}"}.
|
||||||
keyword:
|
keyword:
|
||||||
keyword: Protection from
|
keyword: Protection from
|
||||||
match: Protection from <atom-param>name</atom-param>
|
match: Protection from <atom-param>name</atom-param>
|
||||||
|
|||||||
@@ -470,12 +470,12 @@ keyword parameter type:
|
|||||||
script: \{english_number_multiple({input})\}
|
script: \{english_number_multiple({input})\}
|
||||||
keyword parameter type:
|
keyword parameter type:
|
||||||
name: action
|
name: action
|
||||||
match: [^(\n]+
|
match: [^(;:\n]+
|
||||||
separator after is: [.]
|
separator after is: [.]
|
||||||
reminder script: alternative_cost()
|
reminder script: alternative_cost()
|
||||||
keyword parameter type:
|
keyword parameter type:
|
||||||
name: name
|
name: name
|
||||||
match: [^(.,\n—-]+
|
match: [^(.:;\n—]+
|
||||||
refer script:
|
refer script:
|
||||||
name: normal
|
name: normal
|
||||||
description: No changes made.
|
description: No changes made.
|
||||||
@@ -488,7 +488,7 @@ keyword parameter type:
|
|||||||
name: prefix
|
name: prefix
|
||||||
description: Prefix for things like "<something>walk"
|
description: Prefix for things like "<something>walk"
|
||||||
optional: false
|
optional: false
|
||||||
match: [A-Z][A-Z,a-z ]*
|
match: [A-Z][A-Z,a-z’ ]*
|
||||||
example: Forest
|
example: Forest
|
||||||
keyword parameter type:
|
keyword parameter type:
|
||||||
name: a
|
name: a
|
||||||
|
|||||||
Reference in New Issue
Block a user