Take a look at the following
Code: Select all
if ("CogBuildReq" == s) {
if (0 > A) return 0;
var Oe = b.engine.getGameAttribute("CustomLists"),
we = (null != d.RANDOlist ? Oe.getReserved("RANDOlist") : Oe.h.RANDOlist)[12][0 | a];
return (null == we ? 0 : "number" == typeof we ? e.__cast(we, k) : "number" == typeof we && (0 | we) === we ? e.__cast(we, n) : "boolean" == typeof we ? e.__cast(we, l) ? 1 : 0 : "string" == typeof we ? parseFloat(we) : parseFloat(g.string(we))) * Math.pow(2 + a, A)
}
Someone kindly gave me this code on discord.
Code: Select all
Dc.RANDOlist = function() {
return ["mushG frogG beanG poopSmall ratB slimeG snakeG carrotO branch acorn goblinG plank frogBIG".split(" "), "jarSand mimicA crabcake shovelR coconut sandcastle pincermin potato steak moonman sandgiant snailZ".split(" "), "20 24 21 25 22 26 41 42 72 73 74 75 76 77 78 79 52 45 49 37 39 46 53 54 55".split(" "), "5 6 7 42 43 8 9 10 11 12 13 14 15 4 25 26 27 59 45 49 46 50 47 51 52 53 54 55 28 29 30 31 32 33 34 35 56 57 36 37".split(" "), "STR AGI WIS LUK UQ1val UQ2val Defence Weapon_Power".split(" "), "bloque flake speaker penguin eye mamoth snakeB glass stache snowball thermostat sheep sheep".split(" "), "0 7 14 22 30 37 44".split(" "), "Cardboard_Boxes Silkskin_Boxes Wooden_Crates Natural_Crates Steel_Trapper Royal_Trapper".split(" "), "310 17 394 17 478 17 562 17 268 86 352 86 436 86 520 86 604 86 226 157 310 157 394 157 478 157 562 157 268 228 352 228 436 228 520 228 604 228 226 299 310 299 394 299 478 299 562 299 646 299".split(" "), "1 60 85 110 150 170 200 250 9999 9999 9999 9999 9999 9999 999 999 999 999 999 999 999".split(" "), "Goblin_Gorefest Wakawaka_War Acorn_Assault Tower_Defence_4 Tower_Defence_5 Tower_Defence_6".split(" "), ["0", "14", "39", "69"],
["30", "200", "1500", "10000"],
Thank you if you're reading this