comparison Spells.h @ 488:a3939d5067c4

Spells
author Nomad
date Wed, 27 Feb 2013 22:15:30 +0200
parents 7887a9cf9e7b
children cc4b7981c1bb
comparison
equal deleted inserted replaced
486:7887a9cf9e7b 488:a3939d5067c4
109 SPELL_DARK_CONTROL_UNDEAD = 94, 109 SPELL_DARK_CONTROL_UNDEAD = 94,
110 SPELL_DARK_PAIN_REFLECTION = 95, 110 SPELL_DARK_PAIN_REFLECTION = 95,
111 SPELL_DARK_SACRIFICE = 96, 111 SPELL_DARK_SACRIFICE = 96,
112 SPELL_DARK_DRAGON_BREATH = 97, 112 SPELL_DARK_DRAGON_BREATH = 97,
113 SPELL_DARK_ARMAGEDDON = 98, 113 SPELL_DARK_ARMAGEDDON = 98,
114 SPELL_DARK_SOULDRINKER = 99 114 SPELL_DARK_SOULDRINKER = 99,
115
116 SPELL_BOW_ARROW = 100,
117 SPELL_101 = 101,
118 SPELL_102 = 102,
119
120 SPELL_150 = 150,
121 SPELL_151 = 151,
122 SPELL_152 = 152,
123 SPELL_153 = 153
115 }; 124 };
116 125
117 126
118 enum SPELL_SCHOOL : int 127 enum SPELL_SCHOOL : int
119 { 128 {
197 206
198 /* 364 */ 207 /* 364 */
199 #pragma pack(push, 1) 208 #pragma pack(push, 1)
200 struct stru324_spell 209 struct stru324_spell
201 { 210 {
202 __int16 uItemType; 211 __int16 field_0;
203 __int16 field_2; 212 __int16 field_2;
204 }; 213 };
205 #pragma pack(pop) 214 #pragma pack(pop)
206 215
207 /* 151 */ 216 /* 151 */
208 #pragma pack(push, 1) 217 #pragma pack(push, 1)
209 struct SpellData 218 struct SpellData
210 { 219 {
211 union 220 union
212 { 221 {
213 unsigned __int16 mana_per_skill[4]; 222 unsigned __int16 mana_per_skill[4];
214 struct 223 struct
215 { 224 {
216 unsigned __int16 uNormalLevelMana; 225 unsigned __int16 uNormalLevelMana;
217 unsigned __int16 uExpertLevelMana; 226 unsigned __int16 uExpertLevelMana;
218 unsigned __int16 uMasterLevelMana; 227 unsigned __int16 uMasterLevelMana;
219 unsigned __int16 uMagisterLevelMana; 228 unsigned __int16 uMagisterLevelMana;
220 }; 229 };
221 }; 230 };
222 unsigned __int16 field_8; 231 union
223 __int16 field_A; 232 {
224 __int16 field_C; 233 unsigned __int16 recovery_per_skill[4];
225 __int16 field_E; 234 struct
235 {
236 unsigned __int16 uNormalLevelRecovery;
237 unsigned __int16 uExpertLevelRecovery;
238 unsigned __int16 uMasterLevelRecovery;
239 unsigned __int16 uMagisterLevelRecovery;
240 };
241 };
226 __int16 field_10; 242 __int16 field_10;
227 __int16 field_12; 243 __int16 field_12;
228 // char field_12; 244 // char field_12;
229 // char field_13; 245 // char field_13;
230 // __int16 field_14; 246 // __int16 field_14;