blob: ce75002ed4884f01d09e1ef7ac4100a23f5ac520 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef TIBIA_CRCOMBAT_HH_
#define TIBIA_CRCOMBAT_HH_ 1
struct TCreature;
struct TCombatEntry{
uint32 ID;
uint32 Damage;
int TimeStamp;
};
struct TCombat{
// REGULAR FUNCTIONS
// =========================================================================
TCombat(void);
void CheckCombatValues(void);
// DATA
// =========================================================================
TCreature *Master;
uint32 EarliestAttackTime;
uint32 EarliestDefendTime;
uint32 LastDefendTime;
uint32 LatestAttackTime;
uint32 AttackMode;
uint32 ChaseMode;
uint32 SecureMode;
uint32 AttackDest;
bool Following;
Object Shield;
Object Close;
Object Missile;
Object Throw;
Object Wand;
Object Ammo;
bool Fist;
uint32 CombatDamage;
int ActCombatEntry;
TCombatEntry CombatList[20];
int LearningPoints;
};
#endif //TIBIA_CRCOMBAT_HH_
|