0
|
1 #pragma once
|
|
2
|
|
3
|
|
4
|
|
5 /* 360 */
|
|
6 enum SPELL_TYPE
|
|
7 {
|
|
8 SPELL_FIRE_PROTECTION_FROM_FIRE = 0x3,
|
|
9 SPELL_FIRE_HASTE = 0x5,
|
|
10 SPELL_FIRE_FIRE_RING = 0x8,
|
|
11 SPELL_AIR_FEATHER_FALL = 0xD,
|
|
12 SPELL_AIR_PROTECTION_FROM_AIR = 0xE,
|
|
13 SPELL_AIR_SHIELD = 0x11,
|
|
14 SPELL_WATER_PROTECTION_FROM_WATER = 0x19,
|
|
15 SPELL_WATER_WATER_WALK = 0x1B,
|
|
16 SPELL_EARTH_PROTECTION_FROM_EARTH = 0x24,
|
|
17 SPELL_EARTH_STONESKIN = 0x26,
|
|
18 SPELL_SPIRIT_DETECT_LIFE = 0x2D,
|
|
19 SPELL_SPIRIT_BLESS = 0x2E,
|
|
20 SPELL_SPIRIT_DOOM = 0x2F,
|
|
21 SPELL_SPIRIT_PRESERVE = 0x32,
|
|
22 SPELL_SPIRIT_HEROISM = 0x33,
|
|
23 SPELL_MIND_REMOVE_FEAR = 0x38,
|
|
24 SPELL_MIND_PROTECTION_FROM_MIND = 0x3A,
|
|
25 SPELL_MIND_CURE_PARALYSIS = 0x3D,
|
|
26 SPELL_BODY_CURE_WEAKNESS = 0x43,
|
|
27 SPELL_BODY_FIRST_AID = 0x44,
|
|
28 SPELL_BODY_CURE_POISON = 0x48,
|
|
29 SPELL_BODY_HAMMERHANDS = 0x49,
|
|
30 SPELL_BODY_CURE_DISEASE = 0x4A,
|
|
31 SPELL_BODY_PROTECTION_FROM_MAGIC = 0x4B,
|
|
32 SPELL_DARK_PAIN_REFLECTION = 0x5F,
|
|
33 };
|
|
34
|
|
35
|
|
36
|
|
37
|
|
38 /* 68 */
|
|
39 #pragma pack(push, 1)
|
|
40 struct SpellBuff
|
|
41 {
|
|
42 signed int Apply(unsigned __int64 uExpireTime, unsigned __int16 uSkillLevel, unsigned __int16 uPower, int a5, unsigned __int8 a6);
|
|
43 void Reset();
|
|
44 signed int _4585CA(__int64 a2);
|
|
45 bool NotExpired();
|
|
46
|
|
47 unsigned __int64 uExpireTime;
|
|
48 unsigned __int16 uPower;
|
|
49 unsigned __int16 uSkill;
|
|
50 unsigned __int16 uOverlayID;
|
|
51 unsigned __int8 uCaster;
|
|
52 unsigned __int8 uFlags;
|
|
53 };
|
|
54 #pragma pack(pop)
|
|
55
|
|
56
|
|
57 #pragma pack(push, 1)
|
|
58 struct SpellInfo
|
|
59 {
|
|
60 char *pName;
|
|
61 char *pShortName;
|
|
62 char *pDescription;
|
|
63 char *pBasicSkillDesc;
|
|
64 char *pExpertSkillDesc;
|
|
65 char *pMasterSkillDesc;
|
|
66 char *pGrandmasterSkillDesc;
|
|
67 unsigned int uSchool;
|
|
68 int field_20;
|
|
69 };
|
|
70 #pragma pack(pop)
|
|
71
|
|
72
|
|
73
|
|
74 #pragma pack(push, 1)
|
|
75 struct SpellStats
|
|
76 {
|
|
77 void Initialize();
|
|
78
|
|
79 SpellInfo pInfos[100];
|
|
80 };
|
|
81 #pragma pack(pop)
|
|
82
|
|
83
|
|
84
|
|
85
|
|
86
|
|
87
|
|
88
|
|
89
|
|
90
|
|
91 /* 364 */
|
|
92 #pragma pack(push, 1)
|
|
93 struct stru324_spell
|
|
94 {
|
|
95 __int16 uItemType;
|
|
96 __int16 field_2;
|
|
97 };
|
|
98 #pragma pack(pop)
|
|
99
|
|
100 /* 151 */
|
|
101 #pragma pack(push, 1)
|
|
102 struct SpellData
|
|
103 {
|
|
104 unsigned __int16 uNormalLevelMana;
|
|
105 unsigned __int16 uExpertLevelMana;
|
|
106 unsigned __int16 uMasterLevelMana;
|
|
107 unsigned __int16 uMagisterLevelMana;
|
|
108 unsigned __int16 field_8;
|
|
109 __int16 field_A;
|
|
110 __int16 field_C;
|
|
111 __int16 field_E;
|
|
112 __int16 field_10;
|
|
113 char field_12;
|
|
114 char field_13;
|
|
115 __int16 field_14;
|
|
116 };
|
|
117 #pragma pack(pop)
|
|
118
|
|
119
|
|
120
|
|
121
|
|
122 extern struct SpellStats *pSpellStats;
|
|
123
|
|
124
|
|
125 extern stru324_spell stru_4E3ACC[];
|
|
126 extern SpellData pSpellDatas[95]; |