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
7b4d722f
Commit
7b4d722f
authored
May 20, 2017
by
AntiMetaman
Committed by
GitHub
May 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16 from shadowfox87/master
fix name color algorithm
parents
31d64214
09efd2c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
30 deletions
+34
-30
data/yugioh-series10.mse-style/style
data/yugioh-series10.mse-style/style
+34
-30
No files found.
data/yugioh-series10.mse-style/style
View file @
7b4d722f
...
...
@@ -215,40 +215,44 @@ card style:
italic name: { if is_tw() then "Yu-Gi-Oh! DFG Leisho 5" else "Yu-Gi-Oh! DFG Leisho 4" }
size: { if is_tw() or is_cn() or is_jp() then 24 else if is_ko() then 27 else 32 }
color:
script: if use_name_color() then styling.name_color
else if card.rarity=="rare" then rgb(255,255,255)
else if card.rarity=="star rare" and is_blmonster() then rgb(255,255,255)
else if card.rarity=="star rare" then rgb(35,40,49)
else if card.rarity=="mosaic rare" and is_blmonster() then rgb(255,255,255)
else if card.rarity=="mosaic rare" then rgb(10,10,10)
else if card.rarity=="promo" then rgb(60,0,0)
else if card.rarity=="secret rare" then rgb(102,255,255)
else if card.rarity=="ghost rare (No foil)" then rgb(133,168,169)
else if card.rarity=="ultra rare" then rgb(255,240,0)
else if card.rarity=="ultimate rare" then rgb(88,76,12)
else if card.rarity=="ultimate rare (No foil)" then rgb(69,60,0)
else if card.rarity=="parallel rare" then rgb(88,76,12)
else if card.rarity=="gold rare" then rgb(88,76,12)
else if is_blmonster() then rgb(255,255,255)
else if is_nmonster() then rgb(255,255,255)
else rgb(0,0,0)
script:
if hide_foil() and is_blmonster() then rgb(255,255,255)
else if hide_foil() and is_nmonster() then rgb(255,255,255)
else if hide_foil() then rgb(0,0,0)
else if use_name_color() then styling.name_color
else if not hide_foil() and card.rarity=="rare" then rgb(255,255,255)
else if not hide_foil() and card.rarity=="star rare" and is_blmonster() then rgb(255,255,255)
else if not hide_foil() and card.rarity=="star rare" then rgb(35,40,49)
else if not hide_foil() and card.rarity=="mosaic rare" and is_blmonster() then rgb(255,255,255)
else if not hide_foil() and card.rarity=="mosaic rare" then rgb(10,10,10)
else if not hide_foil() and card.rarity=="promo" then rgb(60,0,0)
else if not hide_foil() and card.rarity=="secret rare" then rgb(102,255,255)
else if not hide_foil() and card.rarity=="ghost rare (No foil)" then rgb(133,168,169)
else if not hide_foil() and card.rarity=="ultra rare" then rgb(255,240,0)
else if not hide_foil() and card.rarity=="ultimate rare" then rgb(88,76,12)
else if not hide_foil() and card.rarity=="ultimate rare (No foil)" then rgb(69,60,0)
else if not hide_foil() and card.rarity=="parallel rare" then rgb(88,76,12)
else if not hide_foil() and card.rarity=="gold rare" then rgb(88,76,12)
else if is_blmonster() or is_link() then rgb(255,255,255)
else if is_nmonster() then rgb(255,255,255)
else rgb(0,0,0)
shadow color:
script:
if no_shadow() and is_blmonster() then rgba(0,0,0,0) #没阴影
else if set_shadow() then styling.shadow_color #自定义阴影颜色
else if card.rarity=="star rare" and is_blmonster() then rgb(255,255,255)
else if card.rarity=="star rare" then rgb(255,255,255)
else if card.rarity=="mosaic rare" and is_blmonster() then rgb(255,255,255)
else if card.rarity=="mosaic rare" then rgb(255,255,255)
else if card.rarity=="promo" then rgb(255,200,210)
###else if
card.rarity=="secret rare" then rgb(182,162,255)
else if card.rarity=="ghost rare (No foil)" then rgb(234,255,255)
###else if
card.rarity=="ultra rare" then rgb(255,215,0)
else if card.rarity=="ultimate rare" then rgb(255,215,0)
else if card.rarity=="ultimate rare (No foil)" then rgb(255,243,110)
else if card.rarity=="parallel rare" then rgb(255,215,0)
else if card.rarity=="gold rare" then rgb(255,215,0)
else if no_shadow() and is_spell_card() or is_trap_card() then rgb
(
0,0,0)
else if
not hide_foil() and
card.rarity=="star rare" and is_blmonster() then rgb(255,255,255)
else if
not hide_foil() and
card.rarity=="star rare" then rgb(255,255,255)
else if
not hide_foil() and
card.rarity=="mosaic rare" and is_blmonster() then rgb(255,255,255)
else if
not hide_foil() and
card.rarity=="mosaic rare" then rgb(255,255,255)
else if
not hide_foil() and
card.rarity=="promo" then rgb(255,200,210)
else if not hide_foil() and
card.rarity=="secret rare" then rgb(182,162,255)
else if
not hide_foil() and
card.rarity=="ghost rare (No foil)" then rgb(234,255,255)
else if not hide_foil() and
card.rarity=="ultra rare" then rgb(255,215,0)
else if
not hide_foil() and
card.rarity=="ultimate rare" then rgb(255,215,0)
else if
not hide_foil() and
card.rarity=="ultimate rare (No foil)" then rgb(255,243,110)
else if
not hide_foil() and
card.rarity=="parallel rare" then rgb(255,215,0)
else if
not hide_foil() and
card.rarity=="gold rare" then rgb(255,215,0)
else if no_shadow() and is_spell_card() or is_trap_card() then rgb
a(0,
0,0,0)
else rgba(0,0,0,0)
shadow displacement x: 0.3
shadow displacement y: 1.2
...
...
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