View Single Post
Old 02/16/08, 4:18 AM   #1919 (permalink)
 Astrylian
Rawr
 
Astrylian's Avatar
 
Night Elf Druid
 
Eonar
I figure a couple people here may get a chuckle out of this...

I spent a few hours tonight attempting to fix two bugs in the Rawr.Cat model. Or at least, I thought they were bugs. Turns out that in both cases, I had just made Rawr too accurate.

First, I spent a while trying to figure out why it was rating Belt of Natural Power with 2x 12sta gems higher on dps than Belt of Natural Power with 2x 10agi gems. I searched and searched, and just couldn't figure out why it would think that 24sta > 20agi for dps... Then I realized that I had "Enforce Metagem Requirements" turned on, and that I needed a blue gem to activate my metagem. It really was saying that 24sta+12agi+3%dmg on crits > 20agi, which is quite true.

Then I spent a while trying to figure out a bug in my new Relative Stat Values chart. This chart includes several fake items which give +1 to a variety of stats, so that you can see how much 1agi is worth compared to 1str, or 1hit, or 1haste, etc. I would occasionally see it giving skyhigh values for agi, just over double what I thought it should have been. Then I'd change on piece of gear, and it'd go back to the normal value. This wasn't just slight changes as you'd expect from scaling of the different stats, this was huge changes. In one case, I was swapping between 2 identical chestpieces, except one had an 8agi gem, and the other had a 5agi/5hit gem. You'd expect 1agi to be worth very slightly more when the 8agi gem was equipped, but instead, 1agi was valued twice as highly with the 5agi/5hit gem equipped than with the 8agi. I struggled for over an hour to figure out why, when it hit me. 1agi really was worth twice as much in that case, because at that exact agi amount, adding 1agi, combined with the rounding that WoW does, from SotF and BoK, rounded up to 2 agi. (For example, BoK gives 10% more agi... You've got 9agi now, BoK gives you 9.9, but WoW still rounds that down for a total of 9. Add 1 agi to give yourself 10, BoK gives you 11, and that rounds to 11. Started with 9, added 1 agi, and got 11.) I still haven't figured out exactly how I want to make that more/less accurate (or rather, more informative), but at least for b11, it'll probably really be doing the value of 10agi, divided by 10. That makes is bounce up and down a bit depending on how many rounding breaks are within that set of 10, and it also scales it up slightly as agi increases, but it's at least closer.
 
User is offline.
Reply With Quote