tx · 7GDt1PP4EeCRWrqTUMAbdg1AdRyoCkwvZAw2AKG3vyrX 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c: -0.01400000 Waves 2022.02.04 16:55 [1908958] smart account 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c > SELF 0.00000000 Waves
{ "type": 13, "id": "7GDt1PP4EeCRWrqTUMAbdg1AdRyoCkwvZAw2AKG3vyrX", "fee": 1400000, "feeAssetId": null, "timestamp": 1643982935023, "version": 2, "chainId": 84, "sender": "3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c", "senderPublicKey": "5VeehaC8J2hY5k7GyMevtfCSC4on8kxpPvqqQqNe5erh", "proofs": [ "4RxfabrzDoT62wGSQbe3u8omJ6SBc3ZJe2RnNFZNUQvEdSdH4TEb1CULbb7g4CXYTGCEyemuxKk4ek7tLnNU4wNb" ], "script": "base64:AAIFAAAAAAAAAAwIAhIICgYIAQEBAQEAAABGAAAAAAZwYXJhbXMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNOMmpaYUgxakxaNXVoS2tOaWs2Z2VBNTdIek1Hdzk4aWdSAAAAAA1rZXlJbml0VjFEb25lAgAAAAxpbml0X3YxX2RvbmUAAAAACmtleVRva2VuSWQCAAAAB3Rva2VuSWQAAAAAG2tleUluaXRpYWxDaGFyQ3JlYXRpb25TdGF0cwIAAAAYaW5pdGlhbENoYXJDcmVhdGlvblN0YXRzAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAEGtleUl0ZW1zSWRzQ291bnQCAAAADWl0ZW1zSWRzQ291bnQAAAAAEWtleVNwZWxsc0lkc0NvdW50AgAAAA5zcGVsbHNJZHNDb3VudAAAAAAPa2V5TW9ic0lkc0NvdW50AgAAAAxtb2JzSWRzQ291bnQAAAAAC2tleUl0ZW1UeXBlAgAAAAhpdGVtVHlwZQAAAAAQa2V5SXRlbVN0YXQxVHlwZQIAAAANaXRlbVN0YXQxVHlwZQAAAAAQa2V5SX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kBAAAADEludGVnZXJFbnRyeQAAAAIJAQAAAAR3aXRoAAAAAgUAAAARa2V5TWluQXF1YVBlclJhbmsFAAAACWNoYXJJZFN0cgUAAAAHbWluQXF1YQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAABHdpdGgAAAACBQAAABFrZXlNYXhBcXVhUGVyUmFuawUAAAAJY2hhcklkU3RyBQAAAARhcXVhCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQEAAAAEd2l0aAAAAAIFAAAACGtleVRlcnJhBQAAAAljaGFySWRTdHIFAAAACXJhbmRUZXJyYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAABHdpdGgAAAACBQAAABJrZXlNaW5UZXJyYVBlclJhbmsFAAAACWNoYXJJZFN0cgUAAAAIbWluVGVycmEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAQAAAAR3aXRoAAAAAgUAAAASa2V5TWF4VGVycmFQZXJSYW5rBQAAAAljaGFySWRTdHIFAAAABXRlcnJhCQAETAAAAAIFAAAACWNoYXJJc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAABmNoYXJJZAUAAAADbmlsBQAAAAhtb2JFbnRyeQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5WV2v9w==", "height": 1908958, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2wCkediLYLngFWDznso8h4dXH5uNrDMTRgXRuAoyYxKK Next: 74VwYARZsS8juhBMiDNLp8VFFaH9auYb2pzwNDYY9kdQ Diff:
Old | New | Differences | |
---|---|---|---|
179 | 179 | let currentItemId = 0 | |
180 | 180 | let currentSpellId = 0 | |
181 | 181 | let currentMobId = 0 | |
182 | - | let currentMobIdStr = toString(currentMobId) | |
183 | - | let mobHealth = randInt(0, 2, randHash, (currentNonce + 1)) | |
184 | - | let mobExp = randInt(0, 100, randHash, (currentNonce + 2)) | |
185 | - | let mobGold = randInt(0, 15, randHash, (currentNonce + 3)) | |
186 | - | let mobLootChance = randInt(5, 20, randHash, (currentNonce + 4)) | |
187 | - | [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))] | |
182 | + | [IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))] | |
188 | 183 | } | |
189 | 184 | ||
190 | 185 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let params = addressFromStringValue("3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR") | |
5 | 5 | ||
6 | 6 | let keyInitV1Done = "init_v1_done" | |
7 | 7 | ||
8 | 8 | let keyTokenId = "tokenId" | |
9 | 9 | ||
10 | 10 | let keyInitialCharCreationStats = "initialCharCreationStats" | |
11 | 11 | ||
12 | 12 | let separator = "_" | |
13 | 13 | ||
14 | 14 | let keyItemsIdsCount = "itemsIdsCount" | |
15 | 15 | ||
16 | 16 | let keySpellsIdsCount = "spellsIdsCount" | |
17 | 17 | ||
18 | 18 | let keyMobsIdsCount = "mobsIdsCount" | |
19 | 19 | ||
20 | 20 | let keyItemType = "itemType" | |
21 | 21 | ||
22 | 22 | let keyItemStat1Type = "itemStat1Type" | |
23 | 23 | ||
24 | 24 | let keyItemStat2Type = "itemStat2Type" | |
25 | 25 | ||
26 | 26 | let keyItemStat3Type = "itemStat3Type" | |
27 | 27 | ||
28 | 28 | let keyItemStat1Value = "itemStat1Value" | |
29 | 29 | ||
30 | 30 | let keyItemStat2Value = "itemStat2Value" | |
31 | 31 | ||
32 | 32 | let keyItemStat3Value = "itemStat3Value" | |
33 | 33 | ||
34 | 34 | let keySpellDmgType = "spellElem" | |
35 | 35 | ||
36 | 36 | let keySpellMinDmg = "spellMinDmg" | |
37 | 37 | ||
38 | 38 | let keySpellMaxDmg = "spellMaxDmg" | |
39 | 39 | ||
40 | 40 | let keySpellStat1Type = "spellStat1Type" | |
41 | 41 | ||
42 | 42 | let keySpellStat2Type = "spellStat2Type" | |
43 | 43 | ||
44 | 44 | let keySpellStat3Type = "spellStat3Type" | |
45 | 45 | ||
46 | 46 | let keySpellStat1Value = "spellStat1Value" | |
47 | 47 | ||
48 | 48 | let keySpellStat2Value = "spellStat2Value" | |
49 | 49 | ||
50 | 50 | let keySpellStat3Value = "spellStat3Value" | |
51 | 51 | ||
52 | 52 | let keyMobCurrentHealth = "mobCurrentHealth" | |
53 | 53 | ||
54 | 54 | let keyMobMaxHealth = "mobMaxHealth" | |
55 | 55 | ||
56 | 56 | let keyMobExpPoints = "mobExpPoints" | |
57 | 57 | ||
58 | 58 | let keyMobGold = "mobGold" | |
59 | 59 | ||
60 | 60 | let keyMobLootChance = "mobLootChance" | |
61 | 61 | ||
62 | 62 | let keyMobStaffId = "mobStaffId" | |
63 | 63 | ||
64 | 64 | let keyMobRobeId = "mobRobeId" | |
65 | 65 | ||
66 | 66 | let keyMobRingId = "mobRingId" | |
67 | 67 | ||
68 | 68 | let keyMobSpell1Id = "mobSpell1Id" | |
69 | 69 | ||
70 | 70 | let keyMobSpell2Id = "mobSpell2Id" | |
71 | 71 | ||
72 | 72 | let keyMobSpell3Id = "mobSpell3Id" | |
73 | 73 | ||
74 | 74 | let keyName = "name" | |
75 | 75 | ||
76 | 76 | let keySex = "sex" | |
77 | 77 | ||
78 | 78 | let keyRank = "rank" | |
79 | 79 | ||
80 | 80 | let keyHealthCurrent = "healthCurrent" | |
81 | 81 | ||
82 | 82 | let keyHealthMax = "healthMax" | |
83 | 83 | ||
84 | 84 | let keyMinHealthPerRank = "minHealthPerRank" | |
85 | 85 | ||
86 | 86 | let keyMaxHealthPerRank = "maxHealthPerRank" | |
87 | 87 | ||
88 | 88 | let keyHealthRegen = "healthRegen" | |
89 | 89 | ||
90 | 90 | let keyMinHealthRegenPerRank = "minHealthRegenPerRank" | |
91 | 91 | ||
92 | 92 | let keyMaxHealthRegenPerRank = "maxHealthRegenPerRank" | |
93 | 93 | ||
94 | 94 | let keyManaCurrent = "manaCurrent" | |
95 | 95 | ||
96 | 96 | let keyManaMax = "manaMax" | |
97 | 97 | ||
98 | 98 | let keyMinManaPerRank = "minManaPerRank" | |
99 | 99 | ||
100 | 100 | let keyMaxManaPerRank = "maxManaPerRank" | |
101 | 101 | ||
102 | 102 | let keyManaRegen = "manaRegen" | |
103 | 103 | ||
104 | 104 | let keyMinManaRegenPerRank = "minManaRegenPerRank" | |
105 | 105 | ||
106 | 106 | let keyMaxManaRegenPerRank = "maxManaRegenPerRank" | |
107 | 107 | ||
108 | 108 | let keyPyro = "pyro" | |
109 | 109 | ||
110 | 110 | let keyMinPyroPerRank = "minPyroPerRank" | |
111 | 111 | ||
112 | 112 | let keyMaxPyroPerRank = "maxPyroPerRank" | |
113 | 113 | ||
114 | 114 | let keyAero = "aero" | |
115 | 115 | ||
116 | 116 | let keyMinAeroPerRank = "minAeroPerRank" | |
117 | 117 | ||
118 | 118 | let keyMaxAeroPerRank = "maxAeroPerRank" | |
119 | 119 | ||
120 | 120 | let keyAqua = "aqua" | |
121 | 121 | ||
122 | 122 | let keyMinAquaPerRank = "minAquaPerRank" | |
123 | 123 | ||
124 | 124 | let keyMaxAquaPerRank = "maxAquaPerRank" | |
125 | 125 | ||
126 | 126 | let keyTerra = "terra" | |
127 | 127 | ||
128 | 128 | let keyMinTerraPerRank = "minTerraPerRank" | |
129 | 129 | ||
130 | 130 | let keyMaxTerraPerRank = "maxTerraPerRank" | |
131 | 131 | ||
132 | 132 | func with (str1,str2) = ((str1 + separator) + str2) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func getCurrentRandHash (txId) = sha256_16Kb((value(value(blockInfoByHeight(height)).vrf) + txId)) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func randInt (min,max,randHash,nonce) = ((toInt(randHash, nonce) % ((max - min) + 1)) + min) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func generateItem (type,itemId,randHash,currentNonce) = { | |
142 | 142 | 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]] | |
143 | 143 | let statsAvailable = if ((type == 0)) | |
144 | 144 | then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14] | |
145 | 145 | else if ((type == 1)) | |
146 | 146 | then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13] | |
147 | 147 | else if ((type == 2)) | |
148 | 148 | then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] | |
149 | 149 | else throw("Unknown item type") | |
150 | 150 | let statsAmount = size(statsAvailable) | |
151 | 151 | let s1 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 1))] | |
152 | 152 | let s2 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 2))] | |
153 | 153 | let s3 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 3))] | |
154 | 154 | let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 4)) | |
155 | 155 | let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 5)) | |
156 | 156 | let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 6)) | |
157 | 157 | let itemIdStr = toString(itemId) | |
158 | 158 | [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)] | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func generateSpell (spellId,randHash,currentNonce) = { | |
163 | 163 | let statsRange = [[1, 5], [5, 25], [100, 200], [100, 150], [1, 5], [1, 5], [1, 5], [1, 5], [5, 10]] | |
164 | 164 | let dmgType = randInt(0, 3, randHash, (currentNonce + 1)) | |
165 | 165 | let dmgMinRange = randInt(200, 250, randHash, (currentNonce + 2)) | |
166 | 166 | let dmgMaxRange = randInt(251, 400, randHash, (currentNonce + 3)) | |
167 | 167 | let s1 = randInt(0, 8, randHash, (currentNonce + 4)) | |
168 | 168 | let s2 = randInt(0, 8, randHash, (currentNonce + 5)) | |
169 | 169 | let s3 = randInt(0, 8, randHash, (currentNonce + 6)) | |
170 | 170 | let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 7)) | |
171 | 171 | let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 8)) | |
172 | 172 | let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 9)) | |
173 | 173 | let spellIdStr = toString(spellId) | |
174 | 174 | [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)] | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func generateMobEntry (randHash,currentNonce) = { | |
179 | 179 | let currentItemId = 0 | |
180 | 180 | let currentSpellId = 0 | |
181 | 181 | let currentMobId = 0 | |
182 | - | let currentMobIdStr = toString(currentMobId) | |
183 | - | let mobHealth = randInt(0, 2, randHash, (currentNonce + 1)) | |
184 | - | let mobExp = randInt(0, 100, randHash, (currentNonce + 2)) | |
185 | - | let mobGold = randInt(0, 15, randHash, (currentNonce + 3)) | |
186 | - | let mobLootChance = randInt(5, 20, randHash, (currentNonce + 4)) | |
187 | - | [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))] | |
182 | + | [IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))] | |
188 | 183 | } | |
189 | 184 | ||
190 | 185 | ||
191 | 186 | @Callable(i) | |
192 | 187 | func create (name,sex,pyro,aero,aqua,terra) = { | |
193 | 188 | let initialStats = split(getStringValue(params, keyInitialCharCreationStats), separator) | |
194 | 189 | let nameSize = size(name) | |
195 | 190 | if (if ((parseIntValue(initialStats[0]) > nameSize)) | |
196 | 191 | then true | |
197 | 192 | else (nameSize > parseIntValue(initialStats[1]))) | |
198 | 193 | then throw("Char name size not valid") | |
199 | 194 | else if (if (contains(name, " ")) | |
200 | 195 | then true | |
201 | 196 | else contains(name, separator)) | |
202 | 197 | then throw((("Whitespaces or " + separator) + " not allowed")) | |
203 | 198 | else if (if ((sex != 1)) | |
204 | 199 | then (sex != 2) | |
205 | 200 | else false) | |
206 | 201 | then throw("Somethings wrong with char sex") | |
207 | 202 | else if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (((((pyro + aero) + aqua) + terra) != 14)) | |
208 | 203 | then true | |
209 | 204 | else (2 > pyro)) | |
210 | 205 | then true | |
211 | 206 | else (pyro > 5)) | |
212 | 207 | then true | |
213 | 208 | else (2 > aero)) | |
214 | 209 | then true | |
215 | 210 | else (aero > 5)) | |
216 | 211 | then true | |
217 | 212 | else (2 > aqua)) | |
218 | 213 | then true | |
219 | 214 | else (aqua > 5)) | |
220 | 215 | then true | |
221 | 216 | else (2 > terra)) | |
222 | 217 | then true | |
223 | 218 | else (terra > 5)) | |
224 | 219 | then true | |
225 | 220 | else (pyro == aero)) | |
226 | 221 | then true | |
227 | 222 | else (pyro == aqua)) | |
228 | 223 | then true | |
229 | 224 | else (pyro == terra)) | |
230 | 225 | then true | |
231 | 226 | else (aero == aqua)) | |
232 | 227 | then true | |
233 | 228 | else (aero == terra)) | |
234 | 229 | then true | |
235 | 230 | else (aqua == terra)) | |
236 | 231 | then throw("Elem spec issue") | |
237 | 232 | else { | |
238 | 233 | let charIssue = Issue(name, "", 1, 0, false, unit, 0) | |
239 | 234 | let charId = calculateAssetId(charIssue) | |
240 | 235 | let charIdStr = toBase58String(charId) | |
241 | 236 | let randHash = getCurrentRandHash(i.transactionId) | |
242 | 237 | let minHealth = parseIntValue(initialStats[3]) | |
243 | 238 | let maxHealth = parseIntValue(initialStats[4]) | |
244 | 239 | let randHealth = (parseIntValue(initialStats[2]) + randInt(minHealth, maxHealth, randHash, 0)) | |
245 | 240 | let minHealthRegen = parseIntValue(initialStats[6]) | |
246 | 241 | let maxHealthRegen = parseIntValue(initialStats[7]) | |
247 | 242 | let randHealthRegen = (parseIntValue(initialStats[5]) + randInt(minHealthRegen, maxHealthRegen, randHash, 1)) | |
248 | 243 | let minMana = parseIntValue(initialStats[9]) | |
249 | 244 | let maxMana = parseIntValue(initialStats[10]) | |
250 | 245 | let randMana = (parseIntValue(initialStats[8]) + randInt(minMana, maxMana, randHash, 2)) | |
251 | 246 | let minManaRegen = parseIntValue(initialStats[12]) | |
252 | 247 | let maxManaRegen = parseIntValue(initialStats[13]) | |
253 | 248 | let randManaRegen = (parseIntValue(initialStats[11]) + randInt(minManaRegen, maxManaRegen, randHash, 3)) | |
254 | 249 | let minPyro = parseIntValue(initialStats[14]) | |
255 | 250 | let randPyro = randInt(minPyro, pyro, randHash, 4) | |
256 | 251 | let minAero = parseIntValue(initialStats[15]) | |
257 | 252 | let randAero = randInt(minAero, aero, randHash, 5) | |
258 | 253 | let minAqua = parseIntValue(initialStats[16]) | |
259 | 254 | let randAqua = randInt(minAqua, aqua, randHash, 6) | |
260 | 255 | let minTerra = parseIntValue(initialStats[17]) | |
261 | 256 | let randTerra = randInt(minTerra, terra, randHash, 7) | |
262 | 257 | let mobEntry = generateMobEntry(randHash, 100) | |
263 | 258 | ([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) | |
264 | 259 | } | |
265 | 260 | } | |
266 | 261 | ||
267 | 262 | ||
268 | 263 | @Verifier(tx) | |
269 | 264 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
270 | 265 |
github/deemru/w8io/169f3d6 49.41 ms ◑