Commit 6cce727a authored by pichoro's avatar pichoro

Updated mana_sort_guild script for Vanguard.

parent 5d3f9166
...@@ -5,7 +5,7 @@ installer group: Magic Vanguard/game files ...@@ -5,7 +5,7 @@ installer group: Magic Vanguard/game files
icon: card-sample.png icon: card-sample.png
position hint: 02 position hint: 02
version: 2008-06-01 version: 2008-06-02
# Author : Wolfwood # Author : Wolfwood
# Most stuff is copy/pasted from magic.mse-game # Most stuff is copy/pasted from magic.mse-game
...@@ -19,7 +19,8 @@ init script: ...@@ -19,7 +19,8 @@ init script:
# correctly sort a mana symbol (no guild mana) # correctly sort a mana symbol (no guild mana)
mana_sort := sort_rule(order: "XYZI[0123456789]S(WUBRG)") mana_sort := sort_rule(order: "XYZI[0123456789]S(WUBRG)")
# correctly sort guild mana # correctly sort guild mana
mana_sort_guild := replace_rule( mana_sort_guild := sort_rule(order: "[XYZI01234567890SWUBRG/]") +
replace_rule(
match: "./.|././.|./././.|.[|]", match: "./.|././.|./././.|.[|]",
in_context: "(^|[^/])<match>($|[^/])", in_context: "(^|[^/])<match>($|[^/])",
replace: {sort_text(order:"in_place((WUBRG)")} replace: {sort_text(order:"in_place((WUBRG)")}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment