tx · AU2MbzgvgsvU9yHc3MUKgDKj25s7JkXLPqaWb18aYHfp

3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx:  -0.01000000 Waves

2021.07.26 10:30 [1630319] smart account 3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx > SELF 0.00000000 Waves

{ "type": 13, "id": "AU2MbzgvgsvU9yHc3MUKgDKj25s7JkXLPqaWb18aYHfp", "fee": 1000000, "feeAssetId": null, "timestamp": 1627284663074, "version": 2, "chainId": 84, "sender": "3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx", "senderPublicKey": "6qoAe8r1esyuGECiN4UZSvi5RpyExfXXS8izyNwWZaJP", "proofs": [ "2Lbj554XPwmuKdfMbYNz4VD18ZrefcFkN5da1ji9Thx3SrWDJsmhLo2rKuR31HdwSASBSh4NKdb4433wp6yRj2ob" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlbnRLZXl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yBwb2ludHNSZW1haW5pbmdPbldpbm5pbmdDYXJkOgkAAaQAAAABBQAAABxwb2ludHNSZW1haW5pbmdPbldpbm5pbmdDYXJkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAFlJlc3VsdGFkbyBkYSBQYXJ0aWRhOiAJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAJdXNlZENhcmQ6BQAAAAhjYXJkTmFtZQIAAAAJLyB3aW5uZXI6BQAAAAZ3aW5uZXICAAAADi8gd2lubmluZ0NhcmQ6BQAAAAt3aW5uaW5nQ2FyZAIAAAAfLyBwb2ludHNSZW1haW5pbmdPbldpbm5pbmdDYXJkOgkAAaQAAAABBQAAABxwb2ludHNSZW1haW5pbmdPbldpbm5pbmdDYXJkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAHc3RhdHVzXwUAAAAVY2FyZE5hbWVDdXJyZW50UGxheWVyAgAAAARVc2VkBQAAAANuaWwAAAAA8SJm3g==", "height": 1630319, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E1SUVZRsQuqCnEJdNiovpLZG757W4onBiw56iB8T94u3 Next: 5iDBYtFLCixmKSfenVfEX7pa3UCYpc7SjgHSBqzPPHcd Diff:
OldNewDifferences
1515 let k = ["Undead_1", "Undead_2", "Undead_3", "Undead_4", "Undead_5", "Undead_6", "Undead_7", "Undead_8", "Undead_9", "Undead_10"]
1616 let l = ["Undead"]
1717 let m = ["6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY"]
18- let n = ScriptTransfer(Address(base58'3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx'), 1, base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5AS')
19- let o = base58'mwsu'
20- let p = {
21- let q = getString(this, ("status_" + i))
22- if ($isInstanceOf(q, "String"))
18+ let n = {
19+ let o = getString(this, ("status_" + i))
20+ if ($isInstanceOf(o, "String"))
2321 then {
24- let r = q
25- r
22+ let p = o
23+ p
2624 }
2725 else ""
2826 }
29- let s = {
30- let q = getInteger(this, h)
31- if ($isInstanceOf(q, "Int"))
27+ let q = {
28+ let o = getInteger(this, h)
29+ if ($isInstanceOf(o, "Int"))
3230 then {
33- let r = q
34- r
31+ let p = o
32+ p
3533 }
3634 else 0
3735 }
38- let t = ("balance_waves_" + g)
39- let u = {
40- let q = getInteger(this, t)
41- if ($isInstanceOf(q, "Int"))
36+ let r = ("balance_waves_" + g)
37+ let s = {
38+ let o = getInteger(this, r)
39+ if ($isInstanceOf(o, "Int"))
4240 then {
43- let r = q
44- r
41+ let p = o
42+ p
4543 }
4644 else 0
4745 }
48- let v = {
49- let q = getString(this, "playerInTheArena")
50- if ($isInstanceOf(q, "String"))
46+ let t = {
47+ let o = getString(this, "playerInTheArena")
48+ if ($isInstanceOf(o, "String"))
5149 then {
52- let r = q
53- r
50+ let p = o
51+ p
5452 }
5553 else ""
5654 }
57- let w = ("balance_waves_" + v)
58- let x = {
59- let q = getInteger(this, w)
60- if ($isInstanceOf(q, "Int"))
55+ let u = ("balance_waves_" + t)
56+ let v = {
57+ let o = getInteger(this, u)
58+ if ($isInstanceOf(o, "Int"))
6159 then {
62- let r = q
63- r
60+ let p = o
61+ p
6462 }
6563 else 0
6664 }
67- let y = {
68- let q = getString(this, "cardInTheArena")
69- if ($isInstanceOf(q, "String"))
65+ let w = {
66+ let o = getString(this, "cardInTheArena")
67+ if ($isInstanceOf(o, "String"))
7068 then {
71- let r = q
72- r
69+ let p = o
70+ p
7371 }
7472 else ""
7573 }
76- let z = {
77- let q = getInteger(this, "arenaCardScore")
78- if ($isInstanceOf(q, "Int"))
74+ let x = {
75+ let o = getInteger(this, "arenaCardScore")
76+ if ($isInstanceOf(o, "Int"))
7977 then {
80- let r = q
81- r
78+ let p = o
79+ p
8280 }
8381 else 0
8482 }
83+ let y = if (({
84+ let o = getString(this, ((("status_" + c) + "_1_") + g))
85+ if ($isInstanceOf(o, "String"))
86+ then {
87+ let p = o
88+ p
89+ }
90+ else ""
91+ } == "Used"))
92+ then 1
93+ else 0
94+ let z = if (({
95+ let o = getString(this, ((("status_" + c) + "_2_") + g))
96+ if ($isInstanceOf(o, "String"))
97+ then {
98+ let p = o
99+ p
100+ }
101+ else ""
102+ } == "Used"))
103+ then 1
104+ else 0
85105 let A = if (({
86- let q = getString(this, ((("status_" + c) + "_1_") + g))
87- if ($isInstanceOf(q, "String"))
106+ let o = getString(this, ((("status_" + c) + "_3_") + g))
107+ if ($isInstanceOf(o, "String"))
88108 then {
89- let r = q
90- r
109+ let p = o
110+ p
91111 }
92112 else ""
93113 } == "Used"))
94114 then 1
95115 else 0
96116 let B = if (({
97- let q = getString(this, ((("status_" + c) + "_2_") + g))
98- if ($isInstanceOf(q, "String"))
117+ let o = getString(this, ((("status_" + c) + "_4_") + g))
118+ if ($isInstanceOf(o, "String"))
99119 then {
100- let r = q
101- r
120+ let p = o
121+ p
102122 }
103123 else ""
104124 } == "Used"))
105125 then 1
106126 else 0
107127 let C = if (({
108- let q = getString(this, ((("status_" + c) + "_3_") + g))
109- if ($isInstanceOf(q, "String"))
128+ let o = getString(this, ((("status_" + c) + "_5_") + g))
129+ if ($isInstanceOf(o, "String"))
110130 then {
111- let r = q
112- r
131+ let p = o
132+ p
113133 }
114134 else ""
115135 } == "Used"))
116136 then 1
117137 else 0
118138 let D = if (({
119- let q = getString(this, ((("status_" + c) + "_4_") + g))
120- if ($isInstanceOf(q, "String"))
139+ let o = getString(this, ((("status_" + c) + "_6_") + g))
140+ if ($isInstanceOf(o, "String"))
121141 then {
122- let r = q
123- r
142+ let p = o
143+ p
124144 }
125145 else ""
126146 } == "Used"))
127147 then 1
128148 else 0
129149 let E = if (({
130- let q = getString(this, ((("status_" + c) + "_5_") + g))
131- if ($isInstanceOf(q, "String"))
150+ let o = getString(this, ((("status_" + c) + "_7_") + g))
151+ if ($isInstanceOf(o, "String"))
132152 then {
133- let r = q
134- r
153+ let p = o
154+ p
135155 }
136156 else ""
137157 } == "Used"))
138158 then 1
139159 else 0
140160 let F = if (({
141- let q = getString(this, ((("status_" + c) + "_6_") + g))
142- if ($isInstanceOf(q, "String"))
161+ let o = getString(this, ((("status_" + c) + "_8_") + g))
162+ if ($isInstanceOf(o, "String"))
143163 then {
144- let r = q
145- r
164+ let p = o
165+ p
146166 }
147167 else ""
148168 } == "Used"))
149169 then 1
150170 else 0
151171 let G = if (({
152- let q = getString(this, ((("status_" + c) + "_7_") + g))
153- if ($isInstanceOf(q, "String"))
172+ let o = getString(this, ((("status_" + c) + "_9_") + g))
173+ if ($isInstanceOf(o, "String"))
154174 then {
155- let r = q
156- r
175+ let p = o
176+ p
157177 }
158178 else ""
159179 } == "Used"))
160180 then 1
161181 else 0
162182 let H = if (({
163- let q = getString(this, ((("status_" + c) + "_8_") + g))
164- if ($isInstanceOf(q, "String"))
183+ let o = getString(this, ((("status_" + c) + "_10_") + g))
184+ if ($isInstanceOf(o, "String"))
165185 then {
166- let r = q
167- r
186+ let p = o
187+ p
168188 }
169189 else ""
170190 } == "Used"))
171191 then 1
172192 else 0
173- let I = if (({
174- let q = getString(this, ((("status_" + c) + "_9_") + g))
175- if ($isInstanceOf(q, "String"))
176- then {
177- let r = q
178- r
179- }
180- else ""
181- } == "Used"))
182- then 1
183- else 0
184- let J = if (({
185- let q = getString(this, ((("status_" + c) + "_10_") + g))
186- if ($isInstanceOf(q, "String"))
187- then {
188- let r = q
189- r
190- }
191- else ""
192- } == "Used"))
193- then 1
194- else 0
195- let K = [A, B, C, D, E, F, G, H, I, J]
196- func L (M,N) = (M + N)
193+ let I = [y, z, A, B, C, D, E, F, G, H]
194+ func J (K,L) = (K + L)
197195
198- let O = {
199- let P = K
200- let Q = size(P)
201- let R = 0
202- if ((Q == 0))
203- then R
196+ let M = {
197+ let N = I
198+ let O = size(N)
199+ let P = 0
200+ if ((O == 0))
201+ then P
204202 else {
205- let S = L(R, P[0])
206- if ((Q == 1))
207- then S
203+ let Q = J(P, N[0])
204+ if ((O == 1))
205+ then Q
208206 else {
209- let T = L(S, P[1])
210- if ((Q == 2))
211- then T
207+ let R = J(Q, N[1])
208+ if ((O == 2))
209+ then R
212210 else {
213- let U = L(T, P[2])
214- if ((Q == 3))
215- then U
211+ let S = J(R, N[2])
212+ if ((O == 3))
213+ then S
216214 else {
217- let V = L(U, P[3])
218- if ((Q == 4))
219- then V
215+ let T = J(S, N[3])
216+ if ((O == 4))
217+ then T
220218 else {
221- let W = L(V, P[4])
222- if ((Q == 5))
223- then W
219+ let U = J(T, N[4])
220+ if ((O == 5))
221+ then U
224222 else {
225- let X = L(W, P[5])
226- if ((Q == 6))
227- then X
223+ let V = J(U, N[5])
224+ if ((O == 6))
225+ then V
228226 else {
229- let Y = L(X, P[6])
230- if ((Q == 7))
231- then Y
227+ let W = J(V, N[6])
228+ if ((O == 7))
229+ then W
232230 else {
233- let Z = L(Y, P[7])
234- if ((Q == 8))
235- then Z
231+ let X = J(W, N[7])
232+ if ((O == 8))
233+ then X
236234 else {
237- let aa = L(Z, P[8])
238- if ((Q == 9))
239- then aa
235+ let Y = J(X, N[8])
236+ if ((O == 9))
237+ then Y
240238 else {
241- let ab = L(aa, P[9])
242- if ((Q == 10))
243- then ab
239+ let Z = J(Y, N[9])
240+ if ((O == 10))
241+ then Z
244242 else {
245- let ac = L(ab, P[10])
243+ let aa = J(Z, N[10])
246244 throw("List size exceed 10")
247245 }
248246 }
260258 then true
261259 else !(containsElement(k, h)))
262260 then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
263- else if (true)
264- then throw(toBase64String(o))
265- else if ((f != 10000000))
266- then throw("Cada jogada possui um valor fixo de 0.01 waves.")
267- else if ((0 >= assetBalance(e, j)))
268- then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
269- else if (if ((y == ""))
270- then true
271- else (v == ""))
272- then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", s), StringEntry(("status_" + i), "Used")]
273- else if ((p == "Used"))
274- then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
275- else {
276- let ad = if ((s > z))
277- then g
278- else v
279- let ae = if ((s > z))
280- then h
281- else y
282- let af = if ((s > z))
283- then (s - z)
284- else (z - s)
285- let ag = if ((ad == g))
286- then ((((f * 19) / 10) / 2) + u)
287- else if ((ad == v))
288- then ((((f * 19) / 10) / 2) + x)
289- else throw("Código 010105. Contate o suporte!")
290-[StringEntry("playerInTheArena", ad), StringEntry("cardInTheArena", ae), IntegerEntry("arenaCardScore", af), if ((O == 9))
291- then StringEntry(((("status_" + c) + "_1_") + g), "")
292- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
293- then StringEntry(((("status_" + c) + "_2_") + g), "")
294- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
295- then StringEntry(((("status_" + c) + "_3_") + g), "")
296- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
297- then StringEntry(((("status_" + c) + "_4_") + g), "")
298- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
299- then StringEntry(((("status_" + c) + "_5_") + g), "")
300- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
301- then StringEntry(((("status_" + c) + "_6_") + g), "")
302- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
303- then StringEntry(((("status_" + c) + "_7_") + g), "")
304- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
305- then StringEntry(((("status_" + c) + "_8_") + g), "")
306- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
307- then StringEntry(((("status_" + c) + "_9_") + g), "")
308- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
309- then StringEntry(((("status_" + c) + "_10_") + g), "")
310- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ad), ag), StringEntry(((("history_" + g) + "_") + d), ((((((((((("usedCard:" + h) + "/ cardInTheArena: ") + y) + "/ arenaCardScore:") + toString(z)) + "/ winner:") + ad) + "/ winningCard:") + ae) + "/ pointsRemainingOnWinningCard:") + toString(af))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + h) + "/ winner:") + ad) + "/ winningCard:") + ae) + "/ pointsRemainingOnWinningCard:") + toString(af))), StringEntry(("status_" + i), "Used")]
311- }
261+ else if ((f != 10000000))
262+ then throw("Cada jogada possui um valor fixo de 0.01 waves.")
263+ else if ((0 >= assetBalance(e, j)))
264+ then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
265+ else if (if ((w == ""))
266+ then true
267+ else (t == ""))
268+ then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", q), StringEntry(("status_" + i), "Used")]
269+ else if ((n == "Used"))
270+ then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
271+ else {
272+ let ab = if ((q > x))
273+ then g
274+ else t
275+ let ac = if ((q > x))
276+ then h
277+ else w
278+ let ad = if ((q > x))
279+ then (q - x)
280+ else (x - q)
281+ let ae = if ((ab == g))
282+ then ((((f * 19) / 10) / 2) + s)
283+ else if ((ab == t))
284+ then ((((f * 19) / 10) / 2) + v)
285+ else throw("Código 010105. Contate o suporte!")
286+[StringEntry("playerInTheArena", ab), StringEntry("cardInTheArena", ac), IntegerEntry("arenaCardScore", ad), if ((M == 9))
287+ then StringEntry(((("status_" + c) + "_1_") + g), "")
288+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
289+ then StringEntry(((("status_" + c) + "_2_") + g), "")
290+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
291+ then StringEntry(((("status_" + c) + "_3_") + g), "")
292+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
293+ then StringEntry(((("status_" + c) + "_4_") + g), "")
294+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
295+ then StringEntry(((("status_" + c) + "_5_") + g), "")
296+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
297+ then StringEntry(((("status_" + c) + "_6_") + g), "")
298+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
299+ then StringEntry(((("status_" + c) + "_7_") + g), "")
300+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
301+ then StringEntry(((("status_" + c) + "_8_") + g), "")
302+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
303+ then StringEntry(((("status_" + c) + "_9_") + g), "")
304+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
305+ then StringEntry(((("status_" + c) + "_10_") + g), "")
306+ 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")]
307+ }
312308 }
313309
314310
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func play (b,c) = {
88 let d = toBase58String(a.transactionId)
99 let e = a.caller
1010 let f = value(a.payments[0].amount)
1111 let g = toBase58String(a.caller.bytes)
1212 let h = ((c + "_") + b)
1313 let i = ((((c + "_") + b) + "_") + g)
1414 let j = base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY'
1515 let k = ["Undead_1", "Undead_2", "Undead_3", "Undead_4", "Undead_5", "Undead_6", "Undead_7", "Undead_8", "Undead_9", "Undead_10"]
1616 let l = ["Undead"]
1717 let m = ["6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY"]
18- let n = ScriptTransfer(Address(base58'3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx'), 1, base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5AS')
19- let o = base58'mwsu'
20- let p = {
21- let q = getString(this, ("status_" + i))
22- if ($isInstanceOf(q, "String"))
18+ let n = {
19+ let o = getString(this, ("status_" + i))
20+ if ($isInstanceOf(o, "String"))
2321 then {
24- let r = q
25- r
22+ let p = o
23+ p
2624 }
2725 else ""
2826 }
29- let s = {
30- let q = getInteger(this, h)
31- if ($isInstanceOf(q, "Int"))
27+ let q = {
28+ let o = getInteger(this, h)
29+ if ($isInstanceOf(o, "Int"))
3230 then {
33- let r = q
34- r
31+ let p = o
32+ p
3533 }
3634 else 0
3735 }
38- let t = ("balance_waves_" + g)
39- let u = {
40- let q = getInteger(this, t)
41- if ($isInstanceOf(q, "Int"))
36+ let r = ("balance_waves_" + g)
37+ let s = {
38+ let o = getInteger(this, r)
39+ if ($isInstanceOf(o, "Int"))
4240 then {
43- let r = q
44- r
41+ let p = o
42+ p
4543 }
4644 else 0
4745 }
48- let v = {
49- let q = getString(this, "playerInTheArena")
50- if ($isInstanceOf(q, "String"))
46+ let t = {
47+ let o = getString(this, "playerInTheArena")
48+ if ($isInstanceOf(o, "String"))
5149 then {
52- let r = q
53- r
50+ let p = o
51+ p
5452 }
5553 else ""
5654 }
57- let w = ("balance_waves_" + v)
58- let x = {
59- let q = getInteger(this, w)
60- if ($isInstanceOf(q, "Int"))
55+ let u = ("balance_waves_" + t)
56+ let v = {
57+ let o = getInteger(this, u)
58+ if ($isInstanceOf(o, "Int"))
6159 then {
62- let r = q
63- r
60+ let p = o
61+ p
6462 }
6563 else 0
6664 }
67- let y = {
68- let q = getString(this, "cardInTheArena")
69- if ($isInstanceOf(q, "String"))
65+ let w = {
66+ let o = getString(this, "cardInTheArena")
67+ if ($isInstanceOf(o, "String"))
7068 then {
71- let r = q
72- r
69+ let p = o
70+ p
7371 }
7472 else ""
7573 }
76- let z = {
77- let q = getInteger(this, "arenaCardScore")
78- if ($isInstanceOf(q, "Int"))
74+ let x = {
75+ let o = getInteger(this, "arenaCardScore")
76+ if ($isInstanceOf(o, "Int"))
7977 then {
80- let r = q
81- r
78+ let p = o
79+ p
8280 }
8381 else 0
8482 }
83+ let y = if (({
84+ let o = getString(this, ((("status_" + c) + "_1_") + g))
85+ if ($isInstanceOf(o, "String"))
86+ then {
87+ let p = o
88+ p
89+ }
90+ else ""
91+ } == "Used"))
92+ then 1
93+ else 0
94+ let z = if (({
95+ let o = getString(this, ((("status_" + c) + "_2_") + g))
96+ if ($isInstanceOf(o, "String"))
97+ then {
98+ let p = o
99+ p
100+ }
101+ else ""
102+ } == "Used"))
103+ then 1
104+ else 0
85105 let A = if (({
86- let q = getString(this, ((("status_" + c) + "_1_") + g))
87- if ($isInstanceOf(q, "String"))
106+ let o = getString(this, ((("status_" + c) + "_3_") + g))
107+ if ($isInstanceOf(o, "String"))
88108 then {
89- let r = q
90- r
109+ let p = o
110+ p
91111 }
92112 else ""
93113 } == "Used"))
94114 then 1
95115 else 0
96116 let B = if (({
97- let q = getString(this, ((("status_" + c) + "_2_") + g))
98- if ($isInstanceOf(q, "String"))
117+ let o = getString(this, ((("status_" + c) + "_4_") + g))
118+ if ($isInstanceOf(o, "String"))
99119 then {
100- let r = q
101- r
120+ let p = o
121+ p
102122 }
103123 else ""
104124 } == "Used"))
105125 then 1
106126 else 0
107127 let C = if (({
108- let q = getString(this, ((("status_" + c) + "_3_") + g))
109- if ($isInstanceOf(q, "String"))
128+ let o = getString(this, ((("status_" + c) + "_5_") + g))
129+ if ($isInstanceOf(o, "String"))
110130 then {
111- let r = q
112- r
131+ let p = o
132+ p
113133 }
114134 else ""
115135 } == "Used"))
116136 then 1
117137 else 0
118138 let D = if (({
119- let q = getString(this, ((("status_" + c) + "_4_") + g))
120- if ($isInstanceOf(q, "String"))
139+ let o = getString(this, ((("status_" + c) + "_6_") + g))
140+ if ($isInstanceOf(o, "String"))
121141 then {
122- let r = q
123- r
142+ let p = o
143+ p
124144 }
125145 else ""
126146 } == "Used"))
127147 then 1
128148 else 0
129149 let E = if (({
130- let q = getString(this, ((("status_" + c) + "_5_") + g))
131- if ($isInstanceOf(q, "String"))
150+ let o = getString(this, ((("status_" + c) + "_7_") + g))
151+ if ($isInstanceOf(o, "String"))
132152 then {
133- let r = q
134- r
153+ let p = o
154+ p
135155 }
136156 else ""
137157 } == "Used"))
138158 then 1
139159 else 0
140160 let F = if (({
141- let q = getString(this, ((("status_" + c) + "_6_") + g))
142- if ($isInstanceOf(q, "String"))
161+ let o = getString(this, ((("status_" + c) + "_8_") + g))
162+ if ($isInstanceOf(o, "String"))
143163 then {
144- let r = q
145- r
164+ let p = o
165+ p
146166 }
147167 else ""
148168 } == "Used"))
149169 then 1
150170 else 0
151171 let G = if (({
152- let q = getString(this, ((("status_" + c) + "_7_") + g))
153- if ($isInstanceOf(q, "String"))
172+ let o = getString(this, ((("status_" + c) + "_9_") + g))
173+ if ($isInstanceOf(o, "String"))
154174 then {
155- let r = q
156- r
175+ let p = o
176+ p
157177 }
158178 else ""
159179 } == "Used"))
160180 then 1
161181 else 0
162182 let H = if (({
163- let q = getString(this, ((("status_" + c) + "_8_") + g))
164- if ($isInstanceOf(q, "String"))
183+ let o = getString(this, ((("status_" + c) + "_10_") + g))
184+ if ($isInstanceOf(o, "String"))
165185 then {
166- let r = q
167- r
186+ let p = o
187+ p
168188 }
169189 else ""
170190 } == "Used"))
171191 then 1
172192 else 0
173- let I = if (({
174- let q = getString(this, ((("status_" + c) + "_9_") + g))
175- if ($isInstanceOf(q, "String"))
176- then {
177- let r = q
178- r
179- }
180- else ""
181- } == "Used"))
182- then 1
183- else 0
184- let J = if (({
185- let q = getString(this, ((("status_" + c) + "_10_") + g))
186- if ($isInstanceOf(q, "String"))
187- then {
188- let r = q
189- r
190- }
191- else ""
192- } == "Used"))
193- then 1
194- else 0
195- let K = [A, B, C, D, E, F, G, H, I, J]
196- func L (M,N) = (M + N)
193+ let I = [y, z, A, B, C, D, E, F, G, H]
194+ func J (K,L) = (K + L)
197195
198- let O = {
199- let P = K
200- let Q = size(P)
201- let R = 0
202- if ((Q == 0))
203- then R
196+ let M = {
197+ let N = I
198+ let O = size(N)
199+ let P = 0
200+ if ((O == 0))
201+ then P
204202 else {
205- let S = L(R, P[0])
206- if ((Q == 1))
207- then S
203+ let Q = J(P, N[0])
204+ if ((O == 1))
205+ then Q
208206 else {
209- let T = L(S, P[1])
210- if ((Q == 2))
211- then T
207+ let R = J(Q, N[1])
208+ if ((O == 2))
209+ then R
212210 else {
213- let U = L(T, P[2])
214- if ((Q == 3))
215- then U
211+ let S = J(R, N[2])
212+ if ((O == 3))
213+ then S
216214 else {
217- let V = L(U, P[3])
218- if ((Q == 4))
219- then V
215+ let T = J(S, N[3])
216+ if ((O == 4))
217+ then T
220218 else {
221- let W = L(V, P[4])
222- if ((Q == 5))
223- then W
219+ let U = J(T, N[4])
220+ if ((O == 5))
221+ then U
224222 else {
225- let X = L(W, P[5])
226- if ((Q == 6))
227- then X
223+ let V = J(U, N[5])
224+ if ((O == 6))
225+ then V
228226 else {
229- let Y = L(X, P[6])
230- if ((Q == 7))
231- then Y
227+ let W = J(V, N[6])
228+ if ((O == 7))
229+ then W
232230 else {
233- let Z = L(Y, P[7])
234- if ((Q == 8))
235- then Z
231+ let X = J(W, N[7])
232+ if ((O == 8))
233+ then X
236234 else {
237- let aa = L(Z, P[8])
238- if ((Q == 9))
239- then aa
235+ let Y = J(X, N[8])
236+ if ((O == 9))
237+ then Y
240238 else {
241- let ab = L(aa, P[9])
242- if ((Q == 10))
243- then ab
239+ let Z = J(Y, N[9])
240+ if ((O == 10))
241+ then Z
244242 else {
245- let ac = L(ab, P[10])
243+ let aa = J(Z, N[10])
246244 throw("List size exceed 10")
247245 }
248246 }
249247 }
250248 }
251249 }
252250 }
253251 }
254252 }
255253 }
256254 }
257255 }
258256 }
259257 if (if (!(containsElement(l, c)))
260258 then true
261259 else !(containsElement(k, h)))
262260 then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
263- else if (true)
264- then throw(toBase64String(o))
265- else if ((f != 10000000))
266- then throw("Cada jogada possui um valor fixo de 0.01 waves.")
267- else if ((0 >= assetBalance(e, j)))
268- then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
269- else if (if ((y == ""))
270- then true
271- else (v == ""))
272- then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", s), StringEntry(("status_" + i), "Used")]
273- else if ((p == "Used"))
274- then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
275- else {
276- let ad = if ((s > z))
277- then g
278- else v
279- let ae = if ((s > z))
280- then h
281- else y
282- let af = if ((s > z))
283- then (s - z)
284- else (z - s)
285- let ag = if ((ad == g))
286- then ((((f * 19) / 10) / 2) + u)
287- else if ((ad == v))
288- then ((((f * 19) / 10) / 2) + x)
289- else throw("Código 010105. Contate o suporte!")
290-[StringEntry("playerInTheArena", ad), StringEntry("cardInTheArena", ae), IntegerEntry("arenaCardScore", af), if ((O == 9))
291- then StringEntry(((("status_" + c) + "_1_") + g), "")
292- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
293- then StringEntry(((("status_" + c) + "_2_") + g), "")
294- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
295- then StringEntry(((("status_" + c) + "_3_") + g), "")
296- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
297- then StringEntry(((("status_" + c) + "_4_") + g), "")
298- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
299- then StringEntry(((("status_" + c) + "_5_") + g), "")
300- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
301- then StringEntry(((("status_" + c) + "_6_") + g), "")
302- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
303- then StringEntry(((("status_" + c) + "_7_") + g), "")
304- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
305- then StringEntry(((("status_" + c) + "_8_") + g), "")
306- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
307- then StringEntry(((("status_" + c) + "_9_") + g), "")
308- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((O == 9))
309- then StringEntry(((("status_" + c) + "_10_") + g), "")
310- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ad), ag), StringEntry(((("history_" + g) + "_") + d), ((((((((((("usedCard:" + h) + "/ cardInTheArena: ") + y) + "/ arenaCardScore:") + toString(z)) + "/ winner:") + ad) + "/ winningCard:") + ae) + "/ pointsRemainingOnWinningCard:") + toString(af))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + h) + "/ winner:") + ad) + "/ winningCard:") + ae) + "/ pointsRemainingOnWinningCard:") + toString(af))), StringEntry(("status_" + i), "Used")]
311- }
261+ else if ((f != 10000000))
262+ then throw("Cada jogada possui um valor fixo de 0.01 waves.")
263+ else if ((0 >= assetBalance(e, j)))
264+ then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
265+ else if (if ((w == ""))
266+ then true
267+ else (t == ""))
268+ then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", q), StringEntry(("status_" + i), "Used")]
269+ else if ((n == "Used"))
270+ then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
271+ else {
272+ let ab = if ((q > x))
273+ then g
274+ else t
275+ let ac = if ((q > x))
276+ then h
277+ else w
278+ let ad = if ((q > x))
279+ then (q - x)
280+ else (x - q)
281+ let ae = if ((ab == g))
282+ then ((((f * 19) / 10) / 2) + s)
283+ else if ((ab == t))
284+ then ((((f * 19) / 10) / 2) + v)
285+ else throw("Código 010105. Contate o suporte!")
286+[StringEntry("playerInTheArena", ab), StringEntry("cardInTheArena", ac), IntegerEntry("arenaCardScore", ad), if ((M == 9))
287+ then StringEntry(((("status_" + c) + "_1_") + g), "")
288+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
289+ then StringEntry(((("status_" + c) + "_2_") + g), "")
290+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
291+ then StringEntry(((("status_" + c) + "_3_") + g), "")
292+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
293+ then StringEntry(((("status_" + c) + "_4_") + g), "")
294+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
295+ then StringEntry(((("status_" + c) + "_5_") + g), "")
296+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
297+ then StringEntry(((("status_" + c) + "_6_") + g), "")
298+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
299+ then StringEntry(((("status_" + c) + "_7_") + g), "")
300+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
301+ then StringEntry(((("status_" + c) + "_8_") + g), "")
302+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
303+ then StringEntry(((("status_" + c) + "_9_") + g), "")
304+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9))
305+ then StringEntry(((("status_" + c) + "_10_") + g), "")
306+ 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")]
307+ }
312308 }
313309
314310

github/deemru/w8io/169f3d6 
97.05 ms