본문으로 건너뛰기
사용자

o00o/연습장3(r79판 Blame)

r79
r79
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))
r78
22## b_i{?} = 강화의 {?}번째 & or *의 위치
23}}}{{{#!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))
24}}}{{{#!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))
25}}}{{{#!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))
26}}}{{{#!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))
27}}}{{{#!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))
28}}}{{{#!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))
29}}}{{{#!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))
30}}}{{{#!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))
31}}}{{{#!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))
32## b_r{?} = 강화의 {?}번째 & or * 사이에 있는 문자열
33}}}{{{#!if (b_r0=강화.substring(0, b_i1))
34}}}{{{#!if (b_r1=강화.substring(b_i1+1, b_i2))
35}}}{{{#!if (b_r2=강화.substring(b_i2+1, b_i3))
36}}}{{{#!if (b_r3=강화.substring(b_i3+1, b_i4))
37}}}{{{#!if (b_r4=강화.substring(b_i4+1, b_i5))
38}}}{{{#!if (b_r5=강화.substring(b_i5+1, b_i6))
39}}}{{{#!if (b_r6=강화.substring(b_i6+1, b_i7))
40}}}{{{#!if (b_r7=강화.substring(b_i7+1, b_i8))
41}}}{{{#!if (b_r8=강화.substring(b_i8+1, b_i9))
r65
42## type_clr = 카드 종류 별 상징 색상
43## star_display = 표에서 "별" 칸의 표시 여부
44## img_display = 표에서 이미지 표시 여부
45}}}{{{#!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
46}}}{{{#!if (star_display = (!별 ? "none" : "display")), (img_display = (!사진 ? "none" : "display"))
r2
47}}}{{{#!style
r38
48table.sts-table { background: transparent; border: 2px solid @type_clr@;}
r65
49.sts-title, .sts-index, .sts-star-index { background: @type_clr@4D; }
50.sts-index, .sts-star-index { padding: 0 2px !important; }
r77
51.sts-full-content { min-width: 140px; width: 170px; word-break: keep-all; }
r38
52.sts-star-index, .sts-star-value { display: @star_display@; }
r45
53.sts-img { display: @img_display@;}
r65
54.sts-cost-container { display:inline-flex; height: 1.2em; vertical-align: sub;}
r2
55}}}
r45
56||<|4><tableclass=sts-table><class=sts-img><nopad><width=250> [[파일:@사진@|width=100%]] ||<-5><class=sts-title><height=50> '''{{{+1 @이름=?@}}}'''[br]{{{#!if 영어이름
r40
57{{{#!wiki style="font-size: 0.8em;"
r38
58(@영어이름@)
r40
59}}}}}} ||
r65
60||<width=70><class=sts-index><height=40> '''비용'''{{{#!wiki class="sts-cost-container"
r79
61[[파일:@[email protected]|height=100%]]}}} || @비용=?@ ||<width=50><class=sts-star-index> '''별'''{{{#!wiki class="sts-cost-container"
62[[파일:sts2_regent_star.webp|height=100%]]}}} ||<class=sts-star-value> @별@ ||
r76
63||<class=sts-index> '''효과''' ||<-3><class=sts-full-content> {{{#!html <span>@a_r0@</span>
r67
64}}}{{{#!if 효과.substring(a_i1, a_i1+1) == "&"
r65
65{{{#!wiki class="sts-cost-container"
r79
66[[파일:@[email protected]|height=100%]]
r67
67}}}}}}{{{#!if 효과.substring(a_i1, a_i1+1) == "*"
r65
68{{{#!wiki class="sts-cost-container"
r79
69[[파일:sts2_regent_star.webp|height=100%]]
r76
70}}}}}}{{{#!html <span>@a_r1@</span>
r67
71}}}{{{#!if 효과.substring(a_i2, a_i2+1) == "&"
r65
72{{{#!wiki class="sts-cost-container"
r79
73[[파일:@[email protected]|height=100%]]
r67
74}}}}}}{{{#!if 효과.substring(a_i2, a_i2+1) == "*"
r65
75{{{#!wiki class="sts-cost-container"
r79
76[[파일:sts2_regent_star.webp|height=100%]]
r76
77}}}}}}{{{#!html <span>@a_r2@</span>
r67
78}}}{{{#!if 효과.substring(a_i3, a_i3+1) == "&"
r65
79{{{#!wiki class="sts-cost-container"
r79
80[[파일:@[email protected]|height=100%]]
r67
81}}}}}}{{{#!if 효과.substring(a_i3, a_i3+1) == "*"
r65
82{{{#!wiki class="sts-cost-container"
r79
83[[파일:sts2_regent_star.webp|height=100%]]
r76
84}}}}}}{{{#!html <span>@a_r3@</span>
r67
85}}}{{{#!if 효과.substring(a_i4, a_i4+1) == "&"
r65
86{{{#!wiki class="sts-cost-container"
r79
87[[파일:@[email protected]|height=100%]]
r67
88}}}}}}{{{#!if 효과.substring(a_i4, a_i4+1) == "*"
r65
89{{{#!wiki class="sts-cost-container"
r79
90[[파일:sts2_regent_star.webp|height=100%]]
r76
91}}}}}}{{{#!html <span>@a_r4@</span>
r67
92}}}{{{#!if 효과.substring(a_i5, a_i5+1) == "&"
r65
93{{{#!wiki class="sts-cost-container"
r79
94[[파일:@[email protected]|height=100%]]
r67
95}}}}}}{{{#!if 효과.substring(a_i5, a_i5+1) == "*"
r65
96{{{#!wiki class="sts-cost-container"
r79
97[[파일:sts2_regent_star.webp|height=100%]]
r76
98}}}}}}{{{#!html <span>@a_r5@</span>
r67
99}}}{{{#!if 효과.substring(a_i6, a_i6+1) == "&"
r65
100{{{#!wiki class="sts-cost-container"
r79
101[[파일:@[email protected]|height=100%]]
r67
102}}}}}}{{{#!if 효과.substring(a_i6, a_i6+1) == "*"
r65
103{{{#!wiki class="sts-cost-container"
r79
104[[파일:sts2_regent_star.webp|height=100%]]
r76
105}}}}}}{{{#!html <span>@a_r6@</span>
r67
106}}}{{{#!if 효과.substring(a_i7, a_i7+1) == "&"
r65
107{{{#!wiki class="sts-cost-container"
r79
108[[파일:@[email protected]|height=100%]]
r67
109}}}}}}{{{#!if 효과.substring(a_i7, a_i7+1) == "*"
r65
110{{{#!wiki class="sts-cost-container"
r79
111[[파일:sts2_regent_star.webp|height=100%]]
r76
112}}}}}}{{{#!html <span>@a_r7@</span>
r67
113}}}{{{#!if 효과.substring(a_i8, a_i8+1) == "&"
r65
114{{{#!wiki class="sts-cost-container"
r79
115[[파일:@[email protected]|height=100%]]
r67
116}}}}}}{{{#!if 효과.substring(a_i8, a_i8+1) == "*"
r65
117{{{#!wiki class="sts-cost-container"
r79
118[[파일:sts2_regent_star.webp|height=100%]]
r76
119}}}}}}{{{#!html <span>@a_r8@</span>
r65
120}}} ||
r78
121||<class=sts-index><height=60> '''강화''' ||<-3><class=sts-full-content> {{{#!html <span>@b_r0@</span>
122}}}{{{#!if 강화.substring(b_i1, b_i1+1) == "&"
123{{{#!wiki class="sts-cost-container"
r79
124[[파일:@[email protected]|height=100%]]
r78
125}}}}}}{{{#!if 강화.substring(b_i1, b_i1+1) == "*"
126{{{#!wiki class="sts-cost-container"
r79
127[[파일:sts2_regent_star.webp|height=100%]]
r78
128}}}}}}{{{#!html <span>@b_r1@</span>
129}}}{{{#!if 강화.substring(b_i2, b_i2+1) == "&"
130{{{#!wiki class="sts-cost-container"
r79
131[[파일:@[email protected]|height=100%]]
r78
132}}}}}}{{{#!if 강화.substring(b_i2, b_i2+1) == "*"
133{{{#!wiki class="sts-cost-container"
r79
134[[파일:sts2_regent_star.webp|height=100%]]
r78
135}}}}}}{{{#!html <span>@b_r2@</span>
136}}}{{{#!if 강화.substring(b_i3, b_i3+1) == "&"
137{{{#!wiki class="sts-cost-container"
r79
138[[파일:@[email protected]|height=100%]]
r78
139}}}}}}{{{#!if 강화.substring(b_i3, b_i3+1) == "*"
140{{{#!wiki class="sts-cost-container"
r79
141[[파일:sts2_regent_star.webp|height=100%]]
r78
142}}}}}}{{{#!html <span>@b_r3@</span>
143}}}{{{#!if 강화.substring(b_i4, b_i4+1) == "&"
144{{{#!wiki class="sts-cost-container"
r79
145[[파일:@[email protected]|height=100%]]
r78
146}}}}}}{{{#!if 강화.substring(b_i4, b_i4+1) == "*"
147{{{#!wiki class="sts-cost-container"
r79
148[[파일:sts2_regent_star.webp|height=100%]]
r78
149}}}}}}{{{#!html <span>@b_r4@</span>
150}}}{{{#!if 강화.substring(b_i5, b_i5+1) == "&"
151{{{#!wiki class="sts-cost-container"
r79
152[[파일:@[email protected]|height=100%]]
r78
153}}}}}}{{{#!if 강화.substring(b_i5, b_i5+1) == "*"
154{{{#!wiki class="sts-cost-container"
r79
155[[파일:sts2_regent_star.webp|height=100%]]
r78
156}}}}}}{{{#!html <span>@b_r5@</span>
157}}}{{{#!if 강화.substring(b_i6, b_i6+1) == "&"
158{{{#!wiki class="sts-cost-container"
r79
159[[파일:@[email protected]|height=100%]]
r78
160}}}}}}{{{#!if 강화.substring(b_i6, b_i6+1) == "*"
161{{{#!wiki class="sts-cost-container"
r79
162[[파일:sts2_regent_star.webp|height=100%]]
r78
163}}}}}}{{{#!html <span>@b_r6@</span>
164}}}{{{#!if 강화.substring(b_i7, b_i7+1) == "&"
165{{{#!wiki class="sts-cost-container"
r79
166[[파일:@[email protected]|height=100%]]
r78
167}}}}}}{{{#!if 강화.substring(b_i7, b_i7+1) == "*"
168{{{#!wiki class="sts-cost-container"
r79
169[[파일:sts2_regent_star.webp|height=100%]]
r78
170}}}}}}{{{#!html <span>@b_r7@</span>
171}}}{{{#!if 강화.substring(b_i8, b_i8+1) == "&"
172{{{#!wiki class="sts-cost-container"
r79
173[[파일:@[email protected]|height=100%]]
r78
174}}}}}}{{{#!if 강화.substring(b_i8, b_i8+1) == "*"
175{{{#!wiki class="sts-cost-container"
r79
176[[파일:sts2_regent_star.webp|height=100%]]
r78
177}}}}}}{{{#!html <span>@b_r8@</span>
r79
178}}} ||
179[include(틀:Slay the Spire 2/카드/설명 문서)]