Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
4bd6555b
Commit
4bd6555b
authored
Jul 10, 2007
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some bugs in the sort_index function
parent
811fb010
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
data/magic.mse-game/game
data/magic.mse-game/game
+11
-7
No files found.
data/magic.mse-game/game
View file @
4bd6555b
...
...
@@ -184,18 +184,18 @@ init script:
else if chosen(choice:"blue", card_color) then "B" # Blue
else if chosen(choice:"black", card_color) then "C" # Black
else if chosen(choice:"red", card_color) then "D" # Red
else if chosen(choice:"
white
", card_color) then "E" # Green
else if chosen(choice:"
green
", card_color) then "E" # Green
else "I" # Non of the above = Colorless/artifact
) else (
# use the casting cost
colors := sort
_rule
(casting_cost, order: "<WUBRG>")
colors := sort(casting_cost, order: "<WUBRG>")
if colors == "" then "I" # Colorless
else if contains(casting_cost, match:"/") then "G" # Hybrid cost
else if c
asting_cost == "W"
then "A" # White
else if c
asting_cost == "U"
then "B" # Blue
else if c
asting_cost == "B"
then "C" # Black
else if c
asting_cost == "R"
then "D" # Red
else if c
asting_cost == "G"
then "E" # Green
else if c
olors == "W"
then "A" # White
else if c
olors == "U"
then "B" # Blue
else if c
olors == "B"
then "C" # Black
else if c
olors == "R"
then "D" # Red
else if c
olors == "G"
then "E" # Green
else "F" # non of the above = multicolor
)
}
...
...
@@ -1400,6 +1400,10 @@ keyword parameter type:
name: as words, use "" for 1
description: (, two, three)
script: \{english_number_multiple({input})\}
refer script:
name: as ordinal words
description: (first, second, third)
script: \{english_number_ordinal({input})\}
keyword parameter type:
name: action
match: [^(,\n]+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment