comparison 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
comparison
equal deleted inserted replaced
1536:e264ce95f27d 1537:fed56133bf8a
619 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;} 619 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;}
620 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;} 620 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;}
621 621
622 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;} 622 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;}
623 inline bool IsFemale() { return !IsMale();} 623 inline bool IsFemale() { return !IsMale();}
624 unsigned int GetMultiplierForMastery(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4);
624 __int64 pConditions[20]; 625 __int64 pConditions[20];
625 unsigned __int64 uExperience; 626 unsigned __int64 uExperience;
626 char pName[16]; 627 char pName[16];
627 PLAYER_SEX uSex; 628 PLAYER_SEX uSex;
628 PLAYER_CLASS_TYPE classType; 629 PLAYER_CLASS_TYPE classType;