본문으로 건너뛰기
사용자

o00o/연습장3(비교)

r80 vs r81
1
[[분류:Slay the Spire 2]][[분류:양식상자 틀/게임]]
12
## a_i{?} = 효과의 {?}번째 & or *의 위치
23
{{{#!if (a_c1=효과.indexOf("&",0)), (a_s1=효과.indexOf("*",0)), (a_c1 = (a_c1 == -1 ? 999 : a_c1)), (a_s1 = (a_s1 == -1 ? 999 : a_s1)), (a_i1 = (a_s1 < a_c1 ? a_s1 : a_c1))
34
}}}{{{#!if (a_c2=효과.indexOf("&",a_i1+1)), (a_s2=효과.indexOf("*",a_i1+1)), (a_c2 = (a_c2 == -1 ? 999 : a_c2)), (a_s2 = (a_s2 == -1 ? 999 : a_s2)), (a_i2 = (a_s2 < a_c2 ? a_s2 : a_c2))
......
4546
## img_display = 표에서 이미지 표시 여부
4647
}}}{{{#!if (종류=="아이언클래드" && (type_clr="#831001", cost_file="sts2_ironclad_cost"))||(종류=="사일런트" && (type_clr="#179b05"))||(종류=="디펙트" && (type_clr="#0398e2"))||(종류=="네크로바인더" && (type_clr="#8f425e", cost_file="sts2_necrobinder_cost"))||(종류=="리젠트" && (type_clr="#ac5b00"))||(종류=="무색" && (type_clr="#808080"))||(!type_clr && (type_clr="#000000"), !cost_file && (cost_file="sts2_ironclad_cost"))
4748
}}}{{{#!if (star_display = (!별 ? "none" : "display")), (img_display = (!사진 ? "none" : "display"))
49
## 테이블 내의 클래스 스타일
4850
}}}{{{#!style
4951
table.sts-table { background: transparent; border: 2px solid @type_clr@;}
5052
.sts-title, .sts-index, .sts-star-index { background: @type_clr@4D; }
......
5456
.sts-img { display: @img_display@;}
5557
.sts-cost-container { display:inline-flex; height: 1.2em; vertical-align: sub;}
5658
}}}
59
## 표 시작
60
## 행: 사진 / 이름
5761
||<|4><tableclass=sts-table><class=sts-img><nopad><width=250> [[파일:@사진@|width=100%]] ||<-5><class=sts-title><height=50> '''{{{+1 @이름=?@}}}'''[br]{{{#!if 영어이름
5862
{{{#!wiki style="font-size: 0.8em;"
5963
(@영어이름@)
6064
}}}}}} ||
65
## 행: 비용 / 별
6166
||<width=70><class=sts-index><height=40> '''비용'''{{{#!wiki class="sts-cost-container"
62
🔴}}} || @비용=?@ ||<width=50><class=sts-star-index> '''별'''{{{#!wiki class="sts-cost-container"
63
}}} ||<class=sts-star-value> @별@ ||
67
[[파일:@[email protected]|height=100%]]}}} || @비용=?@ ||<width=50><class=sts-star-index> '''별'''{{{#!wiki class="sts-cost-container"
68
[[파일:sts2_regent_star.webp|height=100%]]}}} ||<class=sts-star-value> @별@ ||
69
## 행: 효과
70
## a_r0 + (a_i1에 따라 비용 or 별) + a_r1 + (a_i2에 따라 비용 or 별) + ... + a_r9
6471
||<class=sts-index> '''효과''' ||<-3><class=sts-full-content> {{{#!html <span>@a_r0@</span>
6572
}}}{{{#!if 효과.substring(a_i1, a_i1+1) == "&"
6673
{{{#!wiki class="sts-cost-container"
67
🔴
74
[[파일:@[email protected]|height=100%]]
6875
}}}}}}{{{#!if 효과.substring(a_i1, a_i1+1) == "*"
6976
{{{#!wiki class="sts-cost-container"
70
77
[[파일:sts2_regent_star.webp|height=100%]]
7178
}}}}}}{{{#!html <span>@a_r1@</span>
7279
}}}{{{#!if 효과.substring(a_i2, a_i2+1) == "&"
7380
{{{#!wiki class="sts-cost-container"
74
🔴
81
[[파일:@[email protected]|height=100%]]
7582
}}}}}}{{{#!if 효과.substring(a_i2, a_i2+1) == "*"
7683
{{{#!wiki class="sts-cost-container"
77
84
[[파일:sts2_regent_star.webp|height=100%]]
7885
}}}}}}{{{#!html <span>@a_r2@</span>
7986
}}}{{{#!if 효과.substring(a_i3, a_i3+1) == "&"
8087
{{{#!wiki class="sts-cost-container"
81
🔴
88
[[파일:@[email protected]|height=100%]]
8289
}}}}}}{{{#!if 효과.substring(a_i3, a_i3+1) == "*"
8390
{{{#!wiki class="sts-cost-container"
84
91
[[파일:sts2_regent_star.webp|height=100%]]
8592
}}}}}}{{{#!html <span>@a_r3@</span>
8693
}}}{{{#!if 효과.substring(a_i4, a_i4+1) == "&"
8794
{{{#!wiki class="sts-cost-container"
88
🔴
95
[[파일:@[email protected]|height=100%]]
8996
}}}}}}{{{#!if 효과.substring(a_i4, a_i4+1) == "*"
9097
{{{#!wiki class="sts-cost-container"
91
98
[[파일:sts2_regent_star.webp|height=100%]]
9299
}}}}}}{{{#!html <span>@a_r4@</span>
93100
}}}{{{#!if 효과.substring(a_i5, a_i5+1) == "&"
94101
{{{#!wiki class="sts-cost-container"
95
🔴
102
[[파일:@[email protected]|height=100%]]
96103
}}}}}}{{{#!if 효과.substring(a_i5, a_i5+1) == "*"
97104
{{{#!wiki class="sts-cost-container"
98
105
[[파일:sts2_regent_star.webp|height=100%]]
99106
}}}}}}{{{#!html <span>@a_r5@</span>
100107
}}}{{{#!if 효과.substring(a_i6, a_i6+1) == "&"
101108
{{{#!wiki class="sts-cost-container"
102
🔴
109
[[파일:@[email protected]|height=100%]]
103110
}}}}}}{{{#!if 효과.substring(a_i6, a_i6+1) == "*"
104111
{{{#!wiki class="sts-cost-container"
105
112
[[파일:sts2_regent_star.webp|height=100%]]
106113
}}}}}}{{{#!html <span>@a_r6@</span>
107114
}}}{{{#!if 효과.substring(a_i7, a_i7+1) == "&"
108115
{{{#!wiki class="sts-cost-container"
109
🔴
116
[[파일:@[email protected]|height=100%]]
110117
}}}}}}{{{#!if 효과.substring(a_i7, a_i7+1) == "*"
111118
{{{#!wiki class="sts-cost-container"
112
119
[[파일:sts2_regent_star.webp|height=100%]]
113120
}}}}}}{{{#!html <span>@a_r7@</span>
114121
}}}{{{#!if 효과.substring(a_i8, a_i8+1) == "&"
115122
{{{#!wiki class="sts-cost-container"
116
🔴
123
[[파일:@[email protected]|height=100%]]
117124
}}}}}}{{{#!if 효과.substring(a_i8, a_i8+1) == "*"
118125
{{{#!wiki class="sts-cost-container"
119
126
[[파일:sts2_regent_star.webp|height=100%]]
120127
}}}}}}{{{#!html <span>@a_r8@</span>
121128
}}}{{{#!if 효과.substring(a_i9, a_i9+1) == "&"
122129
{{{#!wiki class="sts-cost-container"
123
🔴
130
[[파일:@[email protected]|height=100%]]
124131
}}}}}}{{{#!if 효과.substring(a_i9, a_i9+1) == "*"
125132
{{{#!wiki class="sts-cost-container"
126
133
[[파일:sts2_regent_star.webp|height=100%]]
127134
}}}}}}{{{#!html <span>@a_r9@</span>
128135
}}} ||
136
## 행: 강화
129137
||<class=sts-index><height=60> '''강화''' ||<-3><class=sts-full-content> {{{#!html <span>@b_r0@</span>
130138
}}}{{{#!if 강화.substring(b_i1, b_i1+1) == "&"
131139
{{{#!wiki class="sts-cost-container"
132
🔴
140
[[파일:@[email protected]|height=100%]]
133141
}}}}}}{{{#!if 강화.substring(b_i1, b_i1+1) == "*"
134142
{{{#!wiki class="sts-cost-container"
135
143
[[파일:sts2_regent_star.webp|height=100%]]
136144
}}}}}}{{{#!html <span>@b_r1@</span>
137145
}}}{{{#!if 강화.substring(b_i2, b_i2+1) == "&"
138146
{{{#!wiki class="sts-cost-container"
139
🔴
147
[[파일:@[email protected]|height=100%]]
140148
}}}}}}{{{#!if 강화.substring(b_i2, b_i2+1) == "*"
141149
{{{#!wiki class="sts-cost-container"
142
150
[[파일:sts2_regent_star.webp|height=100%]]
143151
}}}}}}{{{#!html <span>@b_r2@</span>
144152
}}}{{{#!if 강화.substring(b_i3, b_i3+1) == "&"
145153
{{{#!wiki class="sts-cost-container"
146
🔴
154
[[파일:@[email protected]|height=100%]]
147155
}}}}}}{{{#!if 강화.substring(b_i3, b_i3+1) == "*"
148156
{{{#!wiki class="sts-cost-container"
149
157
[[파일:sts2_regent_star.webp|height=100%]]
150158
}}}}}}{{{#!html <span>@b_r3@</span>
151159
}}}{{{#!if 강화.substring(b_i4, b_i4+1) == "&"
152160
{{{#!wiki class="sts-cost-container"
153
🔴
161
[[파일:@[email protected]|height=100%]]
154162
}}}}}}{{{#!if 강화.substring(b_i4, b_i4+1) == "*"
155163
{{{#!wiki class="sts-cost-container"
156
164
[[파일:sts2_regent_star.webp|height=100%]]
157165
}}}}}}{{{#!html <span>@b_r4@</span>
158166
}}}{{{#!if 강화.substring(b_i5, b_i5+1) == "&"
159167
{{{#!wiki class="sts-cost-container"
160
🔴
168
[[파일:@[email protected]|height=100%]]
161169
}}}}}}{{{#!if 강화.substring(b_i5, b_i5+1) == "*"
162170
{{{#!wiki class="sts-cost-container"
163
171
[[파일:sts2_regent_star.webp|height=100%]]
164172
}}}}}}{{{#!html <span>@b_r5@</span>
165173
}}}{{{#!if 강화.substring(b_i6, b_i6+1) == "&"
166174
{{{#!wiki class="sts-cost-container"
167
🔴
175
[[파일:@[email protected]|height=100%]]
168176
}}}}}}{{{#!if 강화.substring(b_i6, b_i6+1) == "*"
169177
{{{#!wiki class="sts-cost-container"
170
178
[[파일:sts2_regent_star.webp|height=100%]]
171179
}}}}}}{{{#!html <span>@b_r6@</span>
172180
}}}{{{#!if 강화.substring(b_i7, b_i7+1) == "&"
173181
{{{#!wiki class="sts-cost-container"
174
🔴
182
[[파일:@[email protected]|height=100%]]
175183
}}}}}}{{{#!if 강화.substring(b_i7, b_i7+1) == "*"
176184
{{{#!wiki class="sts-cost-container"
177
185
[[파일:sts2_regent_star.webp|height=100%]]
178186
}}}}}}{{{#!html <span>@b_r7@</span>
179187
}}}{{{#!if 강화.substring(b_i8, b_i8+1) == "&"
180188
{{{#!wiki class="sts-cost-container"
181
🔴
189
[[파일:@[email protected]|height=100%]]
182190
}}}}}}{{{#!if 강화.substring(b_i8, b_i8+1) == "*"
183191
{{{#!wiki class="sts-cost-container"
184
192
[[파일:sts2_regent_star.webp|height=100%]]
185193
}}}}}}{{{#!html <span>@b_r8@</span>
186194
}}}{{{#!if 강화.substring(b_i9, b_i9+1) == "&"
187195
{{{#!wiki class="sts-cost-container"
188
🔴
196
[[파일:@[email protected]|height=100%]]
189197
}}}}}}{{{#!if 강화.substring(b_i9, b_i9+1) == "*"
190198
{{{#!wiki class="sts-cost-container"
191
199
[[파일:sts2_regent_star.webp|height=100%]]
192200
}}}}}}{{{#!html <span>@b_r9@</span>
193201
}}} ||
202
[include(틀:Slay the Spire 2/카드/설명 문서)]