본문으로 건너뛰기
사용자

o00o/연습장3(r81판 Blame)

r81
r81
1[[분류:Slay the Spire 2]][[분류:양식상자 틀/게임]]
r78
2## a_i{?} = 효과의 {?}번째 & or *의 위치
r67
3{{{#!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))
4}}}{{{#!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))
5}}}{{{#!if (a_c3=효과.indexOf("&",a_i2+1)), (a_s3=효과.indexOf("*",a_i2+1)), (a_c3 = (a_c3 == -1 ? 999 : a_c3)), (a_s3 = (a_s3 == -1 ? 999 : a_s3)), (a_i3 = (a_s3 < a_c3 ? a_s3 : a_c3))
6}}}{{{#!if (a_c4=효과.indexOf("&",a_i3+1)), (a_s4=효과.indexOf("*",a_i3+1)), (a_c4 = (a_c4 == -1 ? 999 : a_c4)), (a_s4 = (a_s4 == -1 ? 999 : a_s4)), (a_i4 = (a_s4 < a_c4 ? a_s4 : a_c4))
7}}}{{{#!if (a_c5=효과.indexOf("&",a_i4+1)), (a_s5=효과.indexOf("*",a_i4+1)), (a_c5 = (a_c5 == -1 ? 999 : a_c5)), (a_s5 = (a_s5 == -1 ? 999 : a_s5)), (a_i5 = (a_s5 < a_c5 ? a_s5 : a_c5))
8}}}{{{#!if (a_c6=효과.indexOf("&",a_i5+1)), (a_s6=효과.indexOf("*",a_i5+1)), (a_c6 = (a_c6 == -1 ? 999 : a_c6)), (a_s6 = (a_s6 == -1 ? 999 : a_s6)), (a_i6 = (a_s6 < a_c6 ? a_s6 : a_c6))
9}}}{{{#!if (a_c7=효과.indexOf("&",a_i6+1)), (a_s7=효과.indexOf("*",a_i6+1)), (a_c7 = (a_c7 == -1 ? 999 : a_c7)), (a_s7 = (a_s7 == -1 ? 999 : a_s7)), (a_i7 = (a_s7 < a_c7 ? a_s7 : a_c7))
10}}}{{{#!if (a_c8=효과.indexOf("&",a_i7+1)), (a_s8=효과.indexOf("*",a_i7+1)), (a_c8 = (a_c8 == -1 ? 999 : a_c8)), (a_s8 = (a_s8 == -1 ? 999 : a_s8)), (a_i8 = (a_s8 < a_c8 ? a_s8 : a_c8))
11}}}{{{#!if (a_c9=효과.indexOf("&",a_i8+1)), (a_s9=효과.indexOf("*",a_i8+1)), (a_c9 = (a_c9 == -1 ? 999 : a_c9)), (a_s9 = (a_s9 == -1 ? 999 : a_s9)), (a_i9 = (a_s9 < a_c9 ? a_s9 : a_c9))
r78
12## a_r{?} = 효과의 {?}번째 & or * 사이에 있는 문자열
r67
13}}}{{{#!if (a_r0=효과.substring(0, a_i1))
14}}}{{{#!if (a_r1=효과.substring(a_i1+1, a_i2))
15}}}{{{#!if (a_r2=효과.substring(a_i2+1, a_i3))
16}}}{{{#!if (a_r3=효과.substring(a_i3+1, a_i4))
17}}}{{{#!if (a_r4=효과.substring(a_i4+1, a_i5))
18}}}{{{#!if (a_r5=효과.substring(a_i5+1, a_i6))
19}}}{{{#!if (a_r6=효과.substring(a_i6+1, a_i7))
20}}}{{{#!if (a_r7=효과.substring(a_i7+1, a_i8))
21}}}{{{#!if (a_r8=효과.substring(a_i8+1, a_i9))
r80
22}}}{{{#!if (a_r9=효과.substring(a_i9+1))
r78
23## b_i{?} = 강화의 {?}번째 & or *의 위치
24}}}{{{#!if (b_c1=강화.indexOf("&",0)), (b_s1=강화.indexOf("*",0)), (b_c1 = (b_c1 == -1 ? 999 : b_c1)), (b_s1 = (b_s1 == -1 ? 999 : b_s1)), (b_i1 = (b_s1 < b_c1 ? b_s1 : b_c1))
25}}}{{{#!if (b_c2=강화.indexOf("&",b_i1+1)), (b_s2=강화.indexOf("*",b_i1+1)), (b_c2 = (b_c2 == -1 ? 999 : b_c2)), (b_s2 = (b_s2 == -1 ? 999 : b_s2)), (b_i2 = (b_s2 < b_c2 ? b_s2 : b_c2))
26}}}{{{#!if (b_c3=강화.indexOf("&",b_i2+1)), (b_s3=강화.indexOf("*",b_i2+1)), (b_c3 = (b_c3 == -1 ? 999 : b_c3)), (b_s3 = (b_s3 == -1 ? 999 : b_s3)), (b_i3 = (b_s3 < b_c3 ? b_s3 : b_c3))
27}}}{{{#!if (b_c4=강화.indexOf("&",b_i3+1)), (b_s4=강화.indexOf("*",b_i3+1)), (b_c4 = (b_c4 == -1 ? 999 : b_c4)), (b_s4 = (b_s4 == -1 ? 999 : b_s4)), (b_i4 = (b_s4 < b_c4 ? b_s4 : b_c4))
28}}}{{{#!if (b_c5=강화.indexOf("&",b_i4+1)), (b_s5=강화.indexOf("*",b_i4+1)), (b_c5 = (b_c5 == -1 ? 999 : b_c5)), (b_s5 = (b_s5 == -1 ? 999 : b_s5)), (b_i5 = (b_s5 < b_c5 ? b_s5 : b_c5))
29}}}{{{#!if (b_c6=강화.indexOf("&",b_i5+1)), (b_s6=강화.indexOf("*",b_i5+1)), (b_c6 = (b_c6 == -1 ? 999 : b_c6)), (b_s6 = (b_s6 == -1 ? 999 : b_s6)), (b_i6 = (b_s6 < b_c6 ? b_s6 : b_c6))
30}}}{{{#!if (b_c7=강화.indexOf("&",b_i6+1)), (b_s7=강화.indexOf("*",b_i6+1)), (b_c7 = (b_c7 == -1 ? 999 : b_c7)), (b_s7 = (b_s7 == -1 ? 999 : b_s7)), (b_i7 = (b_s7 < b_c7 ? b_s7 : b_c7))
31}}}{{{#!if (b_c8=강화.indexOf("&",b_i7+1)), (b_s8=강화.indexOf("*",b_i7+1)), (b_c8 = (b_c8 == -1 ? 999 : b_c8)), (b_s8 = (b_s8 == -1 ? 999 : b_s8)), (b_i8 = (b_s8 < b_c8 ? b_s8 : b_c8))
32}}}{{{#!if (b_c9=강화.indexOf("&",b_i8+1)), (b_s9=강화.indexOf("*",b_i8+1)), (b_c9 = (b_c9 == -1 ? 999 : b_c9)), (b_s9 = (b_s9 == -1 ? 999 : b_s9)), (b_i9 = (b_s9 < b_c9 ? b_s9 : b_c9))
33## b_r{?} = 강화의 {?}번째 & or * 사이에 있는 문자열
34}}}{{{#!if (b_r0=강화.substring(0, b_i1))
35}}}{{{#!if (b_r1=강화.substring(b_i1+1, b_i2))
36}}}{{{#!if (b_r2=강화.substring(b_i2+1, b_i3))
37}}}{{{#!if (b_r3=강화.substring(b_i3+1, b_i4))
38}}}{{{#!if (b_r4=강화.substring(b_i4+1, b_i5))
39}}}{{{#!if (b_r5=강화.substring(b_i5+1, b_i6))
40}}}{{{#!if (b_r6=강화.substring(b_i6+1, b_i7))
41}}}{{{#!if (b_r7=강화.substring(b_i7+1, b_i8))
42}}}{{{#!if (b_r8=강화.substring(b_i8+1, b_i9))
r80
43}}}{{{#!if (b_r9=강화.substring(b_i9+1))
r65
44## type_clr = 카드 종류 별 상징 색상
45## star_display = 표에서 "별" 칸의 표시 여부
46## img_display = 표에서 이미지 표시 여부
47}}}{{{#!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"))
r45
48}}}{{{#!if (star_display = (!별 ? "none" : "display")), (img_display = (!사진 ? "none" : "display"))
r81
49## 테이블 내의 클래스 스타일
r2
50}}}{{{#!style
r38
51table.sts-table { background: transparent; border: 2px solid @type_clr@;}
r65
52.sts-title, .sts-index, .sts-star-index { background: @type_clr@4D; }
53.sts-index, .sts-star-index { padding: 0 2px !important; }
r77
54.sts-full-content { min-width: 140px; width: 170px; word-break: keep-all; }
r38
55.sts-star-index, .sts-star-value { display: @star_display@; }
r45
56.sts-img { display: @img_display@;}
r65
57.sts-cost-container { display:inline-flex; height: 1.2em; vertical-align: sub;}
r2
58}}}
r81
59## 표 시작
60## 행: 사진 / 이름
r45
61||<|4><tableclass=sts-table><class=sts-img><nopad><width=250> [[파일:@사진@|width=100%]] ||<-5><class=sts-title><height=50> '''{{{+1 @이름=?@}}}'''[br]{{{#!if 영어이름
r40
62{{{#!wiki style="font-size: 0.8em;"
r38
63(@영어이름@)
r40
64}}}}}} ||
r81
65## 행: 비용 / 별
r65
66||<width=70><class=sts-index><height=40> '''비용'''{{{#!wiki class="sts-cost-container"
r81
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
r76
71||<class=sts-index> '''효과''' ||<-3><class=sts-full-content> {{{#!html <span>@a_r0@</span>
r67
72}}}{{{#!if 효과.substring(a_i1, a_i1+1) == "&"
r65
73{{{#!wiki class="sts-cost-container"
r81
74[[파일:@[email protected]|height=100%]]
r67
75}}}}}}{{{#!if 효과.substring(a_i1, a_i1+1) == "*"
r65
76{{{#!wiki class="sts-cost-container"
r81
77[[파일:sts2_regent_star.webp|height=100%]]
r76
78}}}}}}{{{#!html <span>@a_r1@</span>
r67
79}}}{{{#!if 효과.substring(a_i2, a_i2+1) == "&"
r65
80{{{#!wiki class="sts-cost-container"
r81
81[[파일:@[email protected]|height=100%]]
r67
82}}}}}}{{{#!if 효과.substring(a_i2, a_i2+1) == "*"
r65
83{{{#!wiki class="sts-cost-container"
r81
84[[파일:sts2_regent_star.webp|height=100%]]
r76
85}}}}}}{{{#!html <span>@a_r2@</span>
r67
86}}}{{{#!if 효과.substring(a_i3, a_i3+1) == "&"
r65
87{{{#!wiki class="sts-cost-container"
r81
88[[파일:@[email protected]|height=100%]]
r67
89}}}}}}{{{#!if 효과.substring(a_i3, a_i3+1) == "*"
r65
90{{{#!wiki class="sts-cost-container"
r81
91[[파일:sts2_regent_star.webp|height=100%]]
r76
92}}}}}}{{{#!html <span>@a_r3@</span>
r67
93}}}{{{#!if 효과.substring(a_i4, a_i4+1) == "&"
r65
94{{{#!wiki class="sts-cost-container"
r81
95[[파일:@[email protected]|height=100%]]
r67
96}}}}}}{{{#!if 효과.substring(a_i4, a_i4+1) == "*"
r65
97{{{#!wiki class="sts-cost-container"
r81
98[[파일:sts2_regent_star.webp|height=100%]]
r76
99}}}}}}{{{#!html <span>@a_r4@</span>
r67
100}}}{{{#!if 효과.substring(a_i5, a_i5+1) == "&"
r65
101{{{#!wiki class="sts-cost-container"
r81
102[[파일:@[email protected]|height=100%]]
r67
103}}}}}}{{{#!if 효과.substring(a_i5, a_i5+1) == "*"
r65
104{{{#!wiki class="sts-cost-container"
r81
105[[파일:sts2_regent_star.webp|height=100%]]
r76
106}}}}}}{{{#!html <span>@a_r5@</span>
r67
107}}}{{{#!if 효과.substring(a_i6, a_i6+1) == "&"
r65
108{{{#!wiki class="sts-cost-container"
r81
109[[파일:@[email protected]|height=100%]]
r67
110}}}}}}{{{#!if 효과.substring(a_i6, a_i6+1) == "*"
r65
111{{{#!wiki class="sts-cost-container"
r81
112[[파일:sts2_regent_star.webp|height=100%]]
r76
113}}}}}}{{{#!html <span>@a_r6@</span>
r67
114}}}{{{#!if 효과.substring(a_i7, a_i7+1) == "&"
r65
115{{{#!wiki class="sts-cost-container"
r81
116[[파일:@[email protected]|height=100%]]
r67
117}}}}}}{{{#!if 효과.substring(a_i7, a_i7+1) == "*"
r65
118{{{#!wiki class="sts-cost-container"
r81
119[[파일:sts2_regent_star.webp|height=100%]]
r76
120}}}}}}{{{#!html <span>@a_r7@</span>
r67
121}}}{{{#!if 효과.substring(a_i8, a_i8+1) == "&"
r65
122{{{#!wiki class="sts-cost-container"
r81
123[[파일:@[email protected]|height=100%]]
r67
124}}}}}}{{{#!if 효과.substring(a_i8, a_i8+1) == "*"
r65
125{{{#!wiki class="sts-cost-container"
r81
126[[파일:sts2_regent_star.webp|height=100%]]
r76
127}}}}}}{{{#!html <span>@a_r8@</span>
r80
128}}}{{{#!if 효과.substring(a_i9, a_i9+1) == "&"
129{{{#!wiki class="sts-cost-container"
r81
130[[파일:@[email protected]|height=100%]]
r80
131}}}}}}{{{#!if 효과.substring(a_i9, a_i9+1) == "*"
132{{{#!wiki class="sts-cost-container"
r81
133[[파일:sts2_regent_star.webp|height=100%]]
r80
134}}}}}}{{{#!html <span>@a_r9@</span>
r65
135}}} ||
r81
136## 행: 강화
r78
137||<class=sts-index><height=60> '''강화''' ||<-3><class=sts-full-content> {{{#!html <span>@b_r0@</span>
138}}}{{{#!if 강화.substring(b_i1, b_i1+1) == "&"
139{{{#!wiki class="sts-cost-container"
r81
140[[파일:@[email protected]|height=100%]]
r78
141}}}}}}{{{#!if 강화.substring(b_i1, b_i1+1) == "*"
142{{{#!wiki class="sts-cost-container"
r81
143[[파일:sts2_regent_star.webp|height=100%]]
r78
144}}}}}}{{{#!html <span>@b_r1@</span>
145}}}{{{#!if 강화.substring(b_i2, b_i2+1) == "&"
146{{{#!wiki class="sts-cost-container"
r81
147[[파일:@[email protected]|height=100%]]
r78
148}}}}}}{{{#!if 강화.substring(b_i2, b_i2+1) == "*"
149{{{#!wiki class="sts-cost-container"
r81
150[[파일:sts2_regent_star.webp|height=100%]]
r78
151}}}}}}{{{#!html <span>@b_r2@</span>
152}}}{{{#!if 강화.substring(b_i3, b_i3+1) == "&"
153{{{#!wiki class="sts-cost-container"
r81
154[[파일:@[email protected]|height=100%]]
r78
155}}}}}}{{{#!if 강화.substring(b_i3, b_i3+1) == "*"
156{{{#!wiki class="sts-cost-container"
r81
157[[파일:sts2_regent_star.webp|height=100%]]
r78
158}}}}}}{{{#!html <span>@b_r3@</span>
159}}}{{{#!if 강화.substring(b_i4, b_i4+1) == "&"
160{{{#!wiki class="sts-cost-container"
r81
161[[파일:@[email protected]|height=100%]]
r78
162}}}}}}{{{#!if 강화.substring(b_i4, b_i4+1) == "*"
163{{{#!wiki class="sts-cost-container"
r81
164[[파일:sts2_regent_star.webp|height=100%]]
r78
165}}}}}}{{{#!html <span>@b_r4@</span>
166}}}{{{#!if 강화.substring(b_i5, b_i5+1) == "&"
167{{{#!wiki class="sts-cost-container"
r81
168[[파일:@[email protected]|height=100%]]
r78
169}}}}}}{{{#!if 강화.substring(b_i5, b_i5+1) == "*"
170{{{#!wiki class="sts-cost-container"
r81
171[[파일:sts2_regent_star.webp|height=100%]]
r78
172}}}}}}{{{#!html <span>@b_r5@</span>
173}}}{{{#!if 강화.substring(b_i6, b_i6+1) == "&"
174{{{#!wiki class="sts-cost-container"
r81
175[[파일:@[email protected]|height=100%]]
r78
176}}}}}}{{{#!if 강화.substring(b_i6, b_i6+1) == "*"
177{{{#!wiki class="sts-cost-container"
r81
178[[파일:sts2_regent_star.webp|height=100%]]
r78
179}}}}}}{{{#!html <span>@b_r6@</span>
180}}}{{{#!if 강화.substring(b_i7, b_i7+1) == "&"
181{{{#!wiki class="sts-cost-container"
r81
182[[파일:@[email protected]|height=100%]]
r78
183}}}}}}{{{#!if 강화.substring(b_i7, b_i7+1) == "*"
184{{{#!wiki class="sts-cost-container"
r81
185[[파일:sts2_regent_star.webp|height=100%]]
r78
186}}}}}}{{{#!html <span>@b_r7@</span>
187}}}{{{#!if 강화.substring(b_i8, b_i8+1) == "&"
188{{{#!wiki class="sts-cost-container"
r81
189[[파일:@[email protected]|height=100%]]
r78
190}}}}}}{{{#!if 강화.substring(b_i8, b_i8+1) == "*"
191{{{#!wiki class="sts-cost-container"
r81
192[[파일:sts2_regent_star.webp|height=100%]]
r78
193}}}}}}{{{#!html <span>@b_r8@</span>
r80
194}}}{{{#!if 강화.substring(b_i9, b_i9+1) == "&"
195{{{#!wiki class="sts-cost-container"
r81
196[[파일:@[email protected]|height=100%]]
r80
197}}}}}}{{{#!if 강화.substring(b_i9, b_i9+1) == "*"
198{{{#!wiki class="sts-cost-container"
r81
199[[파일:sts2_regent_star.webp|height=100%]]
r80
200}}}}}}{{{#!html <span>@b_r9@</span>
r81
201}}} ||
202[include(틀:Slay the Spire 2/카드/설명 문서)]