mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9740] Update in comment indexes for SpellEntry
No real code changes.
This commit is contained in:
parent
ece6cb6c48
commit
f225be06d3
2 changed files with 55 additions and 57 deletions
|
|
@ -1416,62 +1416,60 @@ struct SpellEntry
|
||||||
int32 EquippedItemInventoryTypeMask; // 70 m_equippedItemInvTypes (mask)
|
int32 EquippedItemInventoryTypeMask; // 70 m_equippedItemInvTypes (mask)
|
||||||
uint32 Effect[MAX_EFFECT_INDEX]; // 71-73 m_effect
|
uint32 Effect[MAX_EFFECT_INDEX]; // 71-73 m_effect
|
||||||
int32 EffectDieSides[MAX_EFFECT_INDEX]; // 74-76 m_effectDieSides
|
int32 EffectDieSides[MAX_EFFECT_INDEX]; // 74-76 m_effectDieSides
|
||||||
//uint32 EffectBaseDice[MAX_EFFECT_INDEX]; // 77-79 m_effectBaseDice
|
float EffectRealPointsPerLevel[MAX_EFFECT_INDEX]; // 77-79 m_effectRealPointsPerLevel
|
||||||
//float EffectDicePerLevel[MAX_EFFECT_INDEX]; // 80-82 m_effectDicePerLevel
|
int32 EffectBasePoints[MAX_EFFECT_INDEX]; // 80-82 m_effectBasePoints (don't must be used in spell/auras explicitly, must be used cached Spell::m_currentBasePoints)
|
||||||
float EffectRealPointsPerLevel[MAX_EFFECT_INDEX]; // 83-85 m_effectRealPointsPerLevel
|
uint32 EffectMechanic[MAX_EFFECT_INDEX]; // 83-85 m_effectMechanic
|
||||||
int32 EffectBasePoints[MAX_EFFECT_INDEX]; // 86-88 m_effectBasePoints (don't must be used in spell/auras explicitly, must be used cached Spell::m_currentBasePoints)
|
uint32 EffectImplicitTargetA[MAX_EFFECT_INDEX]; // 86-88 m_implicitTargetA
|
||||||
uint32 EffectMechanic[MAX_EFFECT_INDEX]; // 89-91 m_effectMechanic
|
uint32 EffectImplicitTargetB[MAX_EFFECT_INDEX]; // 89-91 m_implicitTargetB
|
||||||
uint32 EffectImplicitTargetA[MAX_EFFECT_INDEX]; // 92-94 m_implicitTargetA
|
uint32 EffectRadiusIndex[MAX_EFFECT_INDEX]; // 92-94 m_effectRadiusIndex - spellradius.dbc
|
||||||
uint32 EffectImplicitTargetB[MAX_EFFECT_INDEX]; // 95-97 m_implicitTargetB
|
uint32 EffectApplyAuraName[MAX_EFFECT_INDEX]; // 95-97 m_effectAura
|
||||||
uint32 EffectRadiusIndex[MAX_EFFECT_INDEX]; // 98-100 m_effectRadiusIndex - spellradius.dbc
|
uint32 EffectAmplitude[MAX_EFFECT_INDEX]; // 98-100 m_effectAuraPeriod
|
||||||
uint32 EffectApplyAuraName[MAX_EFFECT_INDEX]; // 101-103 m_effectAura
|
float EffectMultipleValue[MAX_EFFECT_INDEX]; // 101-103 m_effectAmplitude
|
||||||
uint32 EffectAmplitude[MAX_EFFECT_INDEX]; // 104-106 m_effectAuraPeriod
|
uint32 EffectChainTarget[MAX_EFFECT_INDEX]; // 104-106 m_effectChainTargets
|
||||||
float EffectMultipleValue[MAX_EFFECT_INDEX]; // 107-109 m_effectAmplitude
|
uint32 EffectItemType[MAX_EFFECT_INDEX]; // 107-109 m_effectItemType
|
||||||
uint32 EffectChainTarget[MAX_EFFECT_INDEX]; // 110-112 m_effectChainTargets
|
int32 EffectMiscValue[MAX_EFFECT_INDEX]; // 110-112 m_effectMiscValue
|
||||||
uint32 EffectItemType[MAX_EFFECT_INDEX]; // 113-115 m_effectItemType
|
int32 EffectMiscValueB[MAX_EFFECT_INDEX]; // 113-115 m_effectMiscValueB
|
||||||
int32 EffectMiscValue[MAX_EFFECT_INDEX]; // 116-118 m_effectMiscValue
|
uint32 EffectTriggerSpell[MAX_EFFECT_INDEX]; // 116-118 m_effectTriggerSpell
|
||||||
int32 EffectMiscValueB[MAX_EFFECT_INDEX]; // 119-121 m_effectMiscValueB
|
float EffectPointsPerComboPoint[MAX_EFFECT_INDEX]; // 119-121 m_effectPointsPerCombo
|
||||||
uint32 EffectTriggerSpell[MAX_EFFECT_INDEX]; // 122-124 m_effectTriggerSpell
|
uint32 EffectSpellClassMaskA[3]; // 122-124 m_effectSpellClassMaskA, effect 0
|
||||||
float EffectPointsPerComboPoint[MAX_EFFECT_INDEX]; // 125-127 m_effectPointsPerCombo
|
uint32 EffectSpellClassMaskB[3]; // 125-127 m_effectSpellClassMaskB, effect 1
|
||||||
uint32 EffectSpellClassMaskA[3]; // 128-130 m_effectSpellClassMaskA, effect 0
|
uint32 EffectSpellClassMaskC[3]; // 128-130 m_effectSpellClassMaskC, effect 2
|
||||||
uint32 EffectSpellClassMaskB[3]; // 131-133 m_effectSpellClassMaskB, effect 1
|
uint32 SpellVisual[2]; // 131-132 m_spellVisualID
|
||||||
uint32 EffectSpellClassMaskC[3]; // 134-136 m_effectSpellClassMaskC, effect 2
|
uint32 SpellIconID; // 133 m_spellIconID
|
||||||
uint32 SpellVisual[2]; // 137-138 m_spellVisualID
|
uint32 activeIconID; // 134 m_activeIconID
|
||||||
uint32 SpellIconID; // 139 m_spellIconID
|
//uint32 spellPriority; // 135 m_spellPriority not used
|
||||||
uint32 activeIconID; // 140 m_activeIconID
|
char* SpellName[16]; // 136-151 m_name_lang
|
||||||
//uint32 spellPriority; // 141 m_spellPriority not used
|
//uint32 SpellNameFlag; // 152 not used
|
||||||
char* SpellName[16]; // 142-157 m_name_lang
|
char* Rank[16]; // 153-168 m_nameSubtext_lang
|
||||||
//uint32 SpellNameFlag; // 158 not used
|
//uint32 RankFlags; // 169 not used
|
||||||
char* Rank[16]; // 159-174 m_nameSubtext_lang
|
//char* Description[16]; // 170-185 m_description_lang not used
|
||||||
//uint32 RankFlags; // 175 not used
|
//uint32 DescriptionFlags; // 186 not used
|
||||||
//char* Description[16]; // 176-191 m_description_lang not used
|
//char* ToolTip[16]; // 187-202 m_auraDescription_lang not used
|
||||||
//uint32 DescriptionFlags; // 192 not used
|
//uint32 ToolTipFlags; // 203 not used
|
||||||
//char* ToolTip[16]; // 193-208 m_auraDescription_lang not used
|
uint32 ManaCostPercentage; // 204 m_manaCostPct
|
||||||
//uint32 ToolTipFlags; // 209 not used
|
uint32 StartRecoveryCategory; // 205 m_startRecoveryCategory
|
||||||
uint32 ManaCostPercentage; // 210 m_manaCostPct
|
uint32 StartRecoveryTime; // 206 m_startRecoveryTime
|
||||||
uint32 StartRecoveryCategory; // 211 m_startRecoveryCategory
|
uint32 MaxTargetLevel; // 207 m_maxTargetLevel
|
||||||
uint32 StartRecoveryTime; // 212 m_startRecoveryTime
|
uint32 SpellFamilyName; // 208 m_spellClassSet
|
||||||
uint32 MaxTargetLevel; // 213 m_maxTargetLevel
|
uint64 SpellFamilyFlags; // 209-210 m_spellClassMask NOTE: size is 12 bytes!!!
|
||||||
uint32 SpellFamilyName; // 214 m_spellClassSet
|
uint32 SpellFamilyFlags2; // 211 addition to m_spellClassMask
|
||||||
uint64 SpellFamilyFlags; // 215-216 m_spellClassMask NOTE: size is 12 bytes!!!
|
uint32 MaxAffectedTargets; // 212 m_maxTargets
|
||||||
uint32 SpellFamilyFlags2; // 217 addition to m_spellClassMask
|
uint32 DmgClass; // 213 m_defenseType
|
||||||
uint32 MaxAffectedTargets; // 218 m_maxTargets
|
uint32 PreventionType; // 214 m_preventionType
|
||||||
uint32 DmgClass; // 219 m_defenseType
|
//uint32 StanceBarOrder; // 215 m_stanceBarOrder not used
|
||||||
uint32 PreventionType; // 220 m_preventionType
|
float DmgMultiplier[MAX_EFFECT_INDEX]; // 216-218 m_effectChainAmplitude
|
||||||
//uint32 StanceBarOrder; // 221 m_stanceBarOrder not used
|
//uint32 MinFactionId; // 219 m_minFactionID not used
|
||||||
float DmgMultiplier[MAX_EFFECT_INDEX]; // 222-224 m_effectChainAmplitude
|
//uint32 MinReputation; // 220 m_minReputation not used
|
||||||
//uint32 MinFactionId; // 225 m_minFactionID not used
|
//uint32 RequiredAuraVision; // 221 m_requiredAuraVision not used
|
||||||
//uint32 MinReputation; // 226 m_minReputation not used
|
uint32 TotemCategory[2]; // 222-223 m_requiredTotemCategoryID
|
||||||
//uint32 RequiredAuraVision; // 227 m_requiredAuraVision not used
|
int32 AreaGroupId; // 224 m_requiredAreaGroupId
|
||||||
uint32 TotemCategory[2]; // 228-229 m_requiredTotemCategoryID
|
uint32 SchoolMask; // 225 m_schoolMask
|
||||||
int32 AreaGroupId; // 230 m_requiredAreaGroupId
|
uint32 runeCostID; // 226 m_runeCostID
|
||||||
uint32 SchoolMask; // 231 m_schoolMask
|
//uint32 spellMissileID; // 227 m_spellMissileID not used
|
||||||
uint32 runeCostID; // 232 m_runeCostID
|
//uint32 PowerDisplayId; // 228 PowerDisplay.dbc, new in 3.1
|
||||||
//uint32 spellMissileID; // 233 m_spellMissileID not used
|
//float unk_320_4[3]; // 229-231 3.2.0
|
||||||
//uint32 PowerDisplayId; // 234 PowerDisplay.dbc, new in 3.1
|
//uint32 spellDescriptionVariableID; // 232 3.2.0
|
||||||
//float unk_320_4[3]; // 235-237 3.2.0
|
//uint32 SpellDifficultyId; // 233 3.3.0
|
||||||
//uint32 spellDescriptionVariableID; // 238 3.2.0
|
|
||||||
//uint32 SpellDifficultyId; // 239 3.3.0
|
|
||||||
|
|
||||||
// helpers
|
// helpers
|
||||||
int32 CalculateSimpleValue(SpellEffectIndex eff) const { return EffectBasePoints[eff] + int32(1); }
|
int32 CalculateSimpleValue(SpellEffectIndex eff) const { return EffectBasePoints[eff] + int32(1); }
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9739"
|
#define REVISION_NR "9740"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue