BLOODLUST not calculating correctly?

Got a problem? Let us know!

BLOODLUST not calculating correctly?

Postby flaZer on Wed Sep 07, 2011 2:55 am

I was questing CREEPLIGHT RUINS with a Berzerker Orc and at lvl 1, had:
7 attack
20 health (wearing a +10 pendant of health)
12 mana

I was battling a lvl 2 Golem an as such, my BLOODLUST kick in (+30% damage on normal attacks) yet, rather than int(9.1), my attack was instead 8 - Far as I am aware, Golems have no Physical Resist.

thx for reading.
flaZer
 
Posts: 6
Joined: Tue Aug 02, 2011 1:15 pm

Re: BLOODLUST not calculating correctly?

Postby dislekcia on Fri Sep 09, 2011 1:36 pm

Are you sure your base damage was 7? Your attack is made of two numbers, base damage and bonus damage (measured as a percentage). The math is exactly the same everywhere else, so I doubt that you were on 7 pure base damage.
User avatar
dislekcia
 
Posts: 1736
Joined: Fri Mar 25, 2011 5:58 pm
Location: Cape Town, South Africa

Re: BLOODLUST not calculating correctly?

Postby q 3 on Sun Sep 18, 2011 11:22 pm

I've noticed a similar issue with my Warlords often dealing 1 less damage than I expected, after manually recalculating bonus damage with their +30% boost. For example, at 5 base damage with 10% bonus damage, I expect to deal 7 damage: 5 + 5 * (10% + 30%) = 5 + 5 * 0.4 = 7. However, in practice a Warlord (and a Berserker, too, if I'm not mistaken) would only deal 6 damage.

After a bit of testing, I think I've figured out what's going on: Warlords (and Berserkers, too, I think) are having their bonus damage rounded down twice. Ordinarily the damage calculation is base damage * bonus damage, rounded down (so a character with 5 base damage and 10% bonus damage is rounded down from 5.5 to 5). However, the +30% bonus for Warlords is not simply added to their bonus damage, but rather calculated separately. In the above example, what happens is the Warlord does 5 + (5 * 0.1 = 0.5) + (5 * 0.3 = 1.5), with both of the bonuses being rounded down so the initial 10% bonus gets rounded down to 0 and the 30% bonus gets rounded down to 1.

I'm not sure if this is intentional or not; it's definitely not how it worked in the alpha - in the alpha, Warlords had their +30% added to bonus damage in the displayed calculation, while Berserkers got the full effect of theirs without rounding down twice. (Although Warlords no longer have their bonus included in the displayed value, they do have one advantage over their alpha counterparts in that the bonus is added if you're reduced to <50% HP after the enemy's first strike and applies to your first attack, whereas in the alpha the bonus doesn't kick in until after you've attacked.) I think I'd prefer the way it works in the alpha, but this shouldn't ever create more than a 1 damage discrepancy so I suppose it's not a big deal. It has been frustrating when I ended up leaving an enemy with 1 or 2 HP remaining instead of killing it as I had expected to, but now that I know the actual formula I won't make that mistake again; if it stays this way, it might be a good idea to have some clarification since I suspect most players won't figure out why they are doing less damage than they expected, at least not immediately.

EDIT: I just did a bit of testing with the Thief and it appears that his Stabber bonus also rounds down twice, although from a quick test in the latest alpha version it seems that he had the same issue back then... weird that no one seems to have noticed the discrepancy so far (especially since in the alpha he's the only one thus affected, as far as I can tell). Priests may or may not have the same issue; since a 100% bonus will never have a remainder I can't tell, and it's irrelevant for them anyway.
q 3
 
Posts: 775
Joined: Fri Jun 24, 2011 5:36 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests