comparison Player.h @ 1567:9f8b3e904e14

Player::ReceiveDamage, very small edits; prepended "Is" to item functions returning bool values (broken, indetified, stolen)
author Grumpy7
date Sun, 08 Sep 2013 05:22:33 +0200
parents 0311debb684c
children 5658d0f3b5ee
comparison
equal deleted inserted replaced
1566:1e5086f7d401 1567:9f8b3e904e14
615 void SetZombie(bool state); 615 void SetZombie(bool state);
616 616
617 void SetCondWeakWithBlockCheck (int blockable); 617 void SetCondWeakWithBlockCheck (int blockable);
618 void SetCondInsaneWithBlockCheck (int blockable); 618 void SetCondInsaneWithBlockCheck (int blockable);
619 void SetCondDeadWithBlockCheck (int blockable); 619 void SetCondDeadWithBlockCheck (int blockable);
620 void SetCondUnconsciousWithBlockCheck( int blockable );
620 621
621 inline bool IsRaceHuman() {return GetRace() == CHARACTER_RACE_HUMAN;} 622 inline bool IsRaceHuman() {return GetRace() == CHARACTER_RACE_HUMAN;}
622 inline bool IsRaceDwarf() {return GetRace() == CHARACTER_RACE_DWARF;} 623 inline bool IsRaceDwarf() {return GetRace() == CHARACTER_RACE_DWARF;}
623 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;} 624 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;}
624 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;} 625 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;}