#include <char.h>
◆ Char()
◆ act()
◆ add()
| void Char::add |
( |
Buff * | buff | ) |
|
◆ attack()
| bool Char::attack |
( |
Char * | enemy | ) |
|
◆ attackProc()
| virtual int Char::attackProc |
( |
Char * | enemy, |
|
|
int | damage ) |
|
inlinevirtual |
Reimplemented in Bat, Elemental, Goo, King::Undead, Mimic, MirrorImage, Monk, Scorpio, Spinner, Succubus, and Yog::RottingFist.
◆ attackSkill()
| virtual int Char::attackSkill |
( |
Char * | target | ) |
|
|
inlinevirtual |
Reimplemented in Bat, Brute, Crab, DM300, Elemental, Eye, Gnoll, Golem, Goo, Hero, King, King::Undead, Mimic, MirrorImage, Monk, Rat, Scorpio, Shaman, Spinner, Swarm, Tengu, Thief, Warlock, Wraith, Yog::BurningFist, Yog::Larva, and Yog::RottingFist.
◆ buff()
| Buff * Char::buff |
( |
const std::string & | c | ) |
|
◆ Buffs()
| void Char::Buffs |
( |
const std::string & | c, |
|
|
std::set< Buff * > & | re ) |
◆ buffSet()
| std::set< Buff * > Char::buffSet |
( |
const std::string & | c | ) |
|
◆ CLASSOBJECT()
| Char::CLASSOBJECT |
( |
Char | | ) |
|
◆ damage()
| void Char::damage |
( |
int | dmg, |
|
|
const std::string & | src ) |
|
virtual |
◆ damageRoll()
| virtual int Char::damageRoll |
( |
| ) |
|
|
inlinevirtual |
Reimplemented in Bat, Brute, Crab, DM300, Elemental, Gnoll, Golem, Goo, King, King::Undead, Mimic, MirrorImage, Monk, Rat, Scorpio, Shaman, Skeleton, Spinner, Succubus, Swarm, Tengu, Thief, Warlock, Wraith, Yog::BurningFist, Yog::Larva, and Yog::RottingFist.
◆ defenseProc()
| virtual int Char::defenseProc |
( |
Char * | enemy, |
|
|
int | damage ) |
|
inlinevirtual |
◆ defenseSkill()
| virtual int Char::defenseSkill |
( |
Char * | enemy | ) |
|
|
inlinevirtual |
◆ defenseVerb()
| virtual std::string Char::defenseVerb |
( |
| ) |
|
|
inlinevirtual |
◆ destroy()
◆ die()
| void Char::die |
( |
const std::string & | src | ) |
|
|
virtual |
Reimplemented in Crab, DM300, Gnoll, Golem, Goo, King, King::Undead, Mimic, Mob, Monk, Rat, Skeleton, Tengu, Yog::BurningFist, Yog, and Yog::RottingFist.
◆ distance()
| int Char::distance |
( |
Char * | other | ) |
|
◆ dr()
Reimplemented in Bat, Brute, Crab, DM300, Elemental, Eye, Gnoll, Golem, Goo, King, King::Undead, Monk, Rat, Scorpio, Shaman, Spinner, Tengu, Thief, Warlock, Yog::BurningFist, Yog::Larva, and Yog::RottingFist.
◆ hit()
| bool Char::hit |
( |
Char * | attacker, |
|
|
Char * | defender, |
|
|
bool | magic ) |
|
static |
◆ immunities()
| HashSet< std::string > & Char::immunities |
( |
| ) |
|
◆ immunitiesContain()
| bool Char::immunitiesContain |
( |
const std::string & | cls | ) |
|
◆ isAlive()
◆ isCharmedBy()
| bool Char::isCharmedBy |
( |
Char * | ch | ) |
|
◆ move()
| void Char::move |
( |
int | step | ) |
|
|
virtual |
◆ onAttackComplete()
| void Char::onAttackComplete |
( |
| ) |
|
|
inline |
◆ onMotionComplete()
| void Char::onMotionComplete |
( |
| ) |
|
|
inline |
◆ onOperateComplete()
| void Char::onOperateComplete |
( |
| ) |
|
|
inline |
◆ onRemove()
◆ remove() [1/2]
| void Char::remove |
( |
Buff * | buff | ) |
|
◆ remove() [2/2]
| void Char::remove |
( |
const std::string & | buffClass | ) |
|
◆ resistances()
| HashSet< std::string > & Char::resistances |
( |
| ) |
|
◆ restoreFromBundle()
| void Char::restoreFromBundle |
( |
Bundle * | bundle | ) |
|
|
virtual |
◆ speed()
◆ spend()
| void Char::spend |
( |
float | time | ) |
|
|
protectedvirtual |
Reimplemented from Actor.
Reimplemented in Hero.
◆ stealth()
| virtual int Char::stealth |
( |
| ) |
|
|
inlinevirtual |
◆ storeInBundle()
| void Char::storeInBundle |
( |
Bundle * | bundle | ) |
|
|
virtual |
◆ updateSpriteState()
| void Char::updateSpriteState |
( |
| ) |
|
◆ baseSpeed
◆ buffs
| std::set<Buff*> Char::buffs |
◆ flying
◆ HP
◆ HT
◆ invisible
◆ name
◆ paralysed
◆ pos
◆ rooted
◆ sprite
◆ TXT_DEFEAT
| const std::string Char::TXT_DEFEAT = BPT::getText("lang.s_defeated_s") |
|
staticprotected |
◆ TXT_HIT
| const std::string Char::TXT_HIT = BPT::getText("lang.s_hit_s") |
|
staticprotected |
◆ TXT_KILL
| const std::string Char::TXT_KILL = BPT::getText("lang.killed_you") |
|
staticprotected |
◆ viewDistance
The documentation for this class was generated from the following files: