tx · GkUWfzh6oTPA3YEkuSHz5peHmCN3DdZA7NLiZzXmzAzR

3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c:  -0.01400000 Waves

2022.02.04 17:33 [1909000] smart account 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c > SELF 0.00000000 Waves

{ "type": 13, "id": "GkUWfzh6oTPA3YEkuSHz5peHmCN3DdZA7NLiZzXmzAzR", "fee": 1400000, "feeAssetId": null, "timestamp": 1643985232239, "version": 2, "chainId": 84, "sender": "3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c", "senderPublicKey": "5VeehaC8J2hY5k7GyMevtfCSC4on8kxpPvqqQqNe5erh", "proofs": [ "2swzkbLVkWZycNCkaee4FJVFo7zZS1AQQwyDRDWgqeiUCDZvsSv52JvPQZNX7CbSuimUSY6uE7ZFcwjuqixT46zr" ], "script": "base64:AAIFAAAAAAAAAAwIAhIICgYIAQEBAQEAAABGAAAAAAZwYXJhbXMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNOMmpaYUgxakxaNXVoS2tOaWs2Z2VBNTdIek1Hdzk4aWdSAAAAAA1rZXlJbml0VjFEb25lAgAAAAxpbml0X3YxX2RvbmUAAAAACmtleVRva2VuSWQCAAAAB3Rva2VuSWQAAAAAG2tleUluaXRpYWxDaGFyQ3JlYXRpb25TdGF0cwIAAAAYaW5pdGlhbENoYXJDcmVhdGlvblN0YXRzAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAEGtleUl0ZW1zSWRzQ291bnQCAAAADWl0ZW1zSWRzQ291bnQAAAAAEWtleVNwZWxsc0lkc0NvdW50AgAAAA5zcGVsbHNJZHNDb3VudAAAAAAPa2V5TW9ic0lkc0NvdW50AgAAAAxtb2JzSWRzQ291bnQAAAAAC2tleUl0ZW1UeXBlAgAAAAhpdGVtVHlwZQAAAAAQa2V5SXRlbVN0YXQxVHlwZQIAAAANaXRlbVN0YXQxVHlwZQAAAAAQa2V5SXRlbVN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BlclJhbmsFAAAACWNoYXJJZFN0cgUAAAAFdGVycmEJAARMAAAAAgUAAAAJY2hhcklzc3VlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQUAAAAGY2hhcklkBQAAAANuaWwFAAAACG1vYkVudHJ5AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmiHb/u", "height": 1909000, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F59mCSN2X2hQBGDeGNCtK1W8cHebNKS47vW5WTy5eV2R Next: none Diff:
OldNewDifferences
132132 func with (str1,str2) = ((str1 + separator) + str2)
133133
134134
135-func getCurrentRandHash (txId) = sha256((value(value(blockInfoByHeight(height)).vrf) + txId))
135+func generateRandHash (nonce,txId) = sha256_16Kb(((value(value(blockInfoByHeight(height)).vrf) + txId) + toBytes(nonce)))
136136
137137
138138 func randInt (min,max,randHash,nonce) = ((toInt(randHash, nonce) % ((max - min) + 1)) + min)
139139
140140
141-func generateItem (type,itemId,randHash,currentNonce) = {
141+func generateItem (type,itemId,txId) = {
142142 let statsRange = [[1, 5], [5, 25], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [5, 15], [5, 15], [5, 15], [1, 5], [5, 10]]
143143 let statsAvailable = if ((type == 0))
144144 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14]
148148 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
149149 else throw("Unknown item type")
150150 let statsAmount = size(statsAvailable)
151- let s1 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 1))]
152- let s2 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 2))]
153- let s3 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 3))]
154- let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 4))
155- let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 5))
156- let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 6))
151+ let randHash = generateRandHash(1, txId)
152+ let s1 = statsAvailable[randInt(0, (statsAmount - 1), randHash, 0)]
153+ let s2 = statsAvailable[randInt(0, (statsAmount - 1), randHash, 1)]
154+ let s3 = statsAvailable[randInt(0, (statsAmount - 1), randHash, 2)]
155+ let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, 3)
156+ let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, 4)
157+ let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, 5)
157158 let itemIdStr = toString(itemId)
158159 [IntegerEntry(with(keyItemType, itemIdStr), type), IntegerEntry(with(keyItemStat1Type, itemIdStr), s1), IntegerEntry(with(keyItemStat2Type, itemIdStr), s2), IntegerEntry(with(keyItemStat3Type, itemIdStr), s3), IntegerEntry(with(keyItemStat1Value, itemIdStr), v1), IntegerEntry(with(keyItemStat2Value, itemIdStr), v2), IntegerEntry(with(keyItemStat3Value, itemIdStr), v3)]
159160 }
160161
161162
162-func generateSpell (spellId,randHash,currentNonce) = {
163+func generateSpell (spellId,txId) = {
163164 let statsRange = [[1, 5], [5, 25], [100, 200], [100, 150], [1, 5], [1, 5], [1, 5], [1, 5], [5, 10]]
164- let dmgType = randInt(0, 3, randHash, (currentNonce + 1))
165- let dmgMinRange = randInt(200, 250, randHash, (currentNonce + 2))
166- let dmgMaxRange = randInt(251, 400, randHash, (currentNonce + 3))
167- let s1 = randInt(0, 8, randHash, (currentNonce + 4))
168- let s2 = randInt(0, 8, randHash, (currentNonce + 5))
169- let s3 = randInt(0, 8, randHash, (currentNonce + 6))
170- let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 7))
171- let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 8))
172- let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 9))
165+ let randHash = generateRandHash(2, txId)
166+ let dmgType = randInt(0, 3, randHash, 0)
167+ let dmgMinRange = randInt(200, 250, randHash, 1)
168+ let dmgMaxRange = randInt(251, 400, randHash, 2)
169+ let s1 = randInt(0, 8, randHash, 3)
170+ let s2 = randInt(0, 8, randHash, 4)
171+ let s3 = randInt(0, 8, randHash, 5)
172+ let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, 6)
173+ let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, 7)
174+ let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, 8)
173175 let spellIdStr = toString(spellId)
174176 [IntegerEntry(with(keySpellDmgType, spellIdStr), dmgType), IntegerEntry(with(keySpellMinDmg, spellIdStr), dmgMinRange), IntegerEntry(with(keySpellMaxDmg, spellIdStr), dmgMaxRange), IntegerEntry(with(keySpellStat1Type, spellIdStr), s1), IntegerEntry(with(keySpellStat2Type, spellIdStr), s2), IntegerEntry(with(keySpellStat3Type, spellIdStr), s3), IntegerEntry(with(keySpellStat1Value, spellIdStr), v1), IntegerEntry(with(keySpellStat2Value, spellIdStr), v2), IntegerEntry(with(keySpellStat3Value, spellIdStr), v3)]
175177 }
176178
177179
178-func generateMobEntry (randHash,currentNonce) = {
179- let currentItemId = 0
180- let currentSpellId = 0
181- let currentMobId = 0
180+func generateMobEntry (txId) = {
181+ let currentItemId = valueOrElse(getInteger(this, keyItemsIdsCount), 0)
182+ let currentSpellId = valueOrElse(getInteger(this, keySpellsIdsCount), 0)
183+ let currentMobId = valueOrElse(getInteger(this, keyMobsIdsCount), 0)
182184 let currentMobIdStr = toString(currentMobId)
183- let mobHealth = randInt(1000, 1500, randHash, 25)
184-[IntegerEntry(with(keyMobMaxHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobStaffId, currentMobIdStr), currentItemId), IntegerEntry(with(keyMobRobeId, currentMobIdStr), (currentItemId + 1)), IntegerEntry(with(keyMobRingId, currentMobIdStr), (currentItemId + 2)), IntegerEntry(with(keyMobSpell1Id, currentMobIdStr), currentSpellId), IntegerEntry(with(keyMobSpell2Id, currentMobIdStr), (currentSpellId + 1)), IntegerEntry(with(keyMobSpell3Id, currentMobIdStr), (currentSpellId + 2)), IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))]
185+ let randHash = generateRandHash(3, txId)
186+ let staff = generateItem(0, currentItemId, txId)
187+ let robe = generateItem(1, (currentItemId + 1), txId)
188+ let ring = generateItem(2, (currentItemId + 2), txId)
189+ let spell1 = generateSpell(currentSpellId, txId)
190+ let spell2 = generateSpell((currentSpellId + 1), txId)
191+ let spell3 = generateSpell((currentSpellId + 2), txId)
192+ let mobHealth = randInt(1000, 1500, randHash, 0)
193+ let mobExp = randInt(100, 200, randHash, 1)
194+ let mobGold = randInt(500, 2000, randHash, 2)
195+ let mobLootChance = randInt(5, 20, randHash, 3)
196+ (((((([IntegerEntry(with(keyMobCurrentHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobMaxHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobExpPoints, currentMobIdStr), mobExp), IntegerEntry(with(keyMobGold, currentMobIdStr), mobGold), IntegerEntry(with(keyMobLootChance, currentMobIdStr), mobLootChance), IntegerEntry(with(keyMobStaffId, currentMobIdStr), currentItemId), IntegerEntry(with(keyMobRobeId, currentMobIdStr), (currentItemId + 1)), IntegerEntry(with(keyMobRingId, currentMobIdStr), (currentItemId + 2)), IntegerEntry(with(keyMobSpell1Id, currentMobIdStr), currentSpellId), IntegerEntry(with(keyMobSpell2Id, currentMobIdStr), (currentSpellId + 1)), IntegerEntry(with(keyMobSpell3Id, currentMobIdStr), (currentSpellId + 2)), IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))] ++ staff) ++ robe) ++ ring) ++ spell1) ++ spell2) ++ spell3)
185197 }
186198
187199
235247 let charIssue = Issue(name, "", 1, 0, false, unit, 0)
236248 let charId = calculateAssetId(charIssue)
237249 let charIdStr = toBase58String(charId)
238- let randHash = getCurrentRandHash(i.transactionId)
250+ let randHash = generateRandHash(4, i.transactionId)
239251 let minHealth = parseIntValue(initialStats[3])
240252 let maxHealth = parseIntValue(initialStats[4])
241253 let randHealth = (parseIntValue(initialStats[2]) + randInt(minHealth, maxHealth, randHash, 0))
256268 let randAqua = randInt(minAqua, aqua, randHash, 6)
257269 let minTerra = parseIntValue(initialStats[17])
258270 let randTerra = randInt(minTerra, terra, randHash, 7)
259- let mobEntry = generateMobEntry(randHash, 100)
271+ let mobEntry = generateMobEntry(i.transactionId)
260272 ([StringEntry(with(keyName, charIdStr), name), IntegerEntry(with(keySex, charIdStr), sex), IntegerEntry(with(keyRank, charIdStr), 1), IntegerEntry(with(keyHealthCurrent, charIdStr), randHealth), IntegerEntry(with(keyHealthMax, charIdStr), randHealth), IntegerEntry(with(keyMinHealthPerRank, charIdStr), minHealth), IntegerEntry(with(keyMaxHealthPerRank, charIdStr), minHealth), IntegerEntry(with(keyHealthRegen, charIdStr), randHealthRegen), IntegerEntry(with(keyMinHealthRegenPerRank, charIdStr), minHealthRegen), IntegerEntry(with(keyMaxHealthRegenPerRank, charIdStr), maxHealthRegen), IntegerEntry(with(keyManaCurrent, charIdStr), randMana), IntegerEntry(with(keyManaMax, charIdStr), randMana), IntegerEntry(with(keyMinManaPerRank, charIdStr), minMana), IntegerEntry(with(keyMaxManaPerRank, charIdStr), maxMana), IntegerEntry(with(keyManaRegen, charIdStr), randManaRegen), IntegerEntry(with(keyMinManaRegenPerRank, charIdStr), minManaRegen), IntegerEntry(with(keyMaxManaRegenPerRank, charIdStr), maxManaRegen), IntegerEntry(with(keyPyro, charIdStr), randPyro), IntegerEntry(with(keyMinPyroPerRank, charIdStr), minPyro), IntegerEntry(with(keyMaxPyroPerRank, charIdStr), pyro), IntegerEntry(with(keyAero, charIdStr), randAero), IntegerEntry(with(keyMinAeroPerRank, charIdStr), minAero), IntegerEntry(with(keyMaxAeroPerRank, charIdStr), aero), IntegerEntry(with(keyAqua, charIdStr), randAqua), IntegerEntry(with(keyMinAquaPerRank, charIdStr), minAqua), IntegerEntry(with(keyMaxAquaPerRank, charIdStr), aqua), IntegerEntry(with(keyTerra, charIdStr), randTerra), IntegerEntry(with(keyMinTerraPerRank, charIdStr), minTerra), IntegerEntry(with(keyMaxTerraPerRank, charIdStr), terra), charIssue, ScriptTransfer(i.caller, 1, charId)] ++ mobEntry)
261273 }
262274 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let params = addressFromStringValue("3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR")
55
66 let keyInitV1Done = "init_v1_done"
77
88 let keyTokenId = "tokenId"
99
1010 let keyInitialCharCreationStats = "initialCharCreationStats"
1111
1212 let separator = "_"
1313
1414 let keyItemsIdsCount = "itemsIdsCount"
1515
1616 let keySpellsIdsCount = "spellsIdsCount"
1717
1818 let keyMobsIdsCount = "mobsIdsCount"
1919
2020 let keyItemType = "itemType"
2121
2222 let keyItemStat1Type = "itemStat1Type"
2323
2424 let keyItemStat2Type = "itemStat2Type"
2525
2626 let keyItemStat3Type = "itemStat3Type"
2727
2828 let keyItemStat1Value = "itemStat1Value"
2929
3030 let keyItemStat2Value = "itemStat2Value"
3131
3232 let keyItemStat3Value = "itemStat3Value"
3333
3434 let keySpellDmgType = "spellElem"
3535
3636 let keySpellMinDmg = "spellMinDmg"
3737
3838 let keySpellMaxDmg = "spellMaxDmg"
3939
4040 let keySpellStat1Type = "spellStat1Type"
4141
4242 let keySpellStat2Type = "spellStat2Type"
4343
4444 let keySpellStat3Type = "spellStat3Type"
4545
4646 let keySpellStat1Value = "spellStat1Value"
4747
4848 let keySpellStat2Value = "spellStat2Value"
4949
5050 let keySpellStat3Value = "spellStat3Value"
5151
5252 let keyMobCurrentHealth = "mobCurrentHealth"
5353
5454 let keyMobMaxHealth = "mobMaxHealth"
5555
5656 let keyMobExpPoints = "mobExpPoints"
5757
5858 let keyMobGold = "mobGold"
5959
6060 let keyMobLootChance = "mobLootChance"
6161
6262 let keyMobStaffId = "mobStaffId"
6363
6464 let keyMobRobeId = "mobRobeId"
6565
6666 let keyMobRingId = "mobRingId"
6767
6868 let keyMobSpell1Id = "mobSpell1Id"
6969
7070 let keyMobSpell2Id = "mobSpell2Id"
7171
7272 let keyMobSpell3Id = "mobSpell3Id"
7373
7474 let keyName = "name"
7575
7676 let keySex = "sex"
7777
7878 let keyRank = "rank"
7979
8080 let keyHealthCurrent = "healthCurrent"
8181
8282 let keyHealthMax = "healthMax"
8383
8484 let keyMinHealthPerRank = "minHealthPerRank"
8585
8686 let keyMaxHealthPerRank = "maxHealthPerRank"
8787
8888 let keyHealthRegen = "healthRegen"
8989
9090 let keyMinHealthRegenPerRank = "minHealthRegenPerRank"
9191
9292 let keyMaxHealthRegenPerRank = "maxHealthRegenPerRank"
9393
9494 let keyManaCurrent = "manaCurrent"
9595
9696 let keyManaMax = "manaMax"
9797
9898 let keyMinManaPerRank = "minManaPerRank"
9999
100100 let keyMaxManaPerRank = "maxManaPerRank"
101101
102102 let keyManaRegen = "manaRegen"
103103
104104 let keyMinManaRegenPerRank = "minManaRegenPerRank"
105105
106106 let keyMaxManaRegenPerRank = "maxManaRegenPerRank"
107107
108108 let keyPyro = "pyro"
109109
110110 let keyMinPyroPerRank = "minPyroPerRank"
111111
112112 let keyMaxPyroPerRank = "maxPyroPerRank"
113113
114114 let keyAero = "aero"
115115
116116 let keyMinAeroPerRank = "minAeroPerRank"
117117
118118 let keyMaxAeroPerRank = "maxAeroPerRank"
119119
120120 let keyAqua = "aqua"
121121
122122 let keyMinAquaPerRank = "minAquaPerRank"
123123
124124 let keyMaxAquaPerRank = "maxAquaPerRank"
125125
126126 let keyTerra = "terra"
127127
128128 let keyMinTerraPerRank = "minTerraPerRank"
129129
130130 let keyMaxTerraPerRank = "maxTerraPerRank"
131131
132132 func with (str1,str2) = ((str1 + separator) + str2)
133133
134134
135-func getCurrentRandHash (txId) = sha256((value(value(blockInfoByHeight(height)).vrf) + txId))
135+func generateRandHash (nonce,txId) = sha256_16Kb(((value(value(blockInfoByHeight(height)).vrf) + txId) + toBytes(nonce)))
136136
137137
138138 func randInt (min,max,randHash,nonce) = ((toInt(randHash, nonce) % ((max - min) + 1)) + min)
139139
140140
141-func generateItem (type,itemId,randHash,currentNonce) = {
141+func generateItem (type,itemId,txId) = {
142142 let statsRange = [[1, 5], [5, 25], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [5, 15], [5, 15], [5, 15], [1, 5], [5, 10]]
143143 let statsAvailable = if ((type == 0))
144144 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14]
145145 else if ((type == 1))
146146 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13]
147147 else if ((type == 2))
148148 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
149149 else throw("Unknown item type")
150150 let statsAmount = size(statsAvailable)
151- let s1 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 1))]
152- let s2 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 2))]
153- let s3 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 3))]
154- let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 4))
155- let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 5))
156- let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 6))
151+ let randHash = generateRandHash(1, txId)
152+ let s1 = statsAvailable[randInt(0, (statsAmount - 1), randHash, 0)]
153+ let s2 = statsAvailable[randInt(0, (statsAmount - 1), randHash, 1)]
154+ let s3 = statsAvailable[randInt(0, (statsAmount - 1), randHash, 2)]
155+ let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, 3)
156+ let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, 4)
157+ let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, 5)
157158 let itemIdStr = toString(itemId)
158159 [IntegerEntry(with(keyItemType, itemIdStr), type), IntegerEntry(with(keyItemStat1Type, itemIdStr), s1), IntegerEntry(with(keyItemStat2Type, itemIdStr), s2), IntegerEntry(with(keyItemStat3Type, itemIdStr), s3), IntegerEntry(with(keyItemStat1Value, itemIdStr), v1), IntegerEntry(with(keyItemStat2Value, itemIdStr), v2), IntegerEntry(with(keyItemStat3Value, itemIdStr), v3)]
159160 }
160161
161162
162-func generateSpell (spellId,randHash,currentNonce) = {
163+func generateSpell (spellId,txId) = {
163164 let statsRange = [[1, 5], [5, 25], [100, 200], [100, 150], [1, 5], [1, 5], [1, 5], [1, 5], [5, 10]]
164- let dmgType = randInt(0, 3, randHash, (currentNonce + 1))
165- let dmgMinRange = randInt(200, 250, randHash, (currentNonce + 2))
166- let dmgMaxRange = randInt(251, 400, randHash, (currentNonce + 3))
167- let s1 = randInt(0, 8, randHash, (currentNonce + 4))
168- let s2 = randInt(0, 8, randHash, (currentNonce + 5))
169- let s3 = randInt(0, 8, randHash, (currentNonce + 6))
170- let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 7))
171- let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 8))
172- let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 9))
165+ let randHash = generateRandHash(2, txId)
166+ let dmgType = randInt(0, 3, randHash, 0)
167+ let dmgMinRange = randInt(200, 250, randHash, 1)
168+ let dmgMaxRange = randInt(251, 400, randHash, 2)
169+ let s1 = randInt(0, 8, randHash, 3)
170+ let s2 = randInt(0, 8, randHash, 4)
171+ let s3 = randInt(0, 8, randHash, 5)
172+ let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, 6)
173+ let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, 7)
174+ let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, 8)
173175 let spellIdStr = toString(spellId)
174176 [IntegerEntry(with(keySpellDmgType, spellIdStr), dmgType), IntegerEntry(with(keySpellMinDmg, spellIdStr), dmgMinRange), IntegerEntry(with(keySpellMaxDmg, spellIdStr), dmgMaxRange), IntegerEntry(with(keySpellStat1Type, spellIdStr), s1), IntegerEntry(with(keySpellStat2Type, spellIdStr), s2), IntegerEntry(with(keySpellStat3Type, spellIdStr), s3), IntegerEntry(with(keySpellStat1Value, spellIdStr), v1), IntegerEntry(with(keySpellStat2Value, spellIdStr), v2), IntegerEntry(with(keySpellStat3Value, spellIdStr), v3)]
175177 }
176178
177179
178-func generateMobEntry (randHash,currentNonce) = {
179- let currentItemId = 0
180- let currentSpellId = 0
181- let currentMobId = 0
180+func generateMobEntry (txId) = {
181+ let currentItemId = valueOrElse(getInteger(this, keyItemsIdsCount), 0)
182+ let currentSpellId = valueOrElse(getInteger(this, keySpellsIdsCount), 0)
183+ let currentMobId = valueOrElse(getInteger(this, keyMobsIdsCount), 0)
182184 let currentMobIdStr = toString(currentMobId)
183- let mobHealth = randInt(1000, 1500, randHash, 25)
184-[IntegerEntry(with(keyMobMaxHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobStaffId, currentMobIdStr), currentItemId), IntegerEntry(with(keyMobRobeId, currentMobIdStr), (currentItemId + 1)), IntegerEntry(with(keyMobRingId, currentMobIdStr), (currentItemId + 2)), IntegerEntry(with(keyMobSpell1Id, currentMobIdStr), currentSpellId), IntegerEntry(with(keyMobSpell2Id, currentMobIdStr), (currentSpellId + 1)), IntegerEntry(with(keyMobSpell3Id, currentMobIdStr), (currentSpellId + 2)), IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))]
185+ let randHash = generateRandHash(3, txId)
186+ let staff = generateItem(0, currentItemId, txId)
187+ let robe = generateItem(1, (currentItemId + 1), txId)
188+ let ring = generateItem(2, (currentItemId + 2), txId)
189+ let spell1 = generateSpell(currentSpellId, txId)
190+ let spell2 = generateSpell((currentSpellId + 1), txId)
191+ let spell3 = generateSpell((currentSpellId + 2), txId)
192+ let mobHealth = randInt(1000, 1500, randHash, 0)
193+ let mobExp = randInt(100, 200, randHash, 1)
194+ let mobGold = randInt(500, 2000, randHash, 2)
195+ let mobLootChance = randInt(5, 20, randHash, 3)
196+ (((((([IntegerEntry(with(keyMobCurrentHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobMaxHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobExpPoints, currentMobIdStr), mobExp), IntegerEntry(with(keyMobGold, currentMobIdStr), mobGold), IntegerEntry(with(keyMobLootChance, currentMobIdStr), mobLootChance), IntegerEntry(with(keyMobStaffId, currentMobIdStr), currentItemId), IntegerEntry(with(keyMobRobeId, currentMobIdStr), (currentItemId + 1)), IntegerEntry(with(keyMobRingId, currentMobIdStr), (currentItemId + 2)), IntegerEntry(with(keyMobSpell1Id, currentMobIdStr), currentSpellId), IntegerEntry(with(keyMobSpell2Id, currentMobIdStr), (currentSpellId + 1)), IntegerEntry(with(keyMobSpell3Id, currentMobIdStr), (currentSpellId + 2)), IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))] ++ staff) ++ robe) ++ ring) ++ spell1) ++ spell2) ++ spell3)
185197 }
186198
187199
188200 @Callable(i)
189201 func create (name,sex,pyro,aero,aqua,terra) = {
190202 let initialStats = split(getStringValue(params, keyInitialCharCreationStats), separator)
191203 let nameSize = size(name)
192204 if (if ((parseIntValue(initialStats[0]) > nameSize))
193205 then true
194206 else (nameSize > parseIntValue(initialStats[1])))
195207 then throw("Char name size not valid")
196208 else if (if (contains(name, " "))
197209 then true
198210 else contains(name, separator))
199211 then throw((("Whitespaces or " + separator) + " not allowed"))
200212 else if (if ((sex != 1))
201213 then (sex != 2)
202214 else false)
203215 then throw("Somethings wrong with char sex")
204216 else if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (((((pyro + aero) + aqua) + terra) != 14))
205217 then true
206218 else (2 > pyro))
207219 then true
208220 else (pyro > 5))
209221 then true
210222 else (2 > aero))
211223 then true
212224 else (aero > 5))
213225 then true
214226 else (2 > aqua))
215227 then true
216228 else (aqua > 5))
217229 then true
218230 else (2 > terra))
219231 then true
220232 else (terra > 5))
221233 then true
222234 else (pyro == aero))
223235 then true
224236 else (pyro == aqua))
225237 then true
226238 else (pyro == terra))
227239 then true
228240 else (aero == aqua))
229241 then true
230242 else (aero == terra))
231243 then true
232244 else (aqua == terra))
233245 then throw("Elem spec issue")
234246 else {
235247 let charIssue = Issue(name, "", 1, 0, false, unit, 0)
236248 let charId = calculateAssetId(charIssue)
237249 let charIdStr = toBase58String(charId)
238- let randHash = getCurrentRandHash(i.transactionId)
250+ let randHash = generateRandHash(4, i.transactionId)
239251 let minHealth = parseIntValue(initialStats[3])
240252 let maxHealth = parseIntValue(initialStats[4])
241253 let randHealth = (parseIntValue(initialStats[2]) + randInt(minHealth, maxHealth, randHash, 0))
242254 let minHealthRegen = parseIntValue(initialStats[6])
243255 let maxHealthRegen = parseIntValue(initialStats[7])
244256 let randHealthRegen = (parseIntValue(initialStats[5]) + randInt(minHealthRegen, maxHealthRegen, randHash, 1))
245257 let minMana = parseIntValue(initialStats[9])
246258 let maxMana = parseIntValue(initialStats[10])
247259 let randMana = (parseIntValue(initialStats[8]) + randInt(minMana, maxMana, randHash, 2))
248260 let minManaRegen = parseIntValue(initialStats[12])
249261 let maxManaRegen = parseIntValue(initialStats[13])
250262 let randManaRegen = (parseIntValue(initialStats[11]) + randInt(minManaRegen, maxManaRegen, randHash, 3))
251263 let minPyro = parseIntValue(initialStats[14])
252264 let randPyro = randInt(minPyro, pyro, randHash, 4)
253265 let minAero = parseIntValue(initialStats[15])
254266 let randAero = randInt(minAero, aero, randHash, 5)
255267 let minAqua = parseIntValue(initialStats[16])
256268 let randAqua = randInt(minAqua, aqua, randHash, 6)
257269 let minTerra = parseIntValue(initialStats[17])
258270 let randTerra = randInt(minTerra, terra, randHash, 7)
259- let mobEntry = generateMobEntry(randHash, 100)
271+ let mobEntry = generateMobEntry(i.transactionId)
260272 ([StringEntry(with(keyName, charIdStr), name), IntegerEntry(with(keySex, charIdStr), sex), IntegerEntry(with(keyRank, charIdStr), 1), IntegerEntry(with(keyHealthCurrent, charIdStr), randHealth), IntegerEntry(with(keyHealthMax, charIdStr), randHealth), IntegerEntry(with(keyMinHealthPerRank, charIdStr), minHealth), IntegerEntry(with(keyMaxHealthPerRank, charIdStr), minHealth), IntegerEntry(with(keyHealthRegen, charIdStr), randHealthRegen), IntegerEntry(with(keyMinHealthRegenPerRank, charIdStr), minHealthRegen), IntegerEntry(with(keyMaxHealthRegenPerRank, charIdStr), maxHealthRegen), IntegerEntry(with(keyManaCurrent, charIdStr), randMana), IntegerEntry(with(keyManaMax, charIdStr), randMana), IntegerEntry(with(keyMinManaPerRank, charIdStr), minMana), IntegerEntry(with(keyMaxManaPerRank, charIdStr), maxMana), IntegerEntry(with(keyManaRegen, charIdStr), randManaRegen), IntegerEntry(with(keyMinManaRegenPerRank, charIdStr), minManaRegen), IntegerEntry(with(keyMaxManaRegenPerRank, charIdStr), maxManaRegen), IntegerEntry(with(keyPyro, charIdStr), randPyro), IntegerEntry(with(keyMinPyroPerRank, charIdStr), minPyro), IntegerEntry(with(keyMaxPyroPerRank, charIdStr), pyro), IntegerEntry(with(keyAero, charIdStr), randAero), IntegerEntry(with(keyMinAeroPerRank, charIdStr), minAero), IntegerEntry(with(keyMaxAeroPerRank, charIdStr), aero), IntegerEntry(with(keyAqua, charIdStr), randAqua), IntegerEntry(with(keyMinAquaPerRank, charIdStr), minAqua), IntegerEntry(with(keyMaxAquaPerRank, charIdStr), aqua), IntegerEntry(with(keyTerra, charIdStr), randTerra), IntegerEntry(with(keyMinTerraPerRank, charIdStr), minTerra), IntegerEntry(with(keyMaxTerraPerRank, charIdStr), terra), charIssue, ScriptTransfer(i.caller, 1, charId)] ++ mobEntry)
261273 }
262274 }
263275
264276
265277 @Verifier(tx)
266278 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
267279

github/deemru/w8io/169f3d6 
45.82 ms