Mercurial > mm7
comparison Spells.h @ 0:9c0607679772
init
author | Ritor1 |
---|---|
date | Sat, 12 Jan 2013 09:45:18 +0600 |
parents | |
children | 038a4d09406f |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9c0607679772 |
---|---|
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 inline SpellBuff() | |
43 { | |
44 uExpireTime = 0; | |
45 uPower = 0; | |
46 uSkill = 0; | |
47 uOverlayID = 0; | |
48 uCaster = 0; | |
49 uFlags = 0; | |
50 } | |
51 | |
52 signed int Apply(unsigned __int64 uExpireTime, unsigned __int16 uSkillLevel, unsigned __int16 uPower, int a5, unsigned __int8 a6); | |
53 void Reset(); | |
54 signed int _4585CA(__int64 a2); | |
55 bool NotExpired(); | |
56 | |
57 unsigned __int64 uExpireTime; | |
58 unsigned __int16 uPower; | |
59 unsigned __int16 uSkill; | |
60 unsigned __int16 uOverlayID; | |
61 unsigned __int8 uCaster; | |
62 unsigned __int8 uFlags; | |
63 }; | |
64 #pragma pack(pop) | |
65 | |
66 | |
67 #pragma pack(push, 1) | |
68 struct SpellInfo | |
69 { | |
70 char *pName; | |
71 char *pShortName; | |
72 char *pDescription; | |
73 char *pBasicSkillDesc; | |
74 char *pExpertSkillDesc; | |
75 char *pMasterSkillDesc; | |
76 char *pGrandmasterSkillDesc; | |
77 unsigned int uSchool; | |
78 int field_20; | |
79 }; | |
80 #pragma pack(pop) | |
81 | |
82 | |
83 | |
84 #pragma pack(push, 1) | |
85 struct SpellStats | |
86 { | |
87 void Initialize(); | |
88 | |
89 SpellInfo pInfos[100]; | |
90 }; | |
91 #pragma pack(pop) | |
92 | |
93 | |
94 | |
95 | |
96 | |
97 | |
98 | |
99 | |
100 | |
101 /* 364 */ | |
102 #pragma pack(push, 1) | |
103 struct stru324_spell | |
104 { | |
105 __int16 uItemType; | |
106 __int16 field_2; | |
107 }; | |
108 #pragma pack(pop) | |
109 | |
110 /* 151 */ | |
111 #pragma pack(push, 1) | |
112 struct SpellData | |
113 { | |
114 unsigned __int16 uNormalLevelMana; | |
115 unsigned __int16 uExpertLevelMana; | |
116 unsigned __int16 uMasterLevelMana; | |
117 unsigned __int16 uMagisterLevelMana; | |
118 unsigned __int16 field_8; | |
119 __int16 field_A; | |
120 __int16 field_C; | |
121 __int16 field_E; | |
122 __int16 field_10; | |
123 char field_12; | |
124 char field_13; | |
125 __int16 field_14; | |
126 }; | |
127 #pragma pack(pop) | |
128 | |
129 | |
130 | |
131 | |
132 extern struct SpellStats *pSpellStats; | |
133 | |
134 | |
135 extern stru324_spell stru_4E3ACC[]; | |
136 extern SpellData pSpellDatas[95]; |