Advertisement
zharry

Everwing Variable Insertion

Oct 19th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SUB - https://www.youtube.com/TomasChannel
  2.  
  3. Ctrl+F: InstanceCache.prototype.writeDirtyInstancesToState
  4. var _r1 = new RegExp("Currency:coi.*");
  5. for (var i = 0; i < e.instances.length; i++) {
  6.     if (_r1.test(e.instances[i].modelID)) {
  7.         e.instances[i].value = 999999;
  8.     }
  9. }
  10. _r1 = new RegExp("Currency:tro.*");
  11. for (var i = 0; i < e.instances.length; i++) {
  12.     if (_r1.test(e.instances[i].modelID)) {
  13.         e.instances[i].value = 99999;
  14.     }
  15. }
  16.  
  17. Level 10 Dragon:
  18. maturity: 1
  19. xp: 21400
  20.  
  21. Level 20 Dragon:
  22. maturity: 2
  23. xp: 62800
  24.  
  25. Level 30 Dragon:
  26. maturity: 3
  27. xp: 125800
  28. zodiacBonus: 3
  29.  
  30. for (var i = 0; i < e.instances.length; i++) {
  31.     if ((new RegExp("Item:sidekick.*")).test(e.instances[i].modelID) && e.instances[i].state == "idle") {
  32.         e.instances[i].stats.maturity = 1;
  33.         e.instances[i].stats.xp = 21400;
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement