#include <being.hpp>
Public Attributes | |
unsigned short | base |
Base amount of damage. | |
unsigned short | delta |
Additional damage when lucky. | |
unsigned short | cth |
Chance to hit. | |
unsigned char | element |
Elemental damage. | |
unsigned char | type |
Damage type: Physical or magical? | |
std::list< size_t > | usedSkills |
Skills used by source (needed for exp calculation). |
Definition at line 62 of file being.hpp.
unsigned short Damage::base |
Base amount of damage.
Definition at line 64 of file being.hpp.
Referenced by Being::damage(), Monster::perform(), and Character::perform().
unsigned short Damage::delta |
Additional damage when lucky.
Definition at line 65 of file being.hpp.
Referenced by Being::damage(), Monster::perform(), and Character::perform().
unsigned short Damage::cth |
Chance to hit.
Opposes the evade attribute.
Definition at line 66 of file being.hpp.
Referenced by Being::damage(), Monster::perform(), and Character::perform().
unsigned char Damage::element |
Elemental damage.
Definition at line 67 of file being.hpp.
Referenced by Being::damage(), Monster::perform(), and Character::perform().