fix(Core/Spells): Revert an oopsie (#10598)
This commit is contained in:
@@ -523,22 +523,21 @@ public:
|
|||||||
std::array<SpellEffectInfo, MAX_SPELL_EFFECTS> const& GetEffects() const { return Effects; }
|
std::array<SpellEffectInfo, MAX_SPELL_EFFECTS> const& GetEffects() const { return Effects; }
|
||||||
SpellEffectInfo const& GetEffect(SpellEffIndex index) const { ASSERT(index < Effects.size()); return Effects[index]; }
|
SpellEffectInfo const& GetEffect(SpellEffIndex index) const { ASSERT(index < Effects.size()); return Effects[index]; }
|
||||||
|
|
||||||
|
// loading helpers
|
||||||
|
void _InitializeExplicitTargetMask();
|
||||||
bool _IsPositiveEffect(uint8 effIndex, bool deep) const;
|
bool _IsPositiveEffect(uint8 effIndex, bool deep) const;
|
||||||
bool _IsPositiveSpell() const;
|
bool _IsPositiveSpell() const;
|
||||||
static bool _IsPositiveTarget(uint32 targetA, uint32 targetB);
|
static bool _IsPositiveTarget(uint32 targetA, uint32 targetB);
|
||||||
|
|
||||||
private:
|
|
||||||
// loading helpers
|
|
||||||
void _InitializeExplicitTargetMask();
|
|
||||||
|
|
||||||
AuraStateType LoadAuraState() const;
|
AuraStateType LoadAuraState() const;
|
||||||
SpellSpecificType LoadSpellSpecific() const;
|
SpellSpecificType LoadSpellSpecific() const;
|
||||||
|
|
||||||
std::array<SpellEffectInfo, MAX_SPELL_EFFECTS>& _GetEffects() { return Effects; }
|
|
||||||
SpellEffectInfo& _GetEffect(SpellEffIndex index) { ASSERT(index < Effects.size()); return Effects[index]; }
|
|
||||||
|
|
||||||
// unloading helpers
|
// unloading helpers
|
||||||
void _UnloadImplicitTargetConditionLists();
|
void _UnloadImplicitTargetConditionLists();
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::array<SpellEffectInfo, MAX_SPELL_EFFECTS>& _GetEffects() { return Effects; }
|
||||||
|
SpellEffectInfo& _GetEffect(SpellEffIndex index) { ASSERT(index < Effects.size()); return Effects[index]; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _SPELLINFO_H
|
#endif // _SPELLINFO_H
|
||||||
|
|||||||
Reference in New Issue
Block a user