tx · HQ24TL6vk42KutiY1mHLzeCxVAXmnFPPnT4yQQTHjP5

3N8yhbgiVQSoN23tkgVCbyJm7mcUkAkZUnT:  -0.01000000 Waves

2021.08.01 01:14 [1638395] smart account 3N8yhbgiVQSoN23tkgVCbyJm7mcUkAkZUnT > SELF 0.00000000 Waves

{ "type": 13, "id": "HQ24TL6vk42KutiY1mHLzeCxVAXmnFPPnT4yQQTHjP5", "fee": 1000000, "feeAssetId": null, "timestamp": 1627769687556, "version": 2, "chainId": 84, "sender": "3N8yhbgiVQSoN23tkgVCbyJm7mcUkAkZUnT", "senderPublicKey": "CuwzjevdV5RCgwvv5RmXDzzqYaRvw3V21dJL7FH9gpLj", "proofs": [ "2dWJFb2iTarNVXmZs9yMYuHzUkt8mWRcgiDVCPWp1BqQJGYiS1oJrLKPDU9781hpn38nxX6neXNSmZ55AKaF4EUe" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlbnRLZXlCeXR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3", "height": 1638395, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Dy26oLihexz5CWTUWpjNWKC4oa8QB2FQRenbodPD3vL Next: 5atFe3ZMMhEN7k36rEeKa7NzXMjzGZZkDc3nEDAW5f8h Diff:
OldNewDifferences
263263 }
264264 }
265265 }
266- if (if (!(containsElement(l, c)))
267- then true
268- else !(containsElement(k, h)))
269- then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
270- else if ((f != 10000000))
271- then throw("Cada jogada possui um valor fixo de 0.1 waves.")
272- else if ((0 >= assetBalance(e, j)))
273- then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
274- else if (if ((x == ""))
275- then true
276- else (u == ""))
277- then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", r), StringEntry(("status_" + i), "Used")]
278- else if ((q == "Used"))
279- then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
280- else {
281- let ac = if ((r > y))
282- then g
283- else u
284- let ad = if ((y > r))
285- then g
286- else if ((r > y))
287- then u
288- else g
289- let ae = if ((r > y))
290- then h
291- else x
292- let af = if ((y > r))
293- then h
294- else if ((r > y))
295- then x
296- else g
297- let ag = if ((r > y))
298- then (r - y)
299- else (y - r)
300- let ah = if ((ac == g))
301- then ((((f * 19) / 10) / 2) + t)
302- else if ((ac == u))
303- then ((((f * 19) / 10) / 2) + w)
304- else throw("Código 010105. Contate o suporte!")
305- let ai = (((f * 19) / 10) / 2)
306- let aj = 0
307- let ak = (n + 1)
266+ if ((c == "Undead Cards"))
267+ then [ScriptTransfer(e, 1, j)]
268+ else if (if (!(containsElement(l, c)))
269+ then true
270+ else !(containsElement(k, h)))
271+ then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
272+ else if ((f != 10000000))
273+ then throw("Cada jogada possui um valor fixo de 0.1 waves.")
274+ else if ((0 >= assetBalance(e, j)))
275+ then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
276+ else if (if ((x == ""))
277+ then true
278+ else (u == ""))
279+ then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", r), StringEntry(("status_" + i), "Used")]
280+ else if ((q == "Used"))
281+ then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
282+ else {
283+ let ac = if ((r > y))
284+ then g
285+ else u
286+ let ad = if ((y > r))
287+ then g
288+ else if ((r > y))
289+ then u
290+ else g
291+ let ae = if ((r > y))
292+ then h
293+ else x
294+ let af = if ((y > r))
295+ then h
296+ else if ((r > y))
297+ then x
298+ else g
299+ let ag = if ((r > y))
300+ then (r - y)
301+ else (y - r)
302+ let ah = if ((ac == g))
303+ then ((((f * 19) / 10) / 2) + t)
304+ else if ((ac == u))
305+ then ((((f * 19) / 10) / 2) + w)
306+ else throw("Código 010105. Contate o suporte!")
307+ let ai = (((f * 19) / 10) / 2)
308+ let aj = 0
309+ let ak = (n + 1)
308310 [StringEntry("playerInTheArena", ac), StringEntry("cardInTheArena", ae), IntegerEntry("arenaCardScore", ag), if ((N == 9))
309- then StringEntry(((("status_" + c) + "_100_") + g), "")
310- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
311- then StringEntry(((("status_" + c) + "_200_") + g), "")
312- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
313- then StringEntry(((("status_" + c) + "_300_") + g), "")
314- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
315- then StringEntry(((("status_" + c) + "_400_") + g), "")
316- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
317- then StringEntry(((("status_" + c) + "_500_") + g), "")
318- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
319- then StringEntry(((("status_" + c) + "_600_") + g), "")
320- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
321- then StringEntry(((("status_" + c) + "_700_") + g), "")
322- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
323- then StringEntry(((("status_" + c) + "_800_") + g), "")
324- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
325- then StringEntry(((("status_" + c) + "_900_") + g), "")
326- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
327- then StringEntry(((("status_" + c) + "_1000_") + g), "")
328- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ac), ah), StringEntry(((((((("history_" + g) + "_") + u) + "_") + d) + "_") + toString(ak)), (((((((((((((((((((((((((((("{\"historicId\": \"" + toString(ak)) + "\", \"transactionId\": \"") + d) + "\", \"playerAttack\": \"") + g) + "\", \"playerInTheArena\": \"") + u) + "\", \"usedCard\": \"") + h) + "\", \"cardInTheArena\": \"") + x) + "\", \"arenaCardScore\": \"") + toString(y)) + "\", \"winner\": \"") + ac) + "\", \"winningCard\": \"") + ae) + "\", \"defeated\": \"") + ad) + "\", \"defeatedCard\": \"") + af) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(ag)) + "\", \"winReward\": \"") + toString(ai)) + "\", \"defeatReward\": \"") + toString(aj)) + "\"}")), StringEntry(("status_" + i), "Used"), DeleteEntry("history_3N15bPRtX127MXJ3TAuerRbdgmNJPrGrbj6_3N62yyXbLXB6ptVkBX2k8V2chVbTy7Rsugd_BJNDhAcdcdJnx8YX1YUdA1kuPFd9Ja8NSNCKuDM72qnR_9"), DeleteEntry("history_3N62yyXbLXB6ptVkBX2k8V2chVbTy7Rsugd_3N15bPRtX127MXJ3TAuerRbdgmNJPrGrbj6_8ot6FpU7m3EdEz5DowJt1DNfn8N1HsZzhHoTcchziNLq_8"), IntegerEntry("historicId", ak)]
329- }
311+ then StringEntry(((("status_" + c) + "_100_") + g), "")
312+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
313+ then StringEntry(((("status_" + c) + "_200_") + g), "")
314+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
315+ then StringEntry(((("status_" + c) + "_300_") + g), "")
316+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
317+ then StringEntry(((("status_" + c) + "_400_") + g), "")
318+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
319+ then StringEntry(((("status_" + c) + "_500_") + g), "")
320+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
321+ then StringEntry(((("status_" + c) + "_600_") + g), "")
322+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
323+ then StringEntry(((("status_" + c) + "_700_") + g), "")
324+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
325+ then StringEntry(((("status_" + c) + "_800_") + g), "")
326+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
327+ then StringEntry(((("status_" + c) + "_900_") + g), "")
328+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
329+ then StringEntry(((("status_" + c) + "_1000_") + g), "")
330+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ac), ah), StringEntry(((((((("history_" + g) + "_") + u) + "_") + d) + "_") + toString(ak)), (((((((((((((((((((((((((((("{\"historicId\": \"" + toString(ak)) + "\", \"transactionId\": \"") + d) + "\", \"playerAttack\": \"") + g) + "\", \"playerInTheArena\": \"") + u) + "\", \"usedCard\": \"") + h) + "\", \"cardInTheArena\": \"") + x) + "\", \"arenaCardScore\": \"") + toString(y)) + "\", \"winner\": \"") + ac) + "\", \"winningCard\": \"") + ae) + "\", \"defeated\": \"") + ad) + "\", \"defeatedCard\": \"") + af) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(ag)) + "\", \"winReward\": \"") + toString(ai)) + "\", \"defeatReward\": \"") + toString(aj)) + "\"}")), StringEntry(("status_" + i), "Used"), IntegerEntry("historicId", ak)]
331+ }
330332 }
331333
332334
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'AYNhdXWw3qmAWqkJMQfKyLBRQpkaPPkP8jjNzMb8V5cd'
1515 let k = ["Undead_100", "Undead_200", "Undead_300", "Undead_400", "Undead_500", "Undead_600", "Undead_700", "Undead_800", "Undead_900", "Undead_1000"]
1616 let l = ["Undead"]
1717 let m = ["AYNhdXWw3qmAWqkJMQfKyLBRQpkaPPkP8jjNzMb8V5cd"]
1818 let n = {
1919 let o = getInteger(this, "historicId")
2020 if ($isInstanceOf(o, "Int"))
2121 then {
2222 let p = o
2323 p
2424 }
2525 else 0
2626 }
2727 let q = {
2828 let o = getString(this, ("status_" + i))
2929 if ($isInstanceOf(o, "String"))
3030 then {
3131 let p = o
3232 p
3333 }
3434 else ""
3535 }
3636 let r = {
3737 let o = getInteger(this, h)
3838 if ($isInstanceOf(o, "Int"))
3939 then {
4040 let p = o
4141 p
4242 }
4343 else 0
4444 }
4545 let s = ("balance_waves_" + g)
4646 let t = {
4747 let o = getInteger(this, s)
4848 if ($isInstanceOf(o, "Int"))
4949 then {
5050 let p = o
5151 p
5252 }
5353 else 0
5454 }
5555 let u = {
5656 let o = getString(this, "playerInTheArena")
5757 if ($isInstanceOf(o, "String"))
5858 then {
5959 let p = o
6060 p
6161 }
6262 else ""
6363 }
6464 let v = ("balance_waves_" + u)
6565 let w = {
6666 let o = getInteger(this, v)
6767 if ($isInstanceOf(o, "Int"))
6868 then {
6969 let p = o
7070 p
7171 }
7272 else 0
7373 }
7474 let x = {
7575 let o = getString(this, "cardInTheArena")
7676 if ($isInstanceOf(o, "String"))
7777 then {
7878 let p = o
7979 p
8080 }
8181 else ""
8282 }
8383 let y = {
8484 let o = getInteger(this, "arenaCardScore")
8585 if ($isInstanceOf(o, "Int"))
8686 then {
8787 let p = o
8888 p
8989 }
9090 else 0
9191 }
9292 let z = if (({
9393 let o = getString(this, ((("status_" + c) + "_100_") + g))
9494 if ($isInstanceOf(o, "String"))
9595 then {
9696 let p = o
9797 p
9898 }
9999 else ""
100100 } == "Used"))
101101 then 1
102102 else 0
103103 let A = if (({
104104 let o = getString(this, ((("status_" + c) + "_200_") + g))
105105 if ($isInstanceOf(o, "String"))
106106 then {
107107 let p = o
108108 p
109109 }
110110 else ""
111111 } == "Used"))
112112 then 1
113113 else 0
114114 let B = if (({
115115 let o = getString(this, ((("status_" + c) + "_300_") + g))
116116 if ($isInstanceOf(o, "String"))
117117 then {
118118 let p = o
119119 p
120120 }
121121 else ""
122122 } == "Used"))
123123 then 1
124124 else 0
125125 let C = if (({
126126 let o = getString(this, ((("status_" + c) + "_400_") + g))
127127 if ($isInstanceOf(o, "String"))
128128 then {
129129 let p = o
130130 p
131131 }
132132 else ""
133133 } == "Used"))
134134 then 1
135135 else 0
136136 let D = if (({
137137 let o = getString(this, ((("status_" + c) + "_500_") + g))
138138 if ($isInstanceOf(o, "String"))
139139 then {
140140 let p = o
141141 p
142142 }
143143 else ""
144144 } == "Used"))
145145 then 1
146146 else 0
147147 let E = if (({
148148 let o = getString(this, ((("status_" + c) + "_600_") + g))
149149 if ($isInstanceOf(o, "String"))
150150 then {
151151 let p = o
152152 p
153153 }
154154 else ""
155155 } == "Used"))
156156 then 1
157157 else 0
158158 let F = if (({
159159 let o = getString(this, ((("status_" + c) + "_700_") + g))
160160 if ($isInstanceOf(o, "String"))
161161 then {
162162 let p = o
163163 p
164164 }
165165 else ""
166166 } == "Used"))
167167 then 1
168168 else 0
169169 let G = if (({
170170 let o = getString(this, ((("status_" + c) + "_800_") + g))
171171 if ($isInstanceOf(o, "String"))
172172 then {
173173 let p = o
174174 p
175175 }
176176 else ""
177177 } == "Used"))
178178 then 1
179179 else 0
180180 let H = if (({
181181 let o = getString(this, ((("status_" + c) + "_900_") + g))
182182 if ($isInstanceOf(o, "String"))
183183 then {
184184 let p = o
185185 p
186186 }
187187 else ""
188188 } == "Used"))
189189 then 1
190190 else 0
191191 let I = if (({
192192 let o = getString(this, ((("status_" + c) + "_1000_") + g))
193193 if ($isInstanceOf(o, "String"))
194194 then {
195195 let p = o
196196 p
197197 }
198198 else ""
199199 } == "Used"))
200200 then 1
201201 else 0
202202 let J = [z, A, B, C, D, E, F, G, H, I]
203203 func K (L,M) = (L + M)
204204
205205 let N = {
206206 let O = J
207207 let P = size(O)
208208 let Q = 0
209209 if ((P == 0))
210210 then Q
211211 else {
212212 let R = K(Q, O[0])
213213 if ((P == 1))
214214 then R
215215 else {
216216 let S = K(R, O[1])
217217 if ((P == 2))
218218 then S
219219 else {
220220 let T = K(S, O[2])
221221 if ((P == 3))
222222 then T
223223 else {
224224 let U = K(T, O[3])
225225 if ((P == 4))
226226 then U
227227 else {
228228 let V = K(U, O[4])
229229 if ((P == 5))
230230 then V
231231 else {
232232 let W = K(V, O[5])
233233 if ((P == 6))
234234 then W
235235 else {
236236 let X = K(W, O[6])
237237 if ((P == 7))
238238 then X
239239 else {
240240 let Y = K(X, O[7])
241241 if ((P == 8))
242242 then Y
243243 else {
244244 let Z = K(Y, O[8])
245245 if ((P == 9))
246246 then Z
247247 else {
248248 let aa = K(Z, O[9])
249249 if ((P == 10))
250250 then aa
251251 else {
252252 let ab = K(aa, O[10])
253253 throw("List size exceed 10")
254254 }
255255 }
256256 }
257257 }
258258 }
259259 }
260260 }
261261 }
262262 }
263263 }
264264 }
265265 }
266- if (if (!(containsElement(l, c)))
267- then true
268- else !(containsElement(k, h)))
269- then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
270- else if ((f != 10000000))
271- then throw("Cada jogada possui um valor fixo de 0.1 waves.")
272- else if ((0 >= assetBalance(e, j)))
273- then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
274- else if (if ((x == ""))
275- then true
276- else (u == ""))
277- then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", r), StringEntry(("status_" + i), "Used")]
278- else if ((q == "Used"))
279- then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
280- else {
281- let ac = if ((r > y))
282- then g
283- else u
284- let ad = if ((y > r))
285- then g
286- else if ((r > y))
287- then u
288- else g
289- let ae = if ((r > y))
290- then h
291- else x
292- let af = if ((y > r))
293- then h
294- else if ((r > y))
295- then x
296- else g
297- let ag = if ((r > y))
298- then (r - y)
299- else (y - r)
300- let ah = if ((ac == g))
301- then ((((f * 19) / 10) / 2) + t)
302- else if ((ac == u))
303- then ((((f * 19) / 10) / 2) + w)
304- else throw("Código 010105. Contate o suporte!")
305- let ai = (((f * 19) / 10) / 2)
306- let aj = 0
307- let ak = (n + 1)
266+ if ((c == "Undead Cards"))
267+ then [ScriptTransfer(e, 1, j)]
268+ else if (if (!(containsElement(l, c)))
269+ then true
270+ else !(containsElement(k, h)))
271+ then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
272+ else if ((f != 10000000))
273+ then throw("Cada jogada possui um valor fixo de 0.1 waves.")
274+ else if ((0 >= assetBalance(e, j)))
275+ then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
276+ else if (if ((x == ""))
277+ then true
278+ else (u == ""))
279+ then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", r), StringEntry(("status_" + i), "Used")]
280+ else if ((q == "Used"))
281+ then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
282+ else {
283+ let ac = if ((r > y))
284+ then g
285+ else u
286+ let ad = if ((y > r))
287+ then g
288+ else if ((r > y))
289+ then u
290+ else g
291+ let ae = if ((r > y))
292+ then h
293+ else x
294+ let af = if ((y > r))
295+ then h
296+ else if ((r > y))
297+ then x
298+ else g
299+ let ag = if ((r > y))
300+ then (r - y)
301+ else (y - r)
302+ let ah = if ((ac == g))
303+ then ((((f * 19) / 10) / 2) + t)
304+ else if ((ac == u))
305+ then ((((f * 19) / 10) / 2) + w)
306+ else throw("Código 010105. Contate o suporte!")
307+ let ai = (((f * 19) / 10) / 2)
308+ let aj = 0
309+ let ak = (n + 1)
308310 [StringEntry("playerInTheArena", ac), StringEntry("cardInTheArena", ae), IntegerEntry("arenaCardScore", ag), if ((N == 9))
309- then StringEntry(((("status_" + c) + "_100_") + g), "")
310- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
311- then StringEntry(((("status_" + c) + "_200_") + g), "")
312- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
313- then StringEntry(((("status_" + c) + "_300_") + g), "")
314- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
315- then StringEntry(((("status_" + c) + "_400_") + g), "")
316- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
317- then StringEntry(((("status_" + c) + "_500_") + g), "")
318- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
319- then StringEntry(((("status_" + c) + "_600_") + g), "")
320- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
321- then StringEntry(((("status_" + c) + "_700_") + g), "")
322- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
323- then StringEntry(((("status_" + c) + "_800_") + g), "")
324- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
325- then StringEntry(((("status_" + c) + "_900_") + g), "")
326- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
327- then StringEntry(((("status_" + c) + "_1000_") + g), "")
328- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ac), ah), StringEntry(((((((("history_" + g) + "_") + u) + "_") + d) + "_") + toString(ak)), (((((((((((((((((((((((((((("{\"historicId\": \"" + toString(ak)) + "\", \"transactionId\": \"") + d) + "\", \"playerAttack\": \"") + g) + "\", \"playerInTheArena\": \"") + u) + "\", \"usedCard\": \"") + h) + "\", \"cardInTheArena\": \"") + x) + "\", \"arenaCardScore\": \"") + toString(y)) + "\", \"winner\": \"") + ac) + "\", \"winningCard\": \"") + ae) + "\", \"defeated\": \"") + ad) + "\", \"defeatedCard\": \"") + af) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(ag)) + "\", \"winReward\": \"") + toString(ai)) + "\", \"defeatReward\": \"") + toString(aj)) + "\"}")), StringEntry(("status_" + i), "Used"), DeleteEntry("history_3N15bPRtX127MXJ3TAuerRbdgmNJPrGrbj6_3N62yyXbLXB6ptVkBX2k8V2chVbTy7Rsugd_BJNDhAcdcdJnx8YX1YUdA1kuPFd9Ja8NSNCKuDM72qnR_9"), DeleteEntry("history_3N62yyXbLXB6ptVkBX2k8V2chVbTy7Rsugd_3N15bPRtX127MXJ3TAuerRbdgmNJPrGrbj6_8ot6FpU7m3EdEz5DowJt1DNfn8N1HsZzhHoTcchziNLq_8"), IntegerEntry("historicId", ak)]
329- }
311+ then StringEntry(((("status_" + c) + "_100_") + g), "")
312+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
313+ then StringEntry(((("status_" + c) + "_200_") + g), "")
314+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
315+ then StringEntry(((("status_" + c) + "_300_") + g), "")
316+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
317+ then StringEntry(((("status_" + c) + "_400_") + g), "")
318+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
319+ then StringEntry(((("status_" + c) + "_500_") + g), "")
320+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
321+ then StringEntry(((("status_" + c) + "_600_") + g), "")
322+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
323+ then StringEntry(((("status_" + c) + "_700_") + g), "")
324+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
325+ then StringEntry(((("status_" + c) + "_800_") + g), "")
326+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
327+ then StringEntry(((("status_" + c) + "_900_") + g), "")
328+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((N == 9))
329+ then StringEntry(((("status_" + c) + "_1000_") + g), "")
330+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ac), ah), StringEntry(((((((("history_" + g) + "_") + u) + "_") + d) + "_") + toString(ak)), (((((((((((((((((((((((((((("{\"historicId\": \"" + toString(ak)) + "\", \"transactionId\": \"") + d) + "\", \"playerAttack\": \"") + g) + "\", \"playerInTheArena\": \"") + u) + "\", \"usedCard\": \"") + h) + "\", \"cardInTheArena\": \"") + x) + "\", \"arenaCardScore\": \"") + toString(y)) + "\", \"winner\": \"") + ac) + "\", \"winningCard\": \"") + ae) + "\", \"defeated\": \"") + ad) + "\", \"defeatedCard\": \"") + af) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(ag)) + "\", \"winReward\": \"") + toString(ai)) + "\", \"defeatReward\": \"") + toString(aj)) + "\"}")), StringEntry(("status_" + i), "Used"), IntegerEntry("historicId", ak)]
331+ }
330332 }
331333
332334

github/deemru/w8io/169f3d6 
69.34 ms