My Project
 
Loading...
Searching...
No Matches
Yog::RottingFist Class Reference

#include <yog.h>

Inheritance diagram for Yog::RottingFist:
Collaboration diagram for Yog::RottingFist:

Public Member Functions

virtual CharSpriteSprite ()
 
virtual std::string getClassName ()
 
 RottingFist ()
 
virtual void die (const std::string &cause)
 
virtual int attackSkill (Char *target)
 
virtual int damageRoll ()
 
virtual int dr ()
 
virtual int attackProc (Char *enemy, int damage)
 
virtual bool act ()
 
virtual std::string description ()
 
- Public Member Functions inherited from Mob
 Mob ()
 
virtual void storeInBundle (Bundle *bundle)
 
virtual void restoreFromBundle (Bundle *bundle)
 
virtual void add (Buff *buff)
 
virtual void remove (Buff *buff)
 
virtual void move (int step)
 
virtual void onAttackComplete ()
 
virtual int defenseSkill (Char *enemy)
 
virtual int defenseProc (Char *enemy, int damage)
 
void aggro (Char *ch)
 
virtual void notice ()
 
virtual void beckon (int cell)
 
virtual void damage (int dmg, const std::string &src)
 
void yell (const std::string &str)
 
virtual void destroy ()
 
int exp ()
 
- Public Member Functions inherited from Char
 Char ()
 
 CLASSOBJECT (Char)
 
HashSet< std::string > & resistances ()
 
HashSet< std::string > & immunities ()
 
bool immunitiesContain (const std::string &cls)
 
void add (Buff *buff)
 
void remove (Buff *buff)
 
void remove (const std::string &buffClass)
 
bool attack (Char *enemy)
 
virtual std::string defenseVerb ()
 
float speed ()
 
void destroy ()
 
bool isAlive ()
 
void Buffs (const std::string &c, std::set< Buff * > &re)
 
Buffbuff (const std::string &c)
 
std::set< Buff * > buffSet (const std::string &c)
 
bool isCharmedBy (Char *ch)
 
void updateSpriteState ()
 
virtual int stealth ()
 
int distance (Char *other)
 
void onMotionComplete ()
 
void onAttackComplete ()
 
void onOperateComplete ()
 
- Public Member Functions inherited from Actor
 Actor ()
 
int Id ()
 
void next ()
 
- Public Member Functions inherited from Object
virtual std::string getObject ()=0
 

Static Public Member Functions

static MobCreateRottingFist ()
 
- Static Public Member Functions inherited from Char
static bool hit (Char *attacker, Char *defender, bool magic)
 
- Static Public Member Functions inherited from Actor
static void fixTime ()
 
static void clear ()
 
static CharfindChar (int pos)
 
static ActorfindById (int id)
 
static void init ()
 
static void addDelayed (Actor *actor, float delay)
 
static void remove (Actor *actor)
 
static void add (Actor *actor)
 
static void occupyCell (Char *ch)
 
static void freeCell (int pos)
 
static void process ()
 

Additional Inherited Members

- Public Attributes inherited from Mob
bool hostile
 
AiStateSLEEPEING
 
AiStateHUNTING
 
AiStateWANDERING
 
AiStateFLEEING
 
AiStatePASSIVE
 
AiStatestate
 
- Public Attributes inherited from Char
int pos
 
std::string name
 
int HT
 
int HP
 
CharSpritesprite
 
bool paralysed
 
bool rooted
 
bool flying
 
int invisible
 
int viewDistance
 
std::set< Buff * > buffs
 
- Static Public Attributes inherited from Actor
static const int TICK = 1
 
static HashSet< Actor * > all
 
- Protected Member Functions inherited from Mob
CharchooseEnemy ()
 
bool moveSprite (int from, int to)
 
virtual bool canAttack (Char *enemy)
 
virtual bool getCloser (int target)
 
virtual bool getFurther (int target)
 
virtual float attackDelay ()
 
virtual bool doAttack (Char *enemy)
 
- Protected Member Functions inherited from Char
virtual void spend (float time)
 
virtual void onRemove ()
 
- Protected Member Functions inherited from Actor
void postpone (float time)
 
float cooldown ()
 
void diactivate ()
 
virtual void onAdd ()
 
- Protected Attributes inherited from Mob
int target
 
int _defenseSkill
 
int EXP
 
int maxLvl
 
Charenemy
 
bool enemySeen
 
bool alerted
 
float lootChance
 
- Protected Attributes inherited from Char
float baseSpeed
 
- Static Protected Attributes inherited from Mob
static const String TXT_ECHO = "echo of "
 
static const String TXT_NOTICE1 = "?!"
 
static const String TXT_RAGE = "#$%^"
 
static const String TXT_EXP = "%+dEXP"
 
static const float TIME_TO_WAKE_UP = 1.0f
 
- Static Protected Attributes inherited from Char
static const std::string TXT_HIT = BPT::getText("lang.s_hit_s")
 
static const std::string TXT_KILL = BPT::getText("lang.killed_you")
 
static const std::string TXT_DEFEAT = BPT::getText("lang.s_defeated_s")
 

Constructor & Destructor Documentation

◆ RottingFist()

Yog::RottingFist::RottingFist ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ act()

bool Yog::RottingFist::act ( )
virtual

Reimplemented from Mob.

Here is the call graph for this function:

◆ attackProc()

int Yog::RottingFist::attackProc ( Char * enemy,
int damage )
virtual

Reimplemented from Char.

Here is the call graph for this function:

◆ attackSkill()

virtual int Yog::RottingFist::attackSkill ( Char * target)
inlinevirtual

Reimplemented from Char.

Here is the call graph for this function:

◆ CreateRottingFist()

Mob * Yog::RottingFist::CreateRottingFist ( )
static
Here is the call graph for this function:

◆ damageRoll()

int Yog::RottingFist::damageRoll ( )
virtual

Reimplemented from Char.

◆ description()

virtual std::string Yog::RottingFist::description ( )
inlinevirtual

Reimplemented from Mob.

◆ die()

void Yog::RottingFist::die ( const std::string & cause)
virtual

Reimplemented from Mob.

Here is the call graph for this function:

◆ dr()

virtual int Yog::RottingFist::dr ( )
inlinevirtual

Reimplemented from Char.

◆ getClassName()

virtual std::string Yog::RottingFist::getClassName ( )
inlinevirtual

◆ Sprite()

CharSprite * Yog::RottingFist::Sprite ( )
virtual

Implements Mob.


The documentation for this class was generated from the following files: