World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Spells.h
См. документацию.
1 #pragma once
2 
3 #include <array>
4 
6 
7 #include "Engine/VectorTypes.h"
8 
9 /* 360 */
10 enum SPELL_TYPE {
11  SPELL_0 = 0,
12 
24 
36 
48 
60 
72 
84 
96 
108 
120 
122  SPELL_101 = 101,
124 
127  SPELL_152 = 152,
129 };
130 
131 enum SPELL_SCHOOL : int {
143 };
144 
145 /* 68 */
146 #pragma pack(push, 1)
147 struct SpellBuff {
148  inline SpellBuff() {
149  uPower = 0;
150  uSkill = 0;
151  uOverlayID = 0;
152  uCaster = 0;
153  uFlags = 0;
154  }
155 
156  bool Apply(GameTime time, unsigned __int16 uSkillLevel,
157  unsigned __int16 uPower, int uOverlayID, unsigned __int8 caster);
158  void Reset();
159  bool IsBuffExpiredToTime(GameTime time);
160 
161  //----- (0042EB31) --------------------------------------------------------
162  bool Active() const { return this->expire_time.value > 0; }
163  bool Expired() const { return this->expire_time.value < 0; }
164 
166  unsigned __int16 uPower;
167  unsigned __int16 uSkill;
168  unsigned __int16 uOverlayID;
169  unsigned __int8 uCaster;
170  unsigned __int8 uFlags;
171 };
172 #pragma pack(pop)
173 
174 #pragma pack(push, 1)
175 struct SpellInfo {
176  char *pName;
177  char *pShortName;
184  int field_20;
185 };
186 #pragma pack(pop)
187 
188 #pragma pack(push, 1)
189 struct SpellStats {
190  void Initialize();
191 
193 };
194 #pragma pack(pop)
195 
196 /* 364 */
197 #pragma pack(push, 1)
198 struct stru324_spell_id_to_sprite_mapping { // stru324_spell
200  __int16 field_2;
201 };
202 #pragma pack(pop)
203 
204 /* 151 */
205 #pragma pack(push, 1)
206 class SpellData {
207  public:
208  SpellData(__int16 innormalMana, __int16 inExpertLevelMana,
209  __int16 inMasterLevelMana, __int16 inMagisterLevelMana,
210  __int16 inNormalLevelRecovery, __int16 inExpertLevelRecovery,
211  __int16 inMasterLevelRecovery, __int16 inMagisterLevelRecovery,
212  __int8 inbaseDamage, __int8 inbonusSkillDamage, __int16 instats);
213  union {
214  unsigned __int16 mana_per_skill[4];
215  struct {
216  unsigned __int16 uNormalLevelMana;
217  unsigned __int16 uExpertLevelMana;
218  unsigned __int16 uMasterLevelMana;
219  unsigned __int16 uMagisterLevelMana;
220  };
221  };
222  union {
223  unsigned __int16 recovery_per_skill[4];
224  struct {
225  unsigned __int16 uNormalLevelRecovery;
226  unsigned __int16 uExpertLevelRecovery;
227  unsigned __int16 uMasterLevelRecovery;
228  unsigned __int16 uMagisterLevelRecovery;
229  };
230  };
231  __int8 baseDamage;
233  __int16 stats;
234  // char field_12;
235  // char field_13;
236  // __int16 field_14;
237 };
238 #pragma pack(pop)
239 
240 #pragma pack(push, 1)
242  unsigned int Xpos;
243  unsigned int Ypos;
244 };
245 
246 #pragma pack(pop)
247 
248 /* 154 */
249 #pragma pack(push, 1)
251  Vec3_int_ pos;
252  __int16 rot_y;
253  __int16 rot_x;
254  unsigned __int16 uMapInfoID;
255  __int16 field_12;
256 };
257 #pragma pack(pop)
258 extern std::array<TownPortalData, 6> TownPortalList; // 4ECBB8
259 
260 extern struct SpellStats *pSpellStats;
261 
262 extern std::array<std::array<struct SpellBookIconPos, 12>, 9> pIconPos;
263 
264 extern std::array<stru324_spell_id_to_sprite_mapping, 103>
265  spell_sprite_mapping; // 4E3ACC
266 extern std::array<SpellData, 100> pSpellDatas;
267 extern std::array<SPELL_TYPE, 25> wand_spell_ids;
268 
269 int _43AFE3_calc_spell_damage(int spellId, int spellLevel,
270  signed int skillMastery, int currentHp);
271 
272 bool sub_427769_isSpellQuickCastableOnShiftClick(unsigned int uSpellID);
273 void EventCastSpell(int uSpellID, int uSkillLevel, int uSkill, int fromx,
274  int fromy, int fromz, int tox, int toy,
275  int toz); // sub_448DF8
_43AFE3_calc_spell_damage
int _43AFE3_calc_spell_damage(int spellId, int spellLevel, signed int skillMastery, int currentHp)
Definition: Spells.cpp:745
SPELL_LIGHT_PARALYZE
@ SPELL_LIGHT_PARALYZE
Definition: Spells.h:100
SPELL_EARTH_STONESKIN
@ SPELL_EARTH_STONESKIN
Definition: Spells.h:53
SPELL_SPIRIT_RESSURECTION
@ SPELL_SPIRIT_RESSURECTION
Definition: Spells.h:71
SpellBookIconPos::Ypos
unsigned int Ypos
Definition: Spells.h:243
SPELL_SPIRIT_SHARED_LIFE
@ SPELL_SPIRIT_SHARED_LIFE
Definition: Spells.h:70
SpellData::uMasterLevelMana
unsigned __int16 uMasterLevelMana
Definition: Spells.h:218
SPELL_SPIRIT_TURN_UNDEAD
@ SPELL_SPIRIT_TURN_UNDEAD
Definition: Spells.h:64
stru324_spell_id_to_sprite_mapping
Definition: Spells.h:198
SPELL_SCHOOL_FIRE
@ SPELL_SCHOOL_FIRE
Definition: Spells.h:132
SPELL_LIGHT_DESTROY_UNDEAD
@ SPELL_LIGHT_DESTROY_UNDEAD
Definition: Spells.h:98
SPELL_101
@ SPELL_101
Definition: Spells.h:122
SPELL_DARK_VAMPIRIC_WEAPON
@ SPELL_DARK_VAMPIRIC_WEAPON
Definition: Spells.h:111
SPELL_LIGHT_LIGHT_BOLT
@ SPELL_LIGHT_LIGHT_BOLT
Definition: Spells.h:97
SPELL_DARK_ARMAGEDDON
@ SPELL_DARK_ARMAGEDDON
Definition: Spells.h:118
VectorTypes.h
SPELL_0
@ SPELL_0
Definition: Spells.h:11
SPELL_SPIRIT_PRESERVATION
@ SPELL_SPIRIT_PRESERVATION
Definition: Spells.h:66
TownPortalData::field_12
__int16 field_12
Definition: Spells.h:255
SPELL_MIND_PSYCHIC_SHOCK
@ SPELL_MIND_PSYCHIC_SHOCK
Definition: Spells.h:82
SpellData::uExpertLevelRecovery
unsigned __int16 uExpertLevelRecovery
Definition: Spells.h:226
SPELL_SCHOOL_WATER
@ SPELL_SCHOOL_WATER
Definition: Spells.h:134
SpellData::stats
__int16 stats
Definition: Spells.h:233
SPELL_DARK_PAIN_REFLECTION
@ SPELL_DARK_PAIN_REFLECTION
Definition: Spells.h:115
SPELL_WATER_POISON_SPRAY
@ SPELL_WATER_POISON_SPRAY
Definition: Spells.h:38
SpellStats::pInfos
SpellInfo pInfos[100]
Definition: Spells.h:192
SpellBuff
Definition: Spells.h:147
SPELL_LIGHT_HOUR_OF_POWER
@ SPELL_LIGHT_HOUR_OF_POWER
Definition: Spells.h:105
SpellInfo::uSchool
SPELL_SCHOOL uSchool
Definition: Spells.h:183
SpellBuff::IsBuffExpiredToTime
bool IsBuffExpiredToTime(GameTime time)
Definition: Spells.cpp:351
SPELL_AIR_WIZARD_EYE
@ SPELL_AIR_WIZARD_EYE
Definition: Spells.h:25
SPELL_LIGHT_DAY_OF_PROTECTION
@ SPELL_LIGHT_DAY_OF_PROTECTION
Definition: Spells.h:104
SPELL_EARTH_ROCK_BLAST
@ SPELL_EARTH_ROCK_BLAST
Definition: Spells.h:56
SPELL_WATER_WATER_WALK
@ SPELL_WATER_WATER_WALK
Definition: Spells.h:41
pIconPos
std::array< std::array< struct SpellBookIconPos, 12 >, 9 > pIconPos
Definition: Spells.cpp:307
SpellBuff::uSkill
unsigned __int16 uSkill
Definition: Spells.h:167
SpriteObject.h
SpellInfo::pName
char * pName
Definition: Spells.h:176
SPELL_SCHOOL_SPIRIT
@ SPELL_SCHOOL_SPIRIT
Definition: Spells.h:138
SPELL_EARTH_DEADLY_SWARM
@ SPELL_EARTH_DEADLY_SWARM
Definition: Spells.h:52
SPELL_FIRE_FIRE_SPIKE
@ SPELL_FIRE_FIRE_SPIKE
Definition: Spells.h:19
SPELL_BODY_HARM
@ SPELL_BODY_HARM
Definition: Spells.h:88
SPELL_AIR_JUMP
@ SPELL_AIR_JUMP
Definition: Spells.h:29
SPELL_EARTH_PROTECTION_FROM_EARTH
@ SPELL_EARTH_PROTECTION_FROM_EARTH
Definition: Spells.h:51
SPELL_EARTH_DEATH_BLOSSOM
@ SPELL_EARTH_DEATH_BLOSSOM
Definition: Spells.h:58
SPELL_EARTH_STONE_TO_FLESH
@ SPELL_EARTH_STONE_TO_FLESH
Definition: Spells.h:55
SPELL_MIND_TELEPATHY
@ SPELL_MIND_TELEPATHY
Definition: Spells.h:76
SPELL_FIRE_TORCH_LIGHT
@ SPELL_FIRE_TORCH_LIGHT
Definition: Spells.h:13
SpellInfo
Definition: Spells.h:175
SPELL_MIND_MIND_BLAST
@ SPELL_MIND_MIND_BLAST
Definition: Spells.h:74
SPELL_FIRE_PROTECTION_FROM_FIRE
@ SPELL_FIRE_PROTECTION_FROM_FIRE
Definition: Spells.h:15
SpellData
Definition: Spells.h:206
SPELL_WATER_TOWN_PORTAL
@ SPELL_WATER_TOWN_PORTAL
Definition: Spells.h:45
SPELL_MIND_PROTECTION_FROM_MIND
@ SPELL_MIND_PROTECTION_FROM_MIND
Definition: Spells.h:75
SPELL_DARK_SHARPMETAL
@ SPELL_DARK_SHARPMETAL
Definition: Spells.h:113
SPELL_WATER_ICE_BOLT
@ SPELL_WATER_ICE_BOLT
Definition: Spells.h:40
SPELL_FIRE_METEOR_SHOWER
@ SPELL_FIRE_METEOR_SHOWER
Definition: Spells.h:21
SPELL_TYPE
SPELL_TYPE
Definition: Spells.h:10
GameTime::value
int64_t value
Definition: Time.h:99
SPELL_AIR_PROTECTION_FROM_AIR
@ SPELL_AIR_PROTECTION_FROM_AIR
Definition: Spells.h:27
SPELL_MIND_ENSLAVE
@ SPELL_MIND_ENSLAVE
Definition: Spells.h:83
spell_sprite_mapping
std::array< stru324_spell_id_to_sprite_mapping, 103 > spell_sprite_mapping
Definition: Spells.cpp:35
SPELL_152
@ SPELL_152
Definition: Spells.h:127
SPELL_FIRE_FIRE_BOLT
@ SPELL_FIRE_FIRE_BOLT
Definition: Spells.h:14
SpellBuff::Reset
void Reset()
Definition: Spells.cpp:337
SPELL_FIRE_INFERNO
@ SPELL_FIRE_INFERNO
Definition: Spells.h:22
SPELL_DISEASE
@ SPELL_DISEASE
Definition: Spells.h:128
SpellData::mana_per_skill
unsigned __int16 mana_per_skill[4]
Definition: Spells.h:214
SPELL_EARTH_TELEKINESIS
@ SPELL_EARTH_TELEKINESIS
Definition: Spells.h:57
TownPortalData
Definition: Spells.h:250
SpellData::recovery_per_skill
unsigned __int16 recovery_per_skill[4]
Definition: Spells.h:223
SPELL_BODY_FIRST_AID
@ SPELL_BODY_FIRST_AID
Definition: Spells.h:86
SPELL_DARK_SOULDRINKER
@ SPELL_DARK_SOULDRINKER
Definition: Spells.h:119
SPELL_LASER_PROJECTILE
@ SPELL_LASER_PROJECTILE
Definition: Spells.h:123
SPELL_AIR_FEATHER_FALL
@ SPELL_AIR_FEATHER_FALL
Definition: Spells.h:26
wand_spell_ids
std::array< SPELL_TYPE, 25 > wand_spell_ids
Definition: Spells.cpp:280
SPELL_BODY_CURE_POISON
@ SPELL_BODY_CURE_POISON
Definition: Spells.h:90
SPELL_WATER_ICE_BLAST
@ SPELL_WATER_ICE_BLAST
Definition: Spells.h:46
stru324_spell_id_to_sprite_mapping::uSpriteType
SPRITE_OBJECT_TYPE uSpriteType
Definition: Spells.h:199
SPELL_SCHOOL_DARK
@ SPELL_SCHOOL_DARK
Definition: Spells.h:142
SPELL_DARK_CONTROL_UNDEAD
@ SPELL_DARK_CONTROL_UNDEAD
Definition: Spells.h:114
TownPortalData::uMapInfoID
unsigned __int16 uMapInfoID
Definition: Spells.h:254
SpellStats::Initialize
void Initialize()
Definition: Spells.cpp:385
SPELL_MIND_CHARM
@ SPELL_MIND_CHARM
Definition: Spells.h:77
TownPortalList
std::array< TownPortalData, 6 > TownPortalList
Definition: Spells.cpp:24
SPELL_WATER_AWAKEN
@ SPELL_WATER_AWAKEN
Definition: Spells.h:37
SPELL_SCHOOL_MIND
@ SPELL_SCHOOL_MIND
Definition: Spells.h:139
SPELL_SCHOOL_AIR
@ SPELL_SCHOOL_AIR
Definition: Spells.h:133
SPELL_FIRE_IMMOLATION
@ SPELL_FIRE_IMMOLATION
Definition: Spells.h:20
SpellBuff::SpellBuff
SpellBuff()
Definition: Spells.h:148
SPELL_SCHOOL_EARTH
@ SPELL_SCHOOL_EARTH
Definition: Spells.h:135
SPELL_LIGHT_DISPEL_MAGIC
@ SPELL_LIGHT_DISPEL_MAGIC
Definition: Spells.h:99
SPELL_BODY_REGENERATION
@ SPELL_BODY_REGENERATION
Definition: Spells.h:89
SpellData::uMagisterLevelMana
unsigned __int16 uMagisterLevelMana
Definition: Spells.h:219
SPELL_FIRE_FIRE_AURA
@ SPELL_FIRE_FIRE_AURA
Definition: Spells.h:16
SPELL_BODY_HAMMERHANDS
@ SPELL_BODY_HAMMERHANDS
Definition: Spells.h:91
SPELL_LIGHT_SUMMON_ELEMENTAL
@ SPELL_LIGHT_SUMMON_ELEMENTAL
Definition: Spells.h:101
SPELL_EARTH_SLOW
@ SPELL_EARTH_SLOW
Definition: Spells.h:50
SPELL_EARTH_STUN
@ SPELL_EARTH_STUN
Definition: Spells.h:49
SPELL_AIR_SHIELD
@ SPELL_AIR_SHIELD
Definition: Spells.h:30
SpellData::baseDamage
__int8 baseDamage
Definition: Spells.h:231
SPELL_DARK_SACRIFICE
@ SPELL_DARK_SACRIFICE
Definition: Spells.h:116
SPELL_BODY_POWER_CURE
@ SPELL_BODY_POWER_CURE
Definition: Spells.h:95
SpellInfo::pExpertSkillDesc
char * pExpertSkillDesc
Definition: Spells.h:180
SpellData::uNormalLevelMana
unsigned __int16 uNormalLevelMana
Definition: Spells.h:216
SPELL_MIND_MASS_FEAR
@ SPELL_MIND_MASS_FEAR
Definition: Spells.h:80
SpellBuff::expire_time
GameTime expire_time
Definition: Spells.h:165
SpellBuff::uOverlayID
unsigned __int16 uOverlayID
Definition: Spells.h:168
SPELL_MIND_CURE_INSANITY
@ SPELL_MIND_CURE_INSANITY
Definition: Spells.h:81
SPELL_QUEST_COMPLETED
@ SPELL_QUEST_COMPLETED
Definition: Spells.h:126
TownPortalData::pos
Vec3_int_ pos
Definition: Spells.h:251
SPELL_LIGHT_SUNRAY
@ SPELL_LIGHT_SUNRAY
Definition: Spells.h:106
SpellBookIconPos::Xpos
unsigned int Xpos
Definition: Spells.h:242
SPELL_FIRE_FIREBALL
@ SPELL_FIRE_FIREBALL
Definition: Spells.h:18
SPRITE_OBJECT_TYPE
SPRITE_OBJECT_TYPE
Definition: SpriteObject.h:5
SpellStats
Definition: Spells.h:189
SPELL_SPIRIT_RAISE_DEAD
@ SPELL_SPIRIT_RAISE_DEAD
Definition: Spells.h:69
SPELL_SPIRIT_BLESS
@ SPELL_SPIRIT_BLESS
Definition: Spells.h:62
SPELL_BODY_PROTECTION_FROM_BODY
@ SPELL_BODY_PROTECTION_FROM_BODY
Definition: Spells.h:87
SPELL_SCHOOL_BODY
@ SPELL_SCHOOL_BODY
Definition: Spells.h:140
SpellData::uMagisterLevelRecovery
unsigned __int16 uMagisterLevelRecovery
Definition: Spells.h:228
SpellBookIconPos
Definition: Spells.h:241
SPELL_SPIRIT_REMOVE_CURSE
@ SPELL_SPIRIT_REMOVE_CURSE
Definition: Spells.h:65
SPELL_SCHOOL_NONE
@ SPELL_SCHOOL_NONE
Definition: Spells.h:136
pSpellDatas
std::array< SpellData, 100 > pSpellDatas
Definition: Spells.cpp:170
SpellBuff::Expired
bool Expired() const
Definition: Spells.h:163
SPELL_SPIRIT_SPIRIT_LASH
@ SPELL_SPIRIT_SPIRIT_LASH
Definition: Spells.h:68
SPELL_AIR_SPARKS
@ SPELL_AIR_SPARKS
Definition: Spells.h:28
SpellBuff::uCaster
unsigned __int8 uCaster
Definition: Spells.h:169
SPELL_EARTH_MASS_DISTORTION
@ SPELL_EARTH_MASS_DISTORTION
Definition: Spells.h:59
SpellData::uNormalLevelRecovery
unsigned __int16 uNormalLevelRecovery
Definition: Spells.h:225
SpellBuff::Active
bool Active() const
Definition: Spells.h:162
SpellData::uExpertLevelMana
unsigned __int16 uExpertLevelMana
Definition: Spells.h:217
SPELL_BODY_CURE_WEAKNESS
@ SPELL_BODY_CURE_WEAKNESS
Definition: Spells.h:85
SPELL_SPIRIT_FATE
@ SPELL_SPIRIT_FATE
Definition: Spells.h:63
SPELL_WATER_ACID_BURST
@ SPELL_WATER_ACID_BURST
Definition: Spells.h:43
SPELL_DARK_DRAGON_BREATH
@ SPELL_DARK_DRAGON_BREATH
Definition: Spells.h:117
pSpellStats
struct SpellStats * pSpellStats
Definition: Spells.cpp:32
SPELL_AIR_IMPLOSION
@ SPELL_AIR_IMPLOSION
Definition: Spells.h:33
SPELL_WATER_PROTECTION_FROM_WATER
@ SPELL_WATER_PROTECTION_FROM_WATER
Definition: Spells.h:39
SpellBuff::uPower
unsigned __int16 uPower
Definition: Spells.h:166
SPELL_AIR_STARBURST
@ SPELL_AIR_STARBURST
Definition: Spells.h:35
SPELL_SCHOOL
SPELL_SCHOOL
Definition: Spells.h:131
SPELL_BODY_CURE_DISEASE
@ SPELL_BODY_CURE_DISEASE
Definition: Spells.h:92
SPELL_LIGHT_PRISMATIC_LIGHT
@ SPELL_LIGHT_PRISMATIC_LIGHT
Definition: Spells.h:103
SPELL_EARTH_BLADES
@ SPELL_EARTH_BLADES
Definition: Spells.h:54
SPELL_LIGHT_DIVINE_INTERVENTION
@ SPELL_LIGHT_DIVINE_INTERVENTION
Definition: Spells.h:107
SPELL_BOW_ARROW
@ SPELL_BOW_ARROW
Definition: Spells.h:121
SpellInfo::pShortName
char * pShortName
Definition: Spells.h:177
SPELL_WATER_LLOYDS_BEACON
@ SPELL_WATER_LLOYDS_BEACON
Definition: Spells.h:47
SPELL_SPIRIT_DETECT_LIFE
@ SPELL_SPIRIT_DETECT_LIFE
Definition: Spells.h:61
TownPortalData::rot_y
__int16 rot_y
Definition: Spells.h:252
SpellInfo::field_20
int field_20
Definition: Spells.h:184
SPELL_MIND_BERSERK
@ SPELL_MIND_BERSERK
Definition: Spells.h:79
SPELL_WATER_ENCHANT_ITEM
@ SPELL_WATER_ENCHANT_ITEM
Definition: Spells.h:44
BECOME_MAGIC_GUILD_MEMBER
@ BECOME_MAGIC_GUILD_MEMBER
Definition: Spells.h:125
SPELL_AIR_LIGHNING_BOLT
@ SPELL_AIR_LIGHNING_BOLT
Definition: Spells.h:31
SpellInfo::pDescription
char * pDescription
Definition: Spells.h:178
SPELL_BODY_FLYING_FIST
@ SPELL_BODY_FLYING_FIST
Definition: Spells.h:94
SPELL_MIND_REMOVE_FEAR
@ SPELL_MIND_REMOVE_FEAR
Definition: Spells.h:73
SPELL_AIR_INVISIBILITY
@ SPELL_AIR_INVISIBILITY
Definition: Spells.h:32
SPELL_DARK_TOXIC_CLOUD
@ SPELL_DARK_TOXIC_CLOUD
Definition: Spells.h:110
SPELL_WATER_RECHARGE_ITEM
@ SPELL_WATER_RECHARGE_ITEM
Definition: Spells.h:42
SpellBuff::Apply
bool Apply(GameTime time, unsigned __int16 uSkillLevel, unsigned __int16 uPower, int uOverlayID, unsigned __int8 caster)
Definition: Spells.cpp:363
SpellData::bonusSkillDamage
__int8 bonusSkillDamage
Definition: Spells.h:232
SPELL_DARK_REANIMATE
@ SPELL_DARK_REANIMATE
Definition: Spells.h:109
stru324_spell_id_to_sprite_mapping::field_2
__int16 field_2
Definition: Spells.h:200
EventCastSpell
void EventCastSpell(int uSpellID, int uSkillLevel, int uSkill, int fromx, int fromy, int fromz, int tox, int toy, int toz)
Definition: Spells.cpp:429
SPELL_DARK_SHRINKING_RAY
@ SPELL_DARK_SHRINKING_RAY
Definition: Spells.h:112
SpellInfo::pBasicSkillDesc
char * pBasicSkillDesc
Definition: Spells.h:179
SPELL_SCHOOL_LIGHT
@ SPELL_SCHOOL_LIGHT
Definition: Spells.h:141
SPELL_FIRE_HASTE
@ SPELL_FIRE_HASTE
Definition: Spells.h:17
SPELL_AIR_FLY
@ SPELL_AIR_FLY
Definition: Spells.h:34
SPELL_MIND_CURE_PARALYSIS
@ SPELL_MIND_CURE_PARALYSIS
Definition: Spells.h:78
SpellData::uMasterLevelRecovery
unsigned __int16 uMasterLevelRecovery
Definition: Spells.h:227
GameTime
Definition: Time.h:14
SPELL_FIRE_INCINERATE
@ SPELL_FIRE_INCINERATE
Definition: Spells.h:23
TownPortalData::rot_x
__int16 rot_x
Definition: Spells.h:253
SPELL_SPIRIT_HEROISM
@ SPELL_SPIRIT_HEROISM
Definition: Spells.h:67
SpellData::SpellData
SpellData(__int16 innormalMana, __int16 inExpertLevelMana, __int16 inMasterLevelMana, __int16 inMagisterLevelMana, __int16 inNormalLevelRecovery, __int16 inExpertLevelRecovery, __int16 inMasterLevelRecovery, __int16 inMagisterLevelRecovery, __int8 inbaseDamage, __int8 inbonusSkillDamage, __int16 instats)
Definition: Spells.cpp:149
SpellBuff::uFlags
unsigned __int8 uFlags
Definition: Spells.h:170
sub_427769_isSpellQuickCastableOnShiftClick
bool sub_427769_isSpellQuickCastableOnShiftClick(unsigned int uSpellID)
Definition: Spells.cpp:741
SpellInfo::pGrandmasterSkillDesc
char * pGrandmasterSkillDesc
Definition: Spells.h:182
SPELL_BODY_PROTECTION_FROM_MAGIC
@ SPELL_BODY_PROTECTION_FROM_MAGIC
Definition: Spells.h:93
SPELL_SCHOOL_MAGIC
@ SPELL_SCHOOL_MAGIC
Definition: Spells.h:137
SPELL_LIGHT_DAY_OF_THE_GODS
@ SPELL_LIGHT_DAY_OF_THE_GODS
Definition: Spells.h:102
SpellInfo::pMasterSkillDesc
char * pMasterSkillDesc
Definition: Spells.h:181