Question about server calculations

Maimai

Dalayan Beginner
I have my own annoying question!

Are all calculations serverside done as integers; or real numbers then a rounded version is sent to the client?

Example:

Say I have a +14% magic damage focus and I nuke for 10 damage, this would make the nuke 11.4 damage but the client would report it as 11 damage, does the mob actually lose 11.4 hitpoints serverside?

So if I cast two of these nukes it would actually lose a rounded 23hp or just 22hp?

Inquiring minds wish to know :)
 
Don't quote me, but I believe it's a integer rounded down. So in your case, it would do 11 damage both times.
 
And a followup: In what order are debuffs, spell adjusts, and mob minimum resists applied?

That is, let's say mob Foo has a minimum adjusted MR of 50 and a base MR of 75. I cast a tash on it which is -30, which would ordinarily bring the mob to its minimum of 50, with 5 left over. Then i cast Magical Bitchslap at the mob, which has a resist adjust of +10 (it is easy to resist a magic bitchslap because of Brown v Board of Education). Is the final resist of the mob 60 (75 - 30 to minimum of 50, then +10) or 55 (75 - 30 + 10 to make 55)?
 
Maimai said:
I have my own annoying question!

Are all calculations serverside done as integers; or real numbers then a rounded version is sent to the client?

Example:

Say I have a +14% magic damage focus and I nuke for 10 damage, this would make the nuke 11.4 damage but the client would report it as 11 damage, does the mob actually lose 11.4 hitpoints serverside?

So if I cast two of these nukes it would actually lose a rounded 23hp or just 22hp?

Inquiring minds wish to know :)

All calculations are done in complex numbers /nod
 
Thinkmeats said:
And a followup: In what order are debuffs, spell adjusts, and mob minimum resists applied?

That is, let's say mob Foo has a minimum adjusted MR of 50 and a base MR of 75. I cast a tash on it which is -30, which would ordinarily bring the mob to its minimum of 50, with 5 left over. Then i cast Magical Bitchslap at the mob, which has a resist adjust of +10 (it is easy to resist a magic bitchslap because of Brown v Board of Education). Is the final resist of the mob 60 (75 - 30 to minimum of 50, then +10) or 55 (75 - 30 + 10 to make 55)?

Minimum resist is always applied last. So it would be 75 - 30 = 45 + 10 = 55
 
another annoying question

regarding skill mods...
let's say i have a couple of items that increase 1hs skill... i'm already at the cap... does increasing the skill past the cap make any difference? if so, is there another cap at which point raising skill further with skill mods will cease to make a difference?
 
Re: another annoying question

catcherb said:
regarding skill mods...
let's say i have a couple of items that increase 1hs skill... i'm already at the cap... does increasing the skill past the cap make any difference? if so, is there another cap at which point raising skill further with skill mods will cease to make a difference?

Yes.

+25 is the max you can get from skill mods. So the max you could ever have in a skill is 275.
 
What's the haste cap on charm pets? I've heard 50% and 75% from different people, and don't want to needlessly endanger myself on charm breaks.
 
Back
Top Bottom