Mascarada / epgp

Automatically exported from code.google.com/p/epgp
0 stars 0 forks source link

Enhancement Request: Uniform GP cost between normal and heroic items #688

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The GP cost for heroic raid item levels are not as uniform as their normal mode 
brethren. Using the new GP formula, the GP_BASE values for the various raid 
tiers are:

Tier 11
ilvl 359 (normal) -- 1000 GP 
ilvl 372 (heroic) -- 1414 GP (expected 1500)

(Presumed) Tier 12
ilvl 385 (normal) -- 2000 GP
ilvl 398 (heroic) -- 2829 GP (expected 3000)

(Presumed) Tier 13
ilvl 411 (normal) -- 4000 GP
ilvl 424 (heroic) -- 5657 GP (expected 6000)

(Presumed) Tier 14
ilvl 437 (normal) -- 8000 GP
ilvl 450 (heroic) -- 11314 GP (expected 12000)

I have attached a modified LibGearPoints-1.0.lua where the expected GP value is 
given for heroic loot. The fix involved checking to see if GP_BASE can be 
wholly divided by 50 (the greatest common divisor of 500, 750, 900, 1000, 1500, 
and 2000). If it cannot be wholly divided by 50, the code recalculates the 
GP_BASE by getting the GP_BASE for an item 13 levels below and 13 level above, 
then averaging the values. This returns the expected GP cost for heroic level 
items listed in my table above.

I have tested the values on the presumed item levels for all 4 Cataclysm tiers, 
with all slot modifiers, and every test returned the expected results. I am by 
no means an expert LUA programmer, nor am I a math wizard. There may be a 
better way to implement this.

Original issue reported on code.google.com by parapu...@gmail.com on 22 Jan 2011 at 6:55

Attachments:

GoogleCodeExporter commented 8 years ago
The formula is correct. To see this compare:
359 -> 372 -> 385

Current implementation: 1000 -> 1414 -> 2000.  2000 = 1.414 * 1414, 1414 = 
1.414 * 1000. At each half tier the GP cost goes up by 41%

Proposal: 1000 -> 1500 -> 2000. First step is 50% but then 13 ilvls higher is 
only 33% more expensive. That's wrong.

Original comment by evlogimenos on 22 Jan 2011 at 11:23