Mercurial > mm7
comparison Spells.h @ 500:63b171359be2
Слияние
author | Ritor1 |
---|---|
date | Thu, 28 Feb 2013 10:36:37 +0600 |
parents | cc4b7981c1bb |
children | 90fdb47bfcba 6fa3ff8ef729 |
comparison
equal
deleted
inserted
replaced
499:511e3a6f587a | 500:63b171359be2 |
---|---|
3 | 3 |
4 | 4 |
5 /* 360 */ | 5 /* 360 */ |
6 enum SPELL_TYPE | 6 enum SPELL_TYPE |
7 { | 7 { |
8 SPELL_FIRE_PROTECTION_FROM_FIRE = 0x3, | 8 SPELL_FIRE_TORCH_LIGHT = 1, |
9 SPELL_FIRE_HASTE = 0x5, | 9 SPELL_FIRE_FIRE_BOLT = 2, |
10 SPELL_FIRE_FIRE_RING = 0x8, | 10 SPELL_FIRE_PROTECTION_FROM_FIRE = 3, |
11 SPELL_AIR_FEATHER_FALL = 0xD, | 11 SPELL_FIRE_FIRE_AURA = 4, |
12 SPELL_AIR_PROTECTION_FROM_AIR = 0xE, | 12 SPELL_FIRE_HASTE = 5, |
13 SPELL_AIR_SHIELD = 0x11, | 13 SPELL_FIRE_FIREBALL = 6, |
14 SPELL_WATER_PROTECTION_FROM_WATER = 0x19, | 14 SPELL_FIRE_FIRE_SPIKE = 7, |
15 SPELL_WATER_WATER_WALK = 0x1B, | 15 SPELL_FIRE_IMMOLATION = 8, |
16 SPELL_EARTH_PROTECTION_FROM_EARTH = 0x24, | 16 SPELL_FIRE_METEOR_SHOWER = 9, |
17 SPELL_EARTH_STONESKIN = 0x26, | 17 SPELL_FIRE_INFERNO = 10, |
18 SPELL_SPIRIT_DETECT_LIFE = 0x2D, | 18 SPELL_FIRE_INCINERATE = 11, |
19 SPELL_SPIRIT_BLESS = 0x2E, | 19 |
20 SPELL_SPIRIT_DOOM = 0x2F, | 20 SPELL_AIR_WIZARD_EYE = 12, |
21 SPELL_SPIRIT_PRESERVE = 0x32, | 21 SPELL_AIR_FEATHER_FALL = 13, |
22 SPELL_SPIRIT_HEROISM = 0x33, | 22 SPELL_AIR_PROTECTION_FROM_AIR = 14, |
23 SPELL_MIND_REMOVE_FEAR = 0x38, | 23 SPELL_AIR_SPARKS = 15, |
24 SPELL_MIND_PROTECTION_FROM_MIND = 0x3A, | 24 SPELL_AIR_JUMP = 16, |
25 SPELL_MIND_CURE_PARALYSIS = 0x3D, | 25 SPELL_AIR_SHIELD = 17, |
26 SPELL_BODY_CURE_WEAKNESS = 0x43, | 26 SPELL_AIR_LIGHNING_BOLT = 18, |
27 SPELL_BODY_FIRST_AID = 0x44, | 27 SPELL_AIR_INVISIBILITY = 19, |
28 SPELL_BODY_CURE_POISON = 0x48, | 28 SPELL_AIR_IMPLOSION = 20, |
29 SPELL_BODY_HAMMERHANDS = 0x49, | 29 SPELL_AIR_FLY = 21, |
30 SPELL_BODY_CURE_DISEASE = 0x4A, | 30 SPELL_AIR_STARBURST = 22, |
31 SPELL_BODY_PROTECTION_FROM_MAGIC = 0x4B, | 31 |
32 SPELL_DARK_PAIN_REFLECTION = 0x5F, | 32 SPELL_WATER_AWAKEN = 23, |
33 SPELL_WATER_POISON_SPRAY = 24, | |
34 SPELL_WATER_PROTECTION_FROM_WATER = 25, | |
35 SPELL_WATER_ICE_BOLT = 26, | |
36 SPELL_WATER_WATER_WALK = 27, | |
37 SPELL_WATER_RECHARGE_ITEM = 28, | |
38 SPELL_WATER_ACID_BURST = 29, | |
39 SPELL_WATER_ENCHANT_ITEM = 30, | |
40 SPELL_WATER_TOWN_PORTAL = 31, | |
41 SPELL_WATER_ICE_BLAST = 32, | |
42 SPELL_WATER_LLOYDS_BEACON = 33, | |
43 | |
44 SPELL_EARTH_STUN = 34, | |
45 SPELL_EARTH_SLOW = 35, | |
46 SPELL_EARTH_PROTECTION_FROM_EARTH = 36, | |
47 SPELL_EARTH_DEADLY_SWARM = 37, | |
48 SPELL_EARTH_STONESKIN = 38, | |
49 SPELL_EARTH_BLADES = 39, | |
50 SPELL_EARTH_STONE_TO_FLESH = 40, | |
51 SPELL_EARTH_ROCK_BLAST = 41, | |
52 SPELL_EARTH_TELEKINESIS = 42, | |
53 SPELL_EARTH_DEATH_BLOSSOM = 43, | |
54 SPELL_EARTH_MASS_DISTORTION = 44, | |
55 | |
56 SPELL_SPIRIT_DETECT_LIFE = 45, | |
57 SPELL_SPIRIT_BLESS = 46, | |
58 SPELL_SPIRIT_FATE = 47, | |
59 SPELL_SPIRIT_TURN_UNDEAD = 48, | |
60 SPELL_SPIRIT_REMOVE_CURSE = 49, | |
61 SPELL_SPIRIT_PRESERVATION = 50, | |
62 SPELL_SPIRIT_HEROISM = 51, | |
63 SPELL_SPIRIT_SPIRIT_LASH = 52, | |
64 SPELL_SPIRIT_RAISE_DEAD = 53, | |
65 SPELL_SPIRIT_SHARED_LIFE = 54, | |
66 SPELL_SPIRIT_RESSURECTION = 55, | |
67 | |
68 SPELL_MIND_REMOVE_FEAR = 56, | |
69 SPELL_MIND_MIND_BLAST = 57, | |
70 SPELL_MIND_PROTECTION_FROM_MIND = 58, | |
71 SPELL_MIND_TELEPATHY = 59, | |
72 SPELL_MIND_CHARM = 60, | |
73 SPELL_MIND_CURE_PARALYSIS = 61, | |
74 SPELL_MIND_BERSERK = 62, | |
75 SPELL_MIND_MASS_FEAR = 63, | |
76 SPELL_MIND_CURE_INSANITY = 64, | |
77 SPELL_MIND_PSYCHIC_SHOCK = 65, | |
78 SPELL_MIND_ENSLAVE = 66, | |
79 | |
80 SPELL_BODY_CURE_WEAKNESS = 67, | |
81 SPELL_BODY_FIRST_AID = 68, | |
82 SPELL_BODY_PROTECTION_FROM_BODY = 69, | |
83 SPELL_BODY_HARM = 70, | |
84 SPELL_BODY_REGENERATION = 71, | |
85 SPELL_BODY_CURE_POISON = 72, | |
86 SPELL_BODY_HAMMERHANDS = 73, | |
87 SPELL_BODY_CURE_DISEASE = 74, | |
88 SPELL_BODY_PROTECTION_FROM_MAGIC = 75, | |
89 SPELL_BODY_FLYING_FIST = 76, | |
90 SPELL_BODY_POWER_CURE = 77, | |
91 | |
92 SPELL_LIGHT_LIGHT_BOLT = 78, | |
93 SPELL_LIGHT_DESTROY_UNDEAD = 79, | |
94 SPELL_LIGHT_DISPEL_MAGIC = 80, | |
95 SPELL_LIGHT_PARALYZE = 81, | |
96 SPELL_LIGHT_SUMMON_ELEMENTAL = 82, | |
97 SPELL_LIGHT_DAY_OF_THE_GODS = 83, | |
98 SPELL_LIGHT_PRISMATIC_LIGHT = 84, | |
99 SPELL_LIGHT_DAY_OF_PROTECTION = 85, | |
100 SPELL_LIGHT_HOUR_OF_POWER = 86, | |
101 SPELL_LIGHT_SUNRAY = 87, | |
102 SPELL_LIGHT_DIVINE_INTERVENTION = 88, | |
103 | |
104 SPELL_DARK_REANIMATE = 89, | |
105 SPELL_DARK_TOXIC_CLOUD = 90, | |
106 SPELL_DARK_VAMPIRIC_WEAPON = 91, | |
107 SPELL_DARK_SHRINKING_RAY = 92, | |
108 SPELL_DARK_SHARPMETAL = 93, | |
109 SPELL_DARK_CONTROL_UNDEAD = 94, | |
110 SPELL_DARK_PAIN_REFLECTION = 95, | |
111 SPELL_DARK_SACRIFICE = 96, | |
112 SPELL_DARK_DRAGON_BREATH = 97, | |
113 SPELL_DARK_ARMAGEDDON = 98, | |
114 SPELL_DARK_SOULDRINKER = 99, | |
115 | |
116 SPELL_BOW_ARROW = 100, | |
117 SPELL_101 = 101, | |
118 SPELL_LASER_PROJECTILE = 102, | |
119 | |
120 SPELL_150 = 150, | |
121 SPELL_151 = 151, | |
122 SPELL_152 = 152, | |
123 SPELL_153 = 153 | |
33 }; | 124 }; |
34 | 125 |
35 | 126 |
36 enum SPELL_SCHOOL : int | 127 enum SPELL_SCHOOL : int |
37 { | 128 { |
115 | 206 |
116 /* 364 */ | 207 /* 364 */ |
117 #pragma pack(push, 1) | 208 #pragma pack(push, 1) |
118 struct stru324_spell | 209 struct stru324_spell |
119 { | 210 { |
120 __int16 uItemType; | 211 __int16 field_0; |
121 __int16 field_2; | 212 __int16 field_2; |
122 }; | 213 }; |
123 #pragma pack(pop) | 214 #pragma pack(pop) |
124 | 215 |
125 /* 151 */ | 216 /* 151 */ |
126 #pragma pack(push, 1) | 217 #pragma pack(push, 1) |
127 struct SpellData | 218 struct SpellData |
128 { | 219 { |
129 union | 220 union |
130 { | 221 { |
131 unsigned __int16 mana_per_skill[4]; | 222 unsigned __int16 mana_per_skill[4]; |
132 struct | 223 struct |
133 { | 224 { |
134 unsigned __int16 uNormalLevelMana; | 225 unsigned __int16 uNormalLevelMana; |
135 unsigned __int16 uExpertLevelMana; | 226 unsigned __int16 uExpertLevelMana; |
136 unsigned __int16 uMasterLevelMana; | 227 unsigned __int16 uMasterLevelMana; |
137 unsigned __int16 uMagisterLevelMana; | 228 unsigned __int16 uMagisterLevelMana; |
138 }; | 229 }; |
139 }; | 230 }; |
140 unsigned __int16 field_8; | 231 union |
141 __int16 field_A; | 232 { |
142 __int16 field_C; | 233 unsigned __int16 recovery_per_skill[4]; |
143 __int16 field_E; | 234 struct |
235 { | |
236 unsigned __int16 uNormalLevelRecovery; | |
237 unsigned __int16 uExpertLevelRecovery; | |
238 unsigned __int16 uMasterLevelRecovery; | |
239 unsigned __int16 uMagisterLevelRecovery; | |
240 }; | |
241 }; | |
144 __int16 field_10; | 242 __int16 field_10; |
145 __int16 field_12; | 243 __int16 field_12; |
146 // char field_12; | 244 // char field_12; |
147 // char field_13; | 245 // char field_13; |
148 // __int16 field_14; | 246 // __int16 field_14; |
163 | 261 |
164 extern struct SpellBookIconPos pIconPos[9][12]; | 262 extern struct SpellBookIconPos pIconPos[9][12]; |
165 | 263 |
166 extern stru324_spell stru_4E3ACC[]; | 264 extern stru324_spell stru_4E3ACC[]; |
167 extern SpellData pSpellDatas[100]; | 265 extern SpellData pSpellDatas[100]; |
266 extern unsigned int wand_spell_ids[]; |