forked from derandark/PhatAC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMonster.h
More file actions
53 lines (38 loc) · 1.04 KB
/
Monster.h
File metadata and controls
53 lines (38 loc) · 1.04 KB
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
44
45
46
47
48
49
50
51
#pragma once
#include "attributes.h"
#include "vitals.h"
#include "skills.h"
class CBaseMonster : public CPhysicsObj
{
public:
CBaseMonster();
~CBaseMonster();
void MonsterThink();
virtual void Precache();
virtual float GetBurdenPercent();
virtual void CalculateSpeed();
virtual BOOL IsMonster() { return TRUE; }
virtual DWORD GiveAttributeXP(eAttribute index, DWORD dwXP);
virtual DWORD GiveVitalXP(eVital index, DWORD dwXP);
virtual DWORD GiveSkillXP(eSkill index, DWORD dwXP);
virtual ATTRIBUTE* GetAttributeData(eAttribute index);
virtual VITAL* GetVitalData(eVital index);
virtual SKILL* GetSkillData(eSkill index);
virtual void Animation_Complete(animation_t *data);
virtual void LaunchSpell(DWORD dwSpellID, DWORD dwTarget);
virtual void Attack(DWORD dwTarget, DWORD dwHeight, float flPower);
ATTRIBUTE m_attributes[6];
VITAL m_vitals[6];
SKILL m_skills[40];
};
class CBaelZharon : public CBaseMonster
{
public:
CBaelZharon();
BOOL CrazyThink();
};
class CTargetDrudge : public CBaseMonster
{
public:
CTargetDrudge();
};