Planeshift
Classes | Defines | Enumerations

combatmanager.h File Reference

#include "msgmanager.h"

Go to the source code of this file.

Classes

class  CombatManager
 This class handles all calculations around combat, using statistics and information from the pspccharacterinfo Prop Classes for both the attacker and the target. More...
class  psSpareDefeatedEvent

Defines

#define SECONDS_BEFORE_SPARING_DEFEATED   30

Enumerations

enum  COMBATMANAGER_ATTACKTYPE {
  ATTACK_NOTCALCULATED = -1, ATTACK_DAMAGE, ATTACK_DODGED, ATTACK_BLOCKED,
  ATTACK_MISSED, ATTACK_OUTOFRANGE, ATTACK_BADANGLE, ATTACK_OUTOFAMMO
}

Define Documentation

#define SECONDS_BEFORE_SPARING_DEFEATED   30

Definition at line 29 of file combatmanager.h.


Enumeration Type Documentation

Enumerator:
ATTACK_NOTCALCULATED 
ATTACK_DAMAGE 
ATTACK_DODGED 
ATTACK_BLOCKED 
ATTACK_MISSED 
ATTACK_OUTOFRANGE 
ATTACK_BADANGLE 
ATTACK_OUTOFAMMO 

Definition at line 34 of file combatmanager.h.