tx · GsWJ9o3vacbzEfdtjck5jQYfMqvvmiLzAngghKMCML4A 3N3mV2Baor8EY7CYQ7QgAm3tL8KruH1VpKA: -0.01000000 Waves 2021.07.25 08:16 [1628742] smart account 3N3mV2Baor8EY7CYQ7QgAm3tL8KruH1VpKA > SELF 0.00000000 Waves
{ "type": 13, "id": "GsWJ9o3vacbzEfdtjck5jQYfMqvvmiLzAngghKMCML4A", "fee": 1000000, "feeAssetId": null, "timestamp": 1627190204349, "version": 2, "chainId": 84, "sender": "3N3mV2Baor8EY7CYQ7QgAm3tL8KruH1VpKA", "senderPublicKey": "4P5V3b5K49wXNGa4M6SwDgHAMBa582FxTsF5qjWePQo3", "proofs": [ "3SLQ81coH7qRWsuyfiG6tNL3gEvqz9WCFZHGxWDAo2QyZSrXiaziShxUccfYQWp8ic84mc7kzaX77n8WA5jz6uRx" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlbnRLZXlCeXRlcwQAA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AIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAACXVzZWRDYXJkOgUAAAAIY2FyZE5hbWUCAAAACS8gd2lubmVyOgUAAAAGd2lubmVyAgAAAA4vIHdpbm5pbmdDYXJkOgUAAAALd2lubmluZ0NhcmQCAAAAHy8gcG9pbnRzUmVtYWluaW5nT25XaW5uaW5nQ2FyZDoJAAGkAAAAAQUAAAAccG9pbnRzUmVtYWluaW5nT25XaW5uaW5nQ2FyZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAB3N0YXR1c18FAAAAFWNhcmROYW1lQ3VycmVudFBsYXllcgIAAAAEVXNlZAUAAAADbmlsAAAAAH8ORZc=", "height": 1628742, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Hr3oHtKEQJWGZcQ14R16ZqfRnK8YRKCebj3s79A3Wsye Next: 7B3NtcMxiYb3uJhDQ5uRLi3F9DQbbnbfFySV4jx22atE Diff:
Old | New | Differences | |
---|---|---|---|
33 | 33 | } | |
34 | 34 | else 0 | |
35 | 35 | } | |
36 | - | let r = { | |
36 | + | let r = ("balance_waves_" + g) | |
37 | + | let s = { | |
38 | + | let o = getInteger(this, r) | |
39 | + | if ($isInstanceOf(o, "Int")) | |
40 | + | then { | |
41 | + | let p = o | |
42 | + | p | |
43 | + | } | |
44 | + | else throw("Código 010101. Contate o suporte!") | |
45 | + | } | |
46 | + | let t = { | |
37 | 47 | let o = getString(this, "playerInTheArena") | |
38 | 48 | if ($isInstanceOf(o, "String")) | |
39 | 49 | then { | |
42 | 52 | } | |
43 | 53 | else "" | |
44 | 54 | } | |
45 | - | let s = { | |
55 | + | let u = ("balance_waves_" + t) | |
56 | + | let v = { | |
57 | + | let o = getInteger(this, h) | |
58 | + | if ($isInstanceOf(o, "Int")) | |
59 | + | then { | |
60 | + | let p = o | |
61 | + | p | |
62 | + | } | |
63 | + | else throw("Código 010102. Contate o suporte!") | |
64 | + | } | |
65 | + | let w = { | |
46 | 66 | let o = getString(this, "cardInTheArena") | |
47 | 67 | if ($isInstanceOf(o, "String")) | |
48 | 68 | then { | |
51 | 71 | } | |
52 | 72 | else "" | |
53 | 73 | } | |
54 | - | let | |
74 | + | let x = { | |
55 | 75 | let o = getInteger(this, "arenaCardScore") | |
56 | 76 | if ($isInstanceOf(o, "Int")) | |
57 | 77 | then { | |
60 | 80 | } | |
61 | 81 | else 0 | |
62 | 82 | } | |
63 | - | let | |
83 | + | let y = if (({ | |
64 | 84 | let o = getString(this, ((("status_" + c) + "_01_") + g)) | |
65 | 85 | if ($isInstanceOf(o, "String")) | |
66 | 86 | then { | |
71 | 91 | } == "Used")) | |
72 | 92 | then 1 | |
73 | 93 | else 0 | |
74 | - | let | |
94 | + | let z = if (({ | |
75 | 95 | let o = getString(this, ((("status_" + c) + "_02_") + g)) | |
76 | 96 | if ($isInstanceOf(o, "String")) | |
77 | 97 | then { | |
82 | 102 | } == "Used")) | |
83 | 103 | then 1 | |
84 | 104 | else 0 | |
85 | - | let | |
105 | + | let A = if (({ | |
86 | 106 | let o = getString(this, ((("status_" + c) + "_03_") + g)) | |
87 | 107 | if ($isInstanceOf(o, "String")) | |
88 | 108 | then { | |
93 | 113 | } == "Used")) | |
94 | 114 | then 1 | |
95 | 115 | else 0 | |
96 | - | let | |
116 | + | let B = if (({ | |
97 | 117 | let o = getString(this, ((("status_" + c) + "_04_") + g)) | |
98 | 118 | if ($isInstanceOf(o, "String")) | |
99 | 119 | then { | |
104 | 124 | } == "Used")) | |
105 | 125 | then 1 | |
106 | 126 | else 0 | |
107 | - | let | |
127 | + | let C = if (({ | |
108 | 128 | let o = getString(this, ((("status_" + c) + "_05_") + g)) | |
109 | 129 | if ($isInstanceOf(o, "String")) | |
110 | 130 | then { | |
115 | 135 | } == "Used")) | |
116 | 136 | then 1 | |
117 | 137 | else 0 | |
118 | - | let | |
138 | + | let D = if (({ | |
119 | 139 | let o = getString(this, ((("status_" + c) + "_06_") + g)) | |
120 | 140 | if ($isInstanceOf(o, "String")) | |
121 | 141 | then { | |
126 | 146 | } == "Used")) | |
127 | 147 | then 1 | |
128 | 148 | else 0 | |
129 | - | let | |
149 | + | let E = if (({ | |
130 | 150 | let o = getString(this, ((("status_" + c) + "_07_") + g)) | |
131 | 151 | if ($isInstanceOf(o, "String")) | |
132 | 152 | then { | |
137 | 157 | } == "Used")) | |
138 | 158 | then 1 | |
139 | 159 | else 0 | |
140 | - | let | |
160 | + | let F = if (({ | |
141 | 161 | let o = getString(this, ((("status_" + c) + "_08_") + g)) | |
142 | 162 | if ($isInstanceOf(o, "String")) | |
143 | 163 | then { | |
148 | 168 | } == "Used")) | |
149 | 169 | then 1 | |
150 | 170 | else 0 | |
151 | - | let | |
171 | + | let G = if (({ | |
152 | 172 | let o = getString(this, ((("status_" + c) + "_09_") + g)) | |
153 | 173 | if ($isInstanceOf(o, "String")) | |
154 | 174 | then { | |
159 | 179 | } == "Used")) | |
160 | 180 | then 1 | |
161 | 181 | else 0 | |
162 | - | let | |
182 | + | let H = if (({ | |
163 | 183 | let o = getString(this, ((("status_" + c) + "_10_") + g)) | |
164 | 184 | if ($isInstanceOf(o, "String")) | |
165 | 185 | then { | |
170 | 190 | } == "Used")) | |
171 | 191 | then 1 | |
172 | 192 | else 0 | |
173 | - | let | |
174 | - | func | |
193 | + | let I = [y, z, A, B, C, D, E, F, G, H] | |
194 | + | func J (K,L) = (K + L) | |
175 | 195 | ||
176 | - | let | |
177 | - | let | |
178 | - | let | |
179 | - | let | |
180 | - | if (( | |
181 | - | then | |
196 | + | let M = { | |
197 | + | let N = I | |
198 | + | let O = size(N) | |
199 | + | let P = 0 | |
200 | + | if ((O == 0)) | |
201 | + | then P | |
182 | 202 | else { | |
183 | - | let | |
184 | - | if (( | |
185 | - | then | |
203 | + | let Q = J(P, N[0]) | |
204 | + | if ((O == 1)) | |
205 | + | then Q | |
186 | 206 | else { | |
187 | - | let | |
188 | - | if (( | |
189 | - | then | |
207 | + | let R = J(Q, N[1]) | |
208 | + | if ((O == 2)) | |
209 | + | then R | |
190 | 210 | else { | |
191 | - | let | |
192 | - | if (( | |
193 | - | then | |
211 | + | let S = J(R, N[2]) | |
212 | + | if ((O == 3)) | |
213 | + | then S | |
194 | 214 | else { | |
195 | - | let | |
196 | - | if (( | |
197 | - | then | |
215 | + | let T = J(S, N[3]) | |
216 | + | if ((O == 4)) | |
217 | + | then T | |
198 | 218 | else { | |
199 | - | let | |
200 | - | if (( | |
201 | - | then | |
219 | + | let U = J(T, N[4]) | |
220 | + | if ((O == 5)) | |
221 | + | then U | |
202 | 222 | else { | |
203 | - | let | |
204 | - | if (( | |
205 | - | then | |
223 | + | let V = J(U, N[5]) | |
224 | + | if ((O == 6)) | |
225 | + | then V | |
206 | 226 | else { | |
207 | - | let | |
208 | - | if (( | |
209 | - | then | |
227 | + | let W = J(V, N[6]) | |
228 | + | if ((O == 7)) | |
229 | + | then W | |
210 | 230 | else { | |
211 | - | let | |
212 | - | if (( | |
213 | - | then | |
231 | + | let X = J(W, N[7]) | |
232 | + | if ((O == 8)) | |
233 | + | then X | |
214 | 234 | else { | |
215 | - | let | |
216 | - | if (( | |
217 | - | then | |
235 | + | let Y = J(X, N[8]) | |
236 | + | if ((O == 9)) | |
237 | + | then Y | |
218 | 238 | else { | |
219 | - | let | |
220 | - | if (( | |
221 | - | then | |
239 | + | let Z = J(Y, N[9]) | |
240 | + | if ((O == 10)) | |
241 | + | then Z | |
222 | 242 | else { | |
223 | - | let | |
243 | + | let aa = J(Z, N[10]) | |
224 | 244 | throw("List size exceed 10") | |
225 | 245 | } | |
226 | 246 | } | |
240 | 260 | then throw("A classe enviada não existe no game! Por favor contate o suporte!") | |
241 | 261 | else if ((0 > assetBalance(e, j))) | |
242 | 262 | then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.") | |
243 | - | else if (if (( | |
263 | + | else if (if ((w == "")) | |
244 | 264 | then true | |
245 | - | else ( | |
265 | + | else (t == "")) | |
246 | 266 | then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", q)] | |
247 | 267 | else if ((n == "Used")) | |
248 | 268 | then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!") | |
249 | 269 | else { | |
250 | - | let | |
270 | + | let ab = if ((q > x)) | |
251 | 271 | then g | |
252 | - | else | |
253 | - | let | |
272 | + | else t | |
273 | + | let ac = if ((q > x)) | |
254 | 274 | then h | |
255 | - | else s | |
256 | - | let Z = if ((q > t)) | |
257 | - | then (q - t) | |
258 | - | else (t - q) | |
259 | - | let aa = (((f * 19) / 10) / 2) | |
260 | - | [StringEntry("playerIntTheArena", X), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", Z), if ((I == 9)) | |
275 | + | else w | |
276 | + | let ad = if ((q > x)) | |
277 | + | then (q - x) | |
278 | + | else (x - q) | |
279 | + | let ae = if ((ab == g)) | |
280 | + | then (s + (((f * 19) / 10) / 2)) | |
281 | + | else if ((ab == t)) | |
282 | + | then (v + (((f * 19) / 10) / 2)) | |
283 | + | else throw("Código 010105. Contate o suporte!") | |
284 | + | [StringEntry("playerIntTheArena", ab), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", ad), if ((M == 9)) | |
261 | 285 | then StringEntry(((("status_" + c) + "_01_") + g), "") | |
262 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
286 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
263 | 287 | then StringEntry(((("status_" + c) + "_02_") + g), "") | |
264 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
288 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
265 | 289 | then StringEntry(((("status_" + c) + "_03_") + g), "") | |
266 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
290 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
267 | 291 | then StringEntry(((("status_" + c) + "_04_") + g), "") | |
268 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
292 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
269 | 293 | then StringEntry(((("status_" + c) + "_05_") + g), "") | |
270 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
294 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
271 | 295 | then StringEntry(((("status_" + c) + "_06_") + g), "") | |
272 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
296 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
273 | 297 | then StringEntry(((("status_" + c) + "_07_") + g), "") | |
274 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
298 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
275 | 299 | then StringEntry(((("status_" + c) + "_08_") + g), "") | |
276 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
300 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
277 | 301 | then StringEntry(((("status_" + c) + "_09_") + g), "") | |
278 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
302 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
279 | 303 | then StringEntry(((("status_" + c) + "_10_") + g), "") | |
280 | - | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + | |
304 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ab), ae), StringEntry(((("history_" + g) + "_") + d), ((((((((((("usedCard:" + h) + "/ cardInTheArena: ") + w) + "/ arenaCardScore:") + toString(x)) + "/ winner:") + ab) + "/ winningCard:") + ac) + "/ pointsRemainingOnWinningCard:") + toString(ad))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + h) + "/ winner:") + ab) + "/ winningCard:") + ac) + "/ pointsRemainingOnWinningCard:") + toString(ad))), StringEntry(("status_" + i), "Used")] | |
281 | 305 | } | |
282 | 306 | } | |
283 | 307 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func play (b,c) = { | |
8 | 8 | let d = toBase58String(a.transactionId) | |
9 | 9 | let e = a.caller | |
10 | 10 | let f = value(a.payments[0].amount) | |
11 | 11 | let g = toBase58String(a.caller.bytes) | |
12 | 12 | let h = ((c + "_") + b) | |
13 | 13 | let i = ((((c + "_") + b) + "_") + g) | |
14 | 14 | let j = base58'3btiz2mNkbcFhcAww6Zn6WaRtDY3mLHf2dbJHNNbdUFk' | |
15 | 15 | let k = ["Undead_01", "Undead_02", "Undead_03", "Undead_04", "Undead_05", "Undead_07", "Undead_08", "Undead_09", "Undead_10"] | |
16 | 16 | let l = ["Undead"] | |
17 | 17 | let m = ["3btiz2mNkbcFhcAww6Zn6WaRtDY3mLHf2dbJHNNbdUFk"] | |
18 | 18 | let n = { | |
19 | 19 | let o = getString(this, ("status_" + i)) | |
20 | 20 | if ($isInstanceOf(o, "String")) | |
21 | 21 | then { | |
22 | 22 | let p = o | |
23 | 23 | p | |
24 | 24 | } | |
25 | 25 | else "" | |
26 | 26 | } | |
27 | 27 | let q = { | |
28 | 28 | let o = getInteger(this, h) | |
29 | 29 | if ($isInstanceOf(o, "Int")) | |
30 | 30 | then { | |
31 | 31 | let p = o | |
32 | 32 | p | |
33 | 33 | } | |
34 | 34 | else 0 | |
35 | 35 | } | |
36 | - | let r = { | |
36 | + | let r = ("balance_waves_" + g) | |
37 | + | let s = { | |
38 | + | let o = getInteger(this, r) | |
39 | + | if ($isInstanceOf(o, "Int")) | |
40 | + | then { | |
41 | + | let p = o | |
42 | + | p | |
43 | + | } | |
44 | + | else throw("Código 010101. Contate o suporte!") | |
45 | + | } | |
46 | + | let t = { | |
37 | 47 | let o = getString(this, "playerInTheArena") | |
38 | 48 | if ($isInstanceOf(o, "String")) | |
39 | 49 | then { | |
40 | 50 | let p = o | |
41 | 51 | p | |
42 | 52 | } | |
43 | 53 | else "" | |
44 | 54 | } | |
45 | - | let s = { | |
55 | + | let u = ("balance_waves_" + t) | |
56 | + | let v = { | |
57 | + | let o = getInteger(this, h) | |
58 | + | if ($isInstanceOf(o, "Int")) | |
59 | + | then { | |
60 | + | let p = o | |
61 | + | p | |
62 | + | } | |
63 | + | else throw("Código 010102. Contate o suporte!") | |
64 | + | } | |
65 | + | let w = { | |
46 | 66 | let o = getString(this, "cardInTheArena") | |
47 | 67 | if ($isInstanceOf(o, "String")) | |
48 | 68 | then { | |
49 | 69 | let p = o | |
50 | 70 | p | |
51 | 71 | } | |
52 | 72 | else "" | |
53 | 73 | } | |
54 | - | let | |
74 | + | let x = { | |
55 | 75 | let o = getInteger(this, "arenaCardScore") | |
56 | 76 | if ($isInstanceOf(o, "Int")) | |
57 | 77 | then { | |
58 | 78 | let p = o | |
59 | 79 | p | |
60 | 80 | } | |
61 | 81 | else 0 | |
62 | 82 | } | |
63 | - | let | |
83 | + | let y = if (({ | |
64 | 84 | let o = getString(this, ((("status_" + c) + "_01_") + g)) | |
65 | 85 | if ($isInstanceOf(o, "String")) | |
66 | 86 | then { | |
67 | 87 | let p = o | |
68 | 88 | p | |
69 | 89 | } | |
70 | 90 | else "" | |
71 | 91 | } == "Used")) | |
72 | 92 | then 1 | |
73 | 93 | else 0 | |
74 | - | let | |
94 | + | let z = if (({ | |
75 | 95 | let o = getString(this, ((("status_" + c) + "_02_") + g)) | |
76 | 96 | if ($isInstanceOf(o, "String")) | |
77 | 97 | then { | |
78 | 98 | let p = o | |
79 | 99 | p | |
80 | 100 | } | |
81 | 101 | else "" | |
82 | 102 | } == "Used")) | |
83 | 103 | then 1 | |
84 | 104 | else 0 | |
85 | - | let | |
105 | + | let A = if (({ | |
86 | 106 | let o = getString(this, ((("status_" + c) + "_03_") + g)) | |
87 | 107 | if ($isInstanceOf(o, "String")) | |
88 | 108 | then { | |
89 | 109 | let p = o | |
90 | 110 | p | |
91 | 111 | } | |
92 | 112 | else "" | |
93 | 113 | } == "Used")) | |
94 | 114 | then 1 | |
95 | 115 | else 0 | |
96 | - | let | |
116 | + | let B = if (({ | |
97 | 117 | let o = getString(this, ((("status_" + c) + "_04_") + g)) | |
98 | 118 | if ($isInstanceOf(o, "String")) | |
99 | 119 | then { | |
100 | 120 | let p = o | |
101 | 121 | p | |
102 | 122 | } | |
103 | 123 | else "" | |
104 | 124 | } == "Used")) | |
105 | 125 | then 1 | |
106 | 126 | else 0 | |
107 | - | let | |
127 | + | let C = if (({ | |
108 | 128 | let o = getString(this, ((("status_" + c) + "_05_") + g)) | |
109 | 129 | if ($isInstanceOf(o, "String")) | |
110 | 130 | then { | |
111 | 131 | let p = o | |
112 | 132 | p | |
113 | 133 | } | |
114 | 134 | else "" | |
115 | 135 | } == "Used")) | |
116 | 136 | then 1 | |
117 | 137 | else 0 | |
118 | - | let | |
138 | + | let D = if (({ | |
119 | 139 | let o = getString(this, ((("status_" + c) + "_06_") + g)) | |
120 | 140 | if ($isInstanceOf(o, "String")) | |
121 | 141 | then { | |
122 | 142 | let p = o | |
123 | 143 | p | |
124 | 144 | } | |
125 | 145 | else "" | |
126 | 146 | } == "Used")) | |
127 | 147 | then 1 | |
128 | 148 | else 0 | |
129 | - | let | |
149 | + | let E = if (({ | |
130 | 150 | let o = getString(this, ((("status_" + c) + "_07_") + g)) | |
131 | 151 | if ($isInstanceOf(o, "String")) | |
132 | 152 | then { | |
133 | 153 | let p = o | |
134 | 154 | p | |
135 | 155 | } | |
136 | 156 | else "" | |
137 | 157 | } == "Used")) | |
138 | 158 | then 1 | |
139 | 159 | else 0 | |
140 | - | let | |
160 | + | let F = if (({ | |
141 | 161 | let o = getString(this, ((("status_" + c) + "_08_") + g)) | |
142 | 162 | if ($isInstanceOf(o, "String")) | |
143 | 163 | then { | |
144 | 164 | let p = o | |
145 | 165 | p | |
146 | 166 | } | |
147 | 167 | else "" | |
148 | 168 | } == "Used")) | |
149 | 169 | then 1 | |
150 | 170 | else 0 | |
151 | - | let | |
171 | + | let G = if (({ | |
152 | 172 | let o = getString(this, ((("status_" + c) + "_09_") + g)) | |
153 | 173 | if ($isInstanceOf(o, "String")) | |
154 | 174 | then { | |
155 | 175 | let p = o | |
156 | 176 | p | |
157 | 177 | } | |
158 | 178 | else "" | |
159 | 179 | } == "Used")) | |
160 | 180 | then 1 | |
161 | 181 | else 0 | |
162 | - | let | |
182 | + | let H = if (({ | |
163 | 183 | let o = getString(this, ((("status_" + c) + "_10_") + g)) | |
164 | 184 | if ($isInstanceOf(o, "String")) | |
165 | 185 | then { | |
166 | 186 | let p = o | |
167 | 187 | p | |
168 | 188 | } | |
169 | 189 | else "" | |
170 | 190 | } == "Used")) | |
171 | 191 | then 1 | |
172 | 192 | else 0 | |
173 | - | let | |
174 | - | func | |
193 | + | let I = [y, z, A, B, C, D, E, F, G, H] | |
194 | + | func J (K,L) = (K + L) | |
175 | 195 | ||
176 | - | let | |
177 | - | let | |
178 | - | let | |
179 | - | let | |
180 | - | if (( | |
181 | - | then | |
196 | + | let M = { | |
197 | + | let N = I | |
198 | + | let O = size(N) | |
199 | + | let P = 0 | |
200 | + | if ((O == 0)) | |
201 | + | then P | |
182 | 202 | else { | |
183 | - | let | |
184 | - | if (( | |
185 | - | then | |
203 | + | let Q = J(P, N[0]) | |
204 | + | if ((O == 1)) | |
205 | + | then Q | |
186 | 206 | else { | |
187 | - | let | |
188 | - | if (( | |
189 | - | then | |
207 | + | let R = J(Q, N[1]) | |
208 | + | if ((O == 2)) | |
209 | + | then R | |
190 | 210 | else { | |
191 | - | let | |
192 | - | if (( | |
193 | - | then | |
211 | + | let S = J(R, N[2]) | |
212 | + | if ((O == 3)) | |
213 | + | then S | |
194 | 214 | else { | |
195 | - | let | |
196 | - | if (( | |
197 | - | then | |
215 | + | let T = J(S, N[3]) | |
216 | + | if ((O == 4)) | |
217 | + | then T | |
198 | 218 | else { | |
199 | - | let | |
200 | - | if (( | |
201 | - | then | |
219 | + | let U = J(T, N[4]) | |
220 | + | if ((O == 5)) | |
221 | + | then U | |
202 | 222 | else { | |
203 | - | let | |
204 | - | if (( | |
205 | - | then | |
223 | + | let V = J(U, N[5]) | |
224 | + | if ((O == 6)) | |
225 | + | then V | |
206 | 226 | else { | |
207 | - | let | |
208 | - | if (( | |
209 | - | then | |
227 | + | let W = J(V, N[6]) | |
228 | + | if ((O == 7)) | |
229 | + | then W | |
210 | 230 | else { | |
211 | - | let | |
212 | - | if (( | |
213 | - | then | |
231 | + | let X = J(W, N[7]) | |
232 | + | if ((O == 8)) | |
233 | + | then X | |
214 | 234 | else { | |
215 | - | let | |
216 | - | if (( | |
217 | - | then | |
235 | + | let Y = J(X, N[8]) | |
236 | + | if ((O == 9)) | |
237 | + | then Y | |
218 | 238 | else { | |
219 | - | let | |
220 | - | if (( | |
221 | - | then | |
239 | + | let Z = J(Y, N[9]) | |
240 | + | if ((O == 10)) | |
241 | + | then Z | |
222 | 242 | else { | |
223 | - | let | |
243 | + | let aa = J(Z, N[10]) | |
224 | 244 | throw("List size exceed 10") | |
225 | 245 | } | |
226 | 246 | } | |
227 | 247 | } | |
228 | 248 | } | |
229 | 249 | } | |
230 | 250 | } | |
231 | 251 | } | |
232 | 252 | } | |
233 | 253 | } | |
234 | 254 | } | |
235 | 255 | } | |
236 | 256 | } | |
237 | 257 | if (if (!(containsElement(l, c))) | |
238 | 258 | then !(containsElement(k, b)) | |
239 | 259 | else false) | |
240 | 260 | then throw("A classe enviada não existe no game! Por favor contate o suporte!") | |
241 | 261 | else if ((0 > assetBalance(e, j))) | |
242 | 262 | then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.") | |
243 | - | else if (if (( | |
263 | + | else if (if ((w == "")) | |
244 | 264 | then true | |
245 | - | else ( | |
265 | + | else (t == "")) | |
246 | 266 | then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", q)] | |
247 | 267 | else if ((n == "Used")) | |
248 | 268 | then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!") | |
249 | 269 | else { | |
250 | - | let | |
270 | + | let ab = if ((q > x)) | |
251 | 271 | then g | |
252 | - | else | |
253 | - | let | |
272 | + | else t | |
273 | + | let ac = if ((q > x)) | |
254 | 274 | then h | |
255 | - | else s | |
256 | - | let Z = if ((q > t)) | |
257 | - | then (q - t) | |
258 | - | else (t - q) | |
259 | - | let aa = (((f * 19) / 10) / 2) | |
260 | - | [StringEntry("playerIntTheArena", X), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", Z), if ((I == 9)) | |
275 | + | else w | |
276 | + | let ad = if ((q > x)) | |
277 | + | then (q - x) | |
278 | + | else (x - q) | |
279 | + | let ae = if ((ab == g)) | |
280 | + | then (s + (((f * 19) / 10) / 2)) | |
281 | + | else if ((ab == t)) | |
282 | + | then (v + (((f * 19) / 10) / 2)) | |
283 | + | else throw("Código 010105. Contate o suporte!") | |
284 | + | [StringEntry("playerIntTheArena", ab), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", ad), if ((M == 9)) | |
261 | 285 | then StringEntry(((("status_" + c) + "_01_") + g), "") | |
262 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
286 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
263 | 287 | then StringEntry(((("status_" + c) + "_02_") + g), "") | |
264 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
288 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
265 | 289 | then StringEntry(((("status_" + c) + "_03_") + g), "") | |
266 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
290 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
267 | 291 | then StringEntry(((("status_" + c) + "_04_") + g), "") | |
268 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
292 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
269 | 293 | then StringEntry(((("status_" + c) + "_05_") + g), "") | |
270 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
294 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
271 | 295 | then StringEntry(((("status_" + c) + "_06_") + g), "") | |
272 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
296 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
273 | 297 | then StringEntry(((("status_" + c) + "_07_") + g), "") | |
274 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
298 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
275 | 299 | then StringEntry(((("status_" + c) + "_08_") + g), "") | |
276 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
300 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
277 | 301 | then StringEntry(((("status_" + c) + "_09_") + g), "") | |
278 | - | else StringEntry("ElseObrigatorio", ""), if (( | |
302 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
279 | 303 | then StringEntry(((("status_" + c) + "_10_") + g), "") | |
280 | - | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + | |
304 | + | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ab), ae), StringEntry(((("history_" + g) + "_") + d), ((((((((((("usedCard:" + h) + "/ cardInTheArena: ") + w) + "/ arenaCardScore:") + toString(x)) + "/ winner:") + ab) + "/ winningCard:") + ac) + "/ pointsRemainingOnWinningCard:") + toString(ad))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + h) + "/ winner:") + ab) + "/ winningCard:") + ac) + "/ pointsRemainingOnWinningCard:") + toString(ad))), StringEntry(("status_" + i), "Used")] | |
281 | 305 | } | |
282 | 306 | } | |
283 | 307 | ||
284 | 308 |
github/deemru/w8io/026f985 109.32 ms ◑