comparison Player.h @ 1601:5ac59bcb68e9

started extracting enchantment effects to a helper class
author Grumpy7
date Thu, 12 Sep 2013 09:53:41 +0200
parents 33a82b36c3e8
children 4b79ff62df3a
comparison
equal deleted inserted replaced
1600:0016b08ab621 1601:5ac59bcb68e9
625 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;} 625 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;}
626 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;} 626 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;}
627 627
628 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;} 628 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;}
629 inline bool IsFemale() { return !IsMale();} 629 inline bool IsFemale() { return !IsMale();}
630 void GetItemBonusSpecialEnchantment(int enchantmentId, CHARACTER_ATTRIBUTE_TYPE attrToGet, int* additiveBonus, int* halfSkillBonus);
630 __int64 pConditions[20]; 631 __int64 pConditions[20];
631 unsigned __int64 uExperience; 632 unsigned __int64 uExperience;
632 char pName[16]; 633 char pName[16];
633 PLAYER_SEX uSex; 634 PLAYER_SEX uSex;
634 PLAYER_CLASS_TYPE classType; 635 PLAYER_CLASS_TYPE classType;