domingo
-
Posts
27 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by domingo
-
-
What bug does the patch fix? What features does the patch add?
Experience gained for higher level mobs should be capped max to player level + 4 -> thus 'con-red' mobs should give same experience as 'con-orange' mobs.
Source: WoWWiki:Formulas:Mob_XP, section Higher Level Mobs
For which SubVersion revision was the patch created?
5489
Is there a thread in the bug report section? If yes, please add a link to the thread.
no
Who has been writing this patch? Please include either forum user names or email addresses.
domingo
Index: Formulas.h =================================================================== --- Formulas.h (revision 5489) +++ Formulas.h (working copy) @@ -73,7 +73,12 @@ { const uint32 nBaseExp = content == CONTENT_1_60 ? 45 : 235; if( mob_level >= pl_level ) - return ((pl_level*5 + nBaseExp) * (20 + mob_level - pl_level)/10 + 1)/2; + { + uint32 nLevelDiff = mob_level - pl_level; + if (nLevelDiff > 4) + nLevelDiff = 4; + return ((pl_level*5 + nBaseExp) * (20 + nLevelDiff)/10 + 1)/2; + } else { uint32 gray_level = GetGrayLevel(pl_level);
[patch][5828]dealflatdamage
in ... acceptedOld
Posted
So simple :-)