Advertisement
Onidzz

Ever

Jul 26th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. /*
  2. *
  3. * Money, xp, trophies
  4. * Change number inside value after coins, trophies and xp. Do not include any spaces!
  5. * Max coins = 999999, max trophies = 99999, max lvl xp = 1400000
  6. */
  7. var l = Object.keys(e);
  8. var values = {coins: 999999, trophies: 99999, xp: 1400000};
  9. for (var c = 0; c < l.length; c++) {
  10. var h = e[l[c]];
  11. if(h.schemaPrimativeID.includes("currency:trophy")){
  12. h.balance = values['trophies'];
  13. }
  14. else if(h.schemaPrimativeID.includes("stat:xp")){
  15. h.value = values['xp'];
  16. }
  17. else if(h.schemaPrimativeID.includes("currency:coin")){
  18. h.balance = values['coins'];
  19. }
  20. }
  21.  
  22.  
  23. /*
  24. *
  25. * Max all sidekicks level and maturity
  26. * You don't need to change anything in this ****
  27. *
  28. */
  29. var l = Object.keys(e);
  30. for (var c = 0; c < l.length; c++) {
  31. var h = e[l[c]];
  32. if(h.schemaPrimativeID.includes("_maturity")){
  33. h.value = 3;
  34. }
  35. else if(h.schemaPrimativeID.includes("_xp")){
  36. h.maximum = 240000;
  37. h.value = 240000;
  38. }
  39. else if(h.schemaPrimativeID.includes("_zodiac_bonus")){
  40. h.value = 2;
  41. }
  42. }
  43.  
  44.  
  45. /*
  46. *
  47. * Increase all characters damage and level
  48. * Change the numbers 80 to any lvl you want your characters to be. Note the warning below!
  49. * Any characters who have level higher than 50 will be stuck in the quests if you put them in! To take them out of the quest, you have * to set characters lvl to 50 or below
  50. *
  51. */
  52. var l = Object.keys(e);
  53. for (var c = 0; c < l.length; c++) {
  54. var h = e[l[c]];
  55. if(h.schemaPrimativeID.includes("_stat1")){
  56. h.maximum = 80;
  57. h.value = 80;
  58. }
  59. }
  60.  
  61.  
  62. /*
  63. *
  64. * Swap your sidekicks to any sidekick you wish
  65. * Edit r and t values with your sidekick id's
  66. *
  67. */
  68. var l = Object.keys(e);
  69. var r = "LC05"; //Sidekick code you wish to have
  70. var t = "FC13"; //Sidekicks code you wish to replace
  71. for (var c = 0; c < l.length; c++) {
  72. var h = e[l[c]];
  73. if(h.schemaPrimativeID === "sidekick:"+t+"_zodiac_bonus"){
  74. h.schemaPrimativeID = "sidekick:"+r+"_zodiac_bonus";
  75. }
  76. else if(h.schemaPrimativeID === "sidekick:"+t+"_zodiac"){
  77. h.schemaPrimativeID = "sidekick:"+r+"_zodiac";
  78. }
  79. else if(h.schemaPrimativeID === "sidekick:"+t+"_maturity"){
  80. h.schemaPrimativeID = "sidekick:"+r+"_maturity";
  81. }
  82. else if(h.schemaPrimativeID === "sidekick:"+t+"_xp"){
  83. h.schemaPrimativeID = "sidekick:"+r+"_xp";
  84. }
  85. else if(h.schemaPrimativeID === "sidekick:"+t){
  86. h.schemaPrimativeID = "sidekick:"+r;
  87. }
  88. }
  89.  
  90.  
  91. /*
  92. *
  93. * Unlock all your champions
  94. * You don't need to change anything in this ****
  95. *
  96. */
  97. var l = Object.keys(e);
  98. for (var c = 0; c < l.length; c++) {
  99. var h = e[l[c]];
  100. if(h.schemaPrimativeID.includes("item_character") && h.state.includes("locked")){
  101. h.state = "idle";
  102. }
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement