Old_Shinigami

poe pricecheck

Jul 22nd, 2025
684
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var Currency = [
  2. ["Rogue's Marker",27],
  3. ["Scroll of Wisdom",100],
  4. ["Portal Scroll",250],
  5. ["Orb of Transmutation",400],
  6. ["Wild Crystallised Lifeforce",414],
  7. ["Jeweller's Orb",440],
  8. ["Primal Crystallised Lifeforce",488],
  9. ["Vivid Crystallised Lifeforce",500],
  10. ["Lesser Eldritch Ichor",800],
  11. ["Orb of Alchemy",1000],
  12. ["Orb of Binding",1100],
  13. ["Blacksmith's Whetstone",1250],
  14. ["Chromatic Orb",1300],
  15. ["Engineer's Orb",1430],
  16. ["Orb of Chance",1500],
  17. ["Instilling Orb",1667],
  18. ["Orb of Augmentation",1700],
  19. ["Orb of Fusing",1760],
  20. ["Orb of Alteration",2000],
  21. ["Lesser Eldritch Ember",2200],
  22. ["Armourer's Scrap",2500],
  23. ["Orb of Horizons",4000],
  24. ["Orb of Unmaking",4700],
  25. ["Blessed Orb",5000],
  26. ["Vaal Orb",5500],
  27. ["Greater Eldritch Ichor",6000],
  28. ["Glassblower's Bauble",6500],
  29. ["Orb of Scouring",7000],
  30. ["Tainted Blacksmith's Whetstone",7400],
  31. ["Regal Orb",8000],
  32. ["Tainter Jeweller's Orb",8500],
  33. ["Cartographer's Chisel",9000],
  34. ["Chaos Orb",10000],
  35. ["Orb of Regret",11250],
  36. ["Tainted Armourer's Scrap",15000],
  37. ["Enkindling Orb",16000],
  38. ["Greater Eldritch Ember",17000],
  39. ["Gemcutter's Prism",20000],
  40. ["Tainted Chromatic Orb",21000],
  41. ["Harbinger's Orb",27500],
  42. ["Stacked Deck",30000],
  43. ["Grand Eldritch Ichor",36000],
  44. ["Orb of Annulment",55000],
  45. ["Tainted Mythic Orb",66600],
  46. ["Tainted Orb of Fusing",70000],
  47. ["Tainted Chaos Orb",73300],
  48. ["Ancient Orb",80000],
  49. ["Grand Eldritch Ember",136700],
  50. ["Exalted Orb",200000],
  51. ["Eldritch Exalted Orb",310000],
  52. ["Maven's Chisel of Scarabs",320000],
  53. ["Maven's Chisel of Procurement",330000],
  54. ["Maven's Chisel of Divination",430000],
  55. ["Sacred Orb",450000],
  56. ["Eldritch Orb of Annulment",460000],
  57. ["Velied Chaos Orb",500000],
  58. ["Eldritch Chaos Orb",580000],
  59. ["Maven's Chisel of Proliferation",660000],
  60. ["Maven's Chisel of Avarice",1150000],
  61. ["Sacred Crystallised Lifeforce",1280000],
  62. ["Tainted Exalted Orb",1700000],
  63. ["Divine Orb",2050000],
  64. ["Exceptional Eldritch Ichor",2200000],
  65. ["Tempering Orb",2270000],
  66. ["Exceptional Eldritch Ember",2790000],
  67. ["Redeemer's Exalted Orb",4100000],
  68. ["Orb of Conflict",4300000],
  69. ["Warlord's Exalted Orb",4510000],
  70. ["Tailoring Orb",5130000],
  71. ["Hunter's Exalted Orb",6150000],
  72. ["Crusader's Exalted Orb",6970000],
  73. ["Awakener's Orb",9640000],
  74. ["Fracturing Orb",14350000],
  75. ["Orb of Dominance",15170000],
  76. ["Tainted Divine Teardrop",15370000],
  77. ["Velied Exalted Orb",61500000],
  78. ["Reflecting Mist",65600000],
  79. ["Hinekora's Lock",348500000],
  80. ["Mirror of Kalandra",2255000000]], priceRange = [
  81. [1e3,1e4,3,0,9],
  82. [1e4,1e5,10,0,32],
  83. [1e5,1e6,25,0,46],
  84. [1e6,1e7,56,0,57],
  85. [1e7,1e8,87,10,71],
  86. [1e8,1e9,102,33,76],
  87. [3e9,1e10,109,47,78],
  88. [1e10,1e11,112,58,78]];
  89. var r = Math.floor(Math.random()*priceRange[priceRange.length-1][2]),tier = 0;
  90. for (let i=0; i<priceRange.length-1; i++) if (r>=priceRange[i][2]) tier = i+1;
  91. var curr = priceRange[tier][3]+Math.floor(Math.random()*(1+priceRange[tier][4]-priceRange[tier][3]));
  92. var price = priceRange[tier][0]+Math.floor(Math.random()*(1+priceRange[tier][1]-priceRange[tier][0]));
  93. price = Math.floor(price/Currency[curr][1]);
  94. if (price>=1000) price = price.toString().split('').reverse().join('').replace(/(.{3})(?=.)/g,"$1.").split('').reverse().join('');
  95. var s = price+"x "+Currency[curr][0]; s
Advertisement
Add Comment
Please, Sign In to add comment