Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

cCombat Class Reference

#include <combat.h>

List of all members.

Public Methods

UI08 getBowType (CChar *i)
UI08 getCombatSkill (CChar *i)
CItemgetWeapon (CChar *i)
CItemgetShield (CChar *i)
UI16 calcAtt (CChar *p)
UI16 calcDef (CChar *p, SI08 x, bool doDamage)
void CombatOnHorse (CChar *i)
void CombatOnFoot (CChar *i)
void CombatHit (CChar *attack, CChar *defend, SI32 weaponType=-1)
void DoCombat (CChar *attack, UI32 currenttime)
void SpawnGuard (CChar *mChar, CChar *targChar, SI16 x, SI16 y, SI08 z)
bool TimerOk (CChar *c)

Private Methods

void ItemCastSpell (cSocket *s, CChar *c, CItem *i)
void ItemSpell (CChar *attacker, CChar *defender)
bool CastSpell (CChar *attack, CChar *defend, short spellNum)
void doSoundEffect (CChar *p, CItem *weapon)
void doMissedSoundEffect (CChar *p)
void Kill (CChar *attack, CChar *defend)
UI08 getWeaponType (CItem *i)


Member Function Documentation

bool cCombat::CastSpell CChar *   attack,
CChar *   defend,
short   spellNum
[private]
 

void cCombat::CombatHit CChar *   attack,
CChar *   defend,
SI32   weaponType = -1
 

void cCombat::CombatOnFoot CChar *   i
 

void cCombat::CombatOnHorse CChar *   i
 

void cCombat::DoCombat CChar *   attack,
UI32   currenttime
 

void cCombat::ItemCastSpell cSocket *   mSock,
CChar *   c,
CItem *   i
[private]
 

void cCombat::ItemSpell CChar *   attacker,
CChar *   defender
[private]
 

void cCombat::Kill CChar *   attack,
CChar *   defend
[private]
 

void cCombat::SpawnGuard CChar *   mChar,
CChar *   targChar,
SI16   x,
SI16   y,
SI08   z
 

bool cCombat::TimerOk CChar *   c
 

UI16 cCombat::calcAtt CChar *   p
 

UI16 cCombat::calcDef CChar *   p,
SI08   x,
bool   doDamage
 

void cCombat::doMissedSoundEffect CChar *   p [private]
 

void cCombat::doSoundEffect CChar *   p,
CItem *   weapon
[private]
 

UI08 cCombat::getBowType CChar *   i
 

UI08 cCombat::getCombatSkill CChar *   i
 

CItem * cCombat::getShield CChar *   i
 

CItem * cCombat::getWeapon CChar *   i
 

UI08 cCombat::getWeaponType CItem *   i [private]
 


The documentation for this class was generated from the following files:
Generated at Sun Sep 16 22:45:38 2001 for UOX3 by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001