This project is read-only.

TankDK HP/Armor calculations

Topics: Rawr.TankDK
Aug 16, 2009 at 12:30 AM

Are incorrect. My suspicion is that Frost Presence multipliers have not been correctly updated for 3.2, but I'm not entirely sure as doing the math myself on my in-game stats does not yield the same results as Rawr is displaying.

Unbuffed (including no Frost Presence) I currently have 34806 HP in a Blood spec. Putting on Frost Presence, my HP goes up to 36406. Rawr, after a fresh import from the Armory and no buffs enabled, displays my HP as 40056. The old Frost Presence would have put me at 38286. I'm not sure where this extra health is coming from, but it certainly isn't correct.

As well, Armor in game is 25462 where in Rawr it is 28114.

For reference, my character is Lichloathe/Darkspear/US.

Aug 17, 2009 at 7:36 PM

No one seems to have responded to this, so I'm going to go ahead and look into it myself and submit a patch if I can find and fix the problem. When I do so, should I include the entire module or only the files that I've changed?

Aug 17, 2009 at 7:46 PM

For starters, bug reports should be in the Issue Tracker.

Many of the 3.2 changes for TankDKs are in but haven't been published yet.  I'll have to verify this specific defect. 

Aug 17, 2009 at 8:46 PM

That clarifies things. I don't think it's entirely the 3.2 differences that cause the discrepancy. I went ahead and made the updates locally (V3W 2%->1% Stamina per point, 10% Health->6% Stamina for Frost Presence, 3%->2% Armor per point for Toughness) and in testing the Health was still inaccurate. The Armor was correct, however.


Aug 17, 2009 at 11:17 PM

Any chance you have a special effect that buffs your HP (such as Vampiric Blood) that accounts for the difference?

Most models will average this in as a special effect.  +15% of your HP for 20secs every 2mins = 2.5% increase in HP.  Not sure what the TankDK model does, but lots of models include these averaged out over time and could be the extra HP you're noticing.

Aug 17, 2009 at 11:35 PM

Yes, that's probably the case.  I don't have the code in front of me at the moment to check, but I know that if there are any "global" style buffs like that, I use the special effects code to average the buffs out over time.  There are only some specific cases where I have custom code to deal w/ things like that. 

Aug 18, 2009 at 12:11 AM
Edited Aug 18, 2009 at 12:18 AM

If that's the way VB is being calculated, ebs, then that seems to make sense, as the Health I'm seeing is roughly 2% more than it should be. That seems to be fairly misleading for a user who wouldn't necessarily know this. While the ratio would technically be correct for comparing gear, it would definitely be confusing for someone looking at their stats in Rawr and then their stats in game and having them not match up. Even as a developer my first instinct was to blame that error on Rawr's calculations being wrong, not to think that Vampiric Blood might for some reason be averaging its health bonus out over the entire duration of its cooldown.

If I might make a suggestion, it may be a good idea to not have VB work in this way, or at the very least have the actual health without this averaging displayed.

Aug 18, 2009 at 12:35 AM

Agreed.  I've got a few things on my plate at the moment, and this is one of them.  I made the assumption when I adopted the TankDK model that people would want their effective stats, and not their real in-game stats.  This was a design defect on my part. 

Once I get 3.2 finished, and start working on the Rawr 3 work, I'll also be migrating to have stats display in-game values and then a secondary value that would be the effective value w/ cooldowns and such.


Aug 18, 2009 at 1:39 AM

That's awesome to hear, Shazear. I didn't realize that Rawr only (apparently) displays "effective" stats and not actual, in-game values. I wish I had known this earlier.


Aug 18, 2009 at 2:52 AM

Yet another reason why we may want to consider having a "Paper Doll" stat section, and then an "Effective Stat" section.  Perhaps covered with tooltips, and with options to use or not use cooldowns (esp for tanks, where this makes a bigger impact than for DPS or Heals who typically spam their CDs every time they're available).

DPSWarr made the design decision not to include Recklessness (next 3 attacks are critical strikes, 3min CD), in part because of the confusion of "why is my crit rating 0.04% higher?" and in part because it's a situational ability that doesn't get used often, and many people have different times to use them (some keep it on CD, some use it at start of fight and at execution range, some use it whenever flurry falls off, etc).