Mercurial > mm7
comparison Player.h @ 488:a3939d5067c4
Spells
author | Nomad |
---|---|
date | Wed, 27 Feb 2013 22:15:30 +0200 |
parents | 4bd56919f075 |
children | 6fa3ff8ef729 |
comparison
equal
deleted
inserted
replaced
486:7887a9cf9e7b | 488:a3939d5067c4 |
---|---|
3 #include "Spells.h" | 3 #include "Spells.h" |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 #define PLAYER_BUFF_BLESS 1 |
9 #define PLAYER_BUFF_FATE 4 | |
10 #define PLAYER_BUFF_HAMMERHANDS 6 | |
11 #define PLAYER_BUFF_PAIN_REFLECTION 10 | |
12 #define PLAYER_BUFF_PRESERVATION 11 | |
13 #define PLAYER_BUFF_REGENERATION 12 | |
9 | 14 |
10 | 15 |
11 /* 301 */ | 16 /* 301 */ |
12 enum PlayerSpeech | 17 enum PlayerSpeech |
13 { | 18 { |
563 | 568 |
564 inline bool Weak() {return pConditions[Condition::Condition_Weak] != 0;} | 569 inline bool Weak() {return pConditions[Condition::Condition_Weak] != 0;} |
565 inline bool Dead() {return pConditions[Condition::Condition_Dead] != 0;} | 570 inline bool Dead() {return pConditions[Condition::Condition_Dead] != 0;} |
566 inline bool Eradicated() {return pConditions[Condition::Condition_Eradicated] != 0;} | 571 inline bool Eradicated() {return pConditions[Condition::Condition_Eradicated] != 0;} |
567 inline bool Zombie() {return pConditions[Condition::Condition_Zombie] != 0;} | 572 inline bool Zombie() {return pConditions[Condition::Condition_Zombie] != 0;} |
573 inline bool Cursed() {return pConditions[Condition::Condition_Cursed] != 0;} | |
568 | 574 |
569 | 575 |
570 | 576 |
571 __int64 pConditions[20]; | 577 __int64 pConditions[20]; |
572 unsigned __int64 uExperience; | 578 unsigned __int64 uExperience; |