Mercurial > mm7
diff Player.h @ 1537:fed56133bf8a
Player:GetSkillBonus cleanup, multiplier evaluation moved to a separate function, variable clanup, renaming, scope reduction
author | Grumpy7 |
---|---|
date | Sat, 07 Sep 2013 05:01:12 +0200 |
parents | 53265d238d94 |
children | cdb7fafede0c |
line wrap: on
line diff
--- a/Player.h Sat Sep 07 04:15:06 2013 +0200 +++ b/Player.h Sat Sep 07 05:01:12 2013 +0200 @@ -621,6 +621,7 @@ inline bool IsMale() { return GetSexByVoice() == SEX_MALE;} inline bool IsFemale() { return !IsMale();} + unsigned int GetMultiplierForMastery(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4); __int64 pConditions[20]; unsigned __int64 uExperience; char pName[16];