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
2a645b7b
Commit
2a645b7b
authored
Aug 09, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restored the card sorting for magic: the color component of sort_index was accidentally removed.
parent
5cdd01a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
data/magic.mse-game/script
data/magic.mse-game/script
+3
-2
No files found.
data/magic.mse-game/script
View file @
2a645b7b
...
@@ -162,9 +162,10 @@ include file: /magic-blends.mse-include/new-blends
...
@@ -162,9 +162,10 @@ include file: /magic-blends.mse-include/new-blends
############################################################## Card number
############################################################## Card number
# Index for sorting, white cards are first, so white->A, blue->B, .. ,
# Index for sorting, white cards are first, so white->A, blue->B, .. ,
# The code consists of
4
parts:
# The code consists of
3
parts:
#
normal/token,
color, shifted, split
# color, shifted, split
sort_index := {
sort_index := {
color_of_card() +
(if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones
(if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones
(if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones
(if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones
":"
":"
...
...
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