Commit 75c53a90 authored by pichoro's avatar pichoro

Added the "smarter" casting cost and name lines to all Post 8th Magic templates.

parent a56a8454
...@@ -106,7 +106,7 @@ card style: ...@@ -106,7 +106,7 @@ card style:
name: name:
left: { if card.card_symbol=="none" then 32 else 51 } left: { if card.card_symbol=="none" then 32 else 51 }
top : 30 top : 30
width: { if card.card_symbol=="none" then 246 else 227 } right: { 341 - card_style.casting_cost.content_width }
height: 23 height: 23
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -117,9 +117,9 @@ card style: ...@@ -117,9 +117,9 @@ card style:
weight: bold weight: bold
color: rgb(0,0,0) color: rgb(0,0,0)
casting cost: casting cost:
left: 280 right: 343
top : 30 top : 30
width: 63 width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 23 height: 23
alignment: middle right alignment: middle right
symbol font: symbol font:
......
...@@ -104,7 +104,7 @@ card style: ...@@ -104,7 +104,7 @@ card style:
name: name:
left: {if card.card_symbol=="none" then 32 else 51} left: {if card.card_symbol=="none" then 32 else 51}
top : 30 top : 30
width: {if card.card_symbol=="none" then 246 else 227} right: { 341 - card_style.casting_cost.content_width }
height: 23 height: 23
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -116,9 +116,9 @@ card style: ...@@ -116,9 +116,9 @@ card style:
color: rgb(0,0,0) color: rgb(0,0,0)
name 2: name 2:
left: 35 right: 343
top : 454 top : 454
width: 308 left: { 34 + card_style.casting_cost_2.content_width }
height: 23 height: 23
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
angle: 180 angle: 180
...@@ -131,9 +131,9 @@ card style: ...@@ -131,9 +131,9 @@ card style:
color: rgb(0,0,0) color: rgb(0,0,0)
casting cost: casting cost:
left: 280 right: 343
top : 30 top : 30
width: 63 width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 23 height: 23
alignment: bottom right alignment: bottom right
symbol font: symbol font:
...@@ -146,7 +146,7 @@ card style: ...@@ -146,7 +146,7 @@ card style:
casting cost 2: casting cost 2:
left: 32 left: 32
top : 454 top : 454
width: 63 width: { max(30, card_style.casting_cost_2.content_width) + 5 }
height: 23 height: 23
alignment: bottom right alignment: bottom right
angle: 180 angle: 180
......
...@@ -113,7 +113,7 @@ card style: ...@@ -113,7 +113,7 @@ card style:
name: name:
left: { if card.card_symbol=="none" then 32 else 51 } left: { if card.card_symbol=="none" then 32 else 51 }
top : 30 top : 30
width: { if card.card_symbol=="none" then 246 else 227 } right: { 341 - card_style.casting_cost.content_width }
height: 23 height: 23
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -124,9 +124,9 @@ card style: ...@@ -124,9 +124,9 @@ card style:
weight: bold weight: bold
color: rgb(0,0,0) color: rgb(0,0,0)
casting cost: casting cost:
left: 280 right: 343
top : 30 top : 30
width: 63 width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 23 height: 23
alignment: bottom right alignment: bottom right
symbol font: symbol font:
......
...@@ -120,7 +120,7 @@ card style: ...@@ -120,7 +120,7 @@ card style:
name: name:
left: { if card.card_symbol=="none" then 30 else 51 } left: { if card.card_symbol=="none" then 30 else 51 }
top : 27 top : 27
width: { if card.card_symbol=="none" then 175 else 168 } right: { 242 - card_style.casting_cost.content_width }
height: 17 height: 17
alignment: top shrink-overflow alignment: top shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -133,7 +133,7 @@ card style: ...@@ -133,7 +133,7 @@ card style:
name 2: name 2:
left: { if card.card_symbol_2=="none" then 282 else 51 } left: { if card.card_symbol_2=="none" then 282 else 51 }
top : 27 top : 27
width: { if card.card_symbol_2=="none" then 215 else 227 } right: { 493 - card_style.casting_cost_2.content_width }
height: 17 height: 17
alignment: top shrink-overflow alignment: top shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -144,9 +144,9 @@ card style: ...@@ -144,9 +144,9 @@ card style:
weight: bold weight: bold
color: rgb(0,0,0) color: rgb(0,0,0)
casting cost: casting cost:
left: 207 right: 243
top : 27 top : 27
width: 35 width: { max(19, card_style.casting_cost.content_width) + 3 }
height: 16 height: 16
alignment: bottom right alignment: bottom right
symbol font: symbol font:
...@@ -158,9 +158,9 @@ card style: ...@@ -158,9 +158,9 @@ card style:
padding top: 0 padding top: 0
casting cost 2: casting cost 2:
left: 459 right: 494
top : 27 top : 27
width: 35 width: { max(19, card_style.casting_cost_2.content_width) + 3 }
height: 16 height: 16
alignment: bottom right alignment: bottom right
symbol font: symbol font:
......
...@@ -102,7 +102,7 @@ card style: ...@@ -102,7 +102,7 @@ card style:
name: name:
left: { if card.card_symbol=="none" then 32 else 51 } left: { if card.card_symbol=="none" then 32 else 51 }
top : 30 top : 30
width: { if card.card_symbol=="none" then 246 else 227 } right: { 341 - card_style.casting_cost.content_width }
height: 23 height: 23
alignment: middle shrink-overflow alignment: middle shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -116,9 +116,9 @@ card style: ...@@ -116,9 +116,9 @@ card style:
shadow displacement x: -1 shadow displacement x: -1
shadow displacement y: 1 shadow displacement y: 1
casting cost: casting cost:
left: 280 right: 343
top : 30 top : 30
width: 63 width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 23 height: 23
alignment: bottom right alignment: bottom right
symbol font: symbol font:
......
...@@ -95,8 +95,7 @@ card style: ...@@ -95,8 +95,7 @@ card style:
left: left:
script: if card.card_symbol=="none" then 32 else 51 script: if card.card_symbol=="none" then 32 else 51
top : 30 top : 30
width: right: { 341 - card_style.casting_cost.content_width }
script: if card.card_symbol=="none" then 246 else 227
height: 23 height: 23
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -107,9 +106,9 @@ card style: ...@@ -107,9 +106,9 @@ card style:
weight: bold weight: bold
color: rgb(0,0,0) color: rgb(0,0,0)
casting cost: casting cost:
left: 280 right: 343
top : 29 top : 29
width: 63 width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 23 height: 23
alignment: bottom right alignment: bottom right
symbol font: symbol font:
......
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