Thread: Game Mechanics: Melee PVP Buff During Classic
View Single Post
  #44  
Old 11-06-2014, 02:00 AM
Pudge Pudge is offline
Planar Protector

Pudge's Avatar

Join Date: Mar 2011
Posts: 1,523
Default

Based on the code above it looks to me like the bonus on a level 60 with an oggok cleaver should be:

Base: ((GetLevel(60) - 7) / 3) =
______________________ 53/3 = 17.666

Final: return base + (Weapon->Delay - 31)/3 =
_______________________ 17.666 + (60 - 31)/3 =
____________________________ 17.666 + 9.666 = 27.333

And for a weighted axe should be:

Base: ((GetLevel(60) - 7) / 3) =
______________________ 53/3 = 17.666

Final: return base + (Weapon->Delay - 31)/3 =
______________________ 17.666 + (150 - 31)/3 =
___________________________ 17.666 + 39.666 = 57.333

That is a difference of exactly 30. The difference in my test was 35, but the regular damage of the weighted axe is 1 point higher, so I'm guessing that's what accounts for it (without having the code in front of me, I bet the basic calc for max damage is 5*damage).

So.. 2h damage bonus working as intended! (Unless something changed since may 2013. I know my numbers are old.)
__________________
Quote:
Originally Posted by heartbrand View Post
Beware of this poster, he makes unsubstantiated claims and attacks on people
Reply With Quote