fix(Core/Spells): Revert an oopsie (#10598)

This commit is contained in:
Kitzunu
2022-02-08 23:49:40 +01:00
committed by GitHub
parent 5606e297a6
commit ef2440eb44

View File

@@ -523,22 +523,21 @@ public:
std::array<SpellEffectInfo, MAX_SPELL_EFFECTS> const& GetEffects() const { return Effects; }
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 _IsPositiveSpell() const;
static bool _IsPositiveTarget(uint32 targetA, uint32 targetB);
private:
// loading helpers
void _InitializeExplicitTargetMask();
AuraStateType LoadAuraState() 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
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