Advertisement
Guest User

Untitled

a guest
Jul 4th, 2017
26,262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. **********************************************************
  3. *********** https://www.youtube.com/c/RandomCrap *********
  4. **********************************************************
  5. */
  6.  
  7. /*
  8. Instructions to apply the hack as requested:
  9.  
  10. -------Using Firefox browser:---------
  11. 1. Run the game
  12. 2. Open inspect element window
  13. 3. Go to debugger tab
  14. 4. On the left side under sources select browser-mobile.js file
  15. 5. Press {} icon at the bottom left side near the eye icon to prettify the source
  16. 6. Press ctrl+f to search for the correct line or click on the search scripts window on the right side and add #
  17. 7. Type query.prototype.run and press enter if the line is not being found automatically
  18. 8. Add the break point next to the var t = this code by clicking on the number next to it (blue arrow appears pointing to the var t = this)
  19. 9. Go to the characters menu in the game and equip any character (the game stops, values appears)
  20. 10. Press resume once by pressing F8 or by clicking on the blue resume button at the left top (looks like a play icon)
  21. 11. Copy any of the scripts below (edit the values if the script requests that. See the comments abowe each script!)
  22. 12. Go to the console tab and paste the code (if it does not allow you to paste the code, write allow pasting in the console)
  23. 13. Click enter to submit the script to the console
  24. 14. Go back to the debugger tab and press resume twice (not too quick)
  25. 15. Repeat stage 12 and 13
  26. 16. Go back to the debugger tab and click resume once
  27. 17. Remove the break point next to the var t = this by clicking on the blue arrow
  28. 18. Press resume one more time and the game resumes.
  29. 19. If you did everything correctly, you will see the changes depending on what hack you did. If not, see the video https://youtu.be/uqlSG8HEIfU
  30.  
  31.  
  32.  
  33.  
  34. /*
  35. *
  36. * Money, xp, trophies
  37. * Change number inside value after coins, trophies and xp. Do not include any spaces!
  38. * Max coins = 999999, max trophies = 99999, max lvl xp = 1400000
  39. */
  40. var l = Object.keys(e);
  41. var values = {coins: 999999, trophies: 99999, xp: 1400000};
  42. for (var c = 0; c < l.length; c++) {
  43.     var h = e[l[c]];
  44.     if(h.schemaPrimativeID.includes("currency:trophy")){
  45.       h.balance = values['trophies'];
  46.     }
  47.     else if(h.schemaPrimativeID.includes("stat:xp")){
  48.       h.value = values['xp'];
  49.     }
  50.     else if(h.schemaPrimativeID.includes("currency:coin")){
  51.       h.balance = values['coins'];
  52.     }
  53. }
  54.  
  55.  
  56. /*
  57. *
  58. * Max all sidekicks level and maturity
  59. * You don't need to change anything in this hack
  60. *
  61. */
  62. var l = Object.keys(e);
  63. for (var c = 0; c < l.length; c++) {
  64.     var h = e[l[c]];
  65.     if(h.schemaPrimativeID.includes("_maturity")){
  66.         h.value = 3;
  67.     }
  68.     else if(h.schemaPrimativeID.includes("_xp")){
  69.         h.maximum = 240000;
  70.         h.value = 240000;
  71.     }
  72.     else if(h.schemaPrimativeID.includes("_zodiac_bonus")){
  73.         h.value = 2;
  74.     }
  75. }
  76.  
  77.  
  78. /*
  79. * NOTE: DO NOT USE THIS HACK IF ANY OF YOUR CHARACTERS ARE QUESTING!
  80. * Increase all characters damage and level
  81. * You don't need to change anything in this hack
  82. *
  83. */
  84. var l = Object.keys(e);
  85.   for (var c = 0; c < l.length; c++) {
  86.     var h = e[l[c]];
  87.     if(h.schemaPrimativeID.includes("_stat1")){    
  88.       h.maximum = 80;
  89.       h.value = 80;
  90.     }
  91. }
  92.  
  93.  
  94. /*
  95. *
  96. * Swap your sidekicks to any sidekick you wish
  97. * Edit r and t values with your sidekick id's
  98. *
  99. */
  100. var l = Object.keys(e);
  101. var r = "LC05"; //Sidekick code you wish to have
  102. var t = "FC13"; //Sidekicks code you wish to replace
  103. for (var c = 0; c < l.length; c++) {
  104.     var h = e[l[c]];
  105.     if(h.schemaPrimativeID === "sidekick:"+t+"_zodiac_bonus"){
  106.       h.schemaPrimativeID = "sidekick:"+r+"_zodiac_bonus";
  107.     }
  108.     else if(h.schemaPrimativeID === "sidekick:"+t+"_zodiac"){
  109.       h.schemaPrimativeID = "sidekick:"+r+"_zodiac";
  110.     }
  111.     else if(h.schemaPrimativeID === "sidekick:"+t+"_maturity"){
  112.       h.schemaPrimativeID = "sidekick:"+r+"_maturity";
  113.     }
  114.     else if(h.schemaPrimativeID === "sidekick:"+t+"_xp"){
  115.       h.schemaPrimativeID = "sidekick:"+r+"_xp";
  116.     }
  117.     else if(h.schemaPrimativeID === "sidekick:"+t){
  118.       h.schemaPrimativeID = "sidekick:"+r;
  119.     }  
  120. }
  121.  
  122.  
  123. /*
  124. *
  125. * Unlock all your champions
  126. * You don't need to change anything in this hack
  127. *
  128. */
  129. var l = Object.keys(e);
  130. for (var c = 0; c < l.length; c++) {
  131.     var h = e[l[c]];
  132.     if(h.schemaPrimativeID.includes("item_character") && h.state.includes("locked")){
  133.        h.state = "idle";
  134.     }
  135. }
  136.  
  137.  
  138.  
  139. /*
  140. **********************************************************
  141. *********** https://www.youtube.com/c/RandomCrap *********
  142. **********************************************************
  143. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement