-
Notifications
You must be signed in to change notification settings - Fork 7
/
Monster.hpp
52 lines (44 loc) · 1.05 KB
/
Monster.hpp
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
52
#pragma once
#include "Entity.hpp"
namespace Monster
{
namespace Types
{
namespace Offsets
{
const UINT64 IdentifyingString = 0x00; //ptr
const UINT64 IsSummoned = 0x0C;
const UINT64 Armour = 0x0D;
const UINT64 Evasion = 0x11;
const UINT64 EnergyShield = 0x15;
const UINT64 MovementSpeed = 0x19;
}
}
namespace Varieties
{
namespace Offsets
{
const UINT64 IdentifyingString = 0x00; //ptr
const UINT64 TypesPointer = 0x10; //ptr to above
const UINT64 AttackDistanceMin = 0x20;
const UINT64 AttackDistanceMax = 0x24;
const UINT64 TotalMods = 0x40;
const UINT64 ModsPtr = 0x48;
const UINT64 MonsterName = 0xF4;
}
}
namespace InternalStruct //0x18 reference below
{
namespace Offsets
{
const UINT64 UnkStructPtr = 0x08;
const UINT64 VarietiesPtr = 0x18;
const UINT64 Level = 0x20;
}
}
const UINT64 HeaderOffset = 0x00;
const UINT64 InternalPtrOffset = 0x18;
int GetLevel(Entity* e);
std::string GetName(Entity* e);
bool IsSummoned(Entity* e);
}