mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 08:46:09 +00:00
fix(Core/Spell): Handle ClearAllDebuffs (#5006)
This commit is contained in:
@@ -1971,6 +1971,14 @@ public:
|
||||
void RemoveAura(AuraApplication* aurApp, AuraRemoveMode mode = AURA_REMOVE_BY_DEFAULT);
|
||||
void RemoveAura(Aura* aur, AuraRemoveMode mode = AURA_REMOVE_BY_DEFAULT);
|
||||
|
||||
// Convenience methods removing auras by predicate
|
||||
void RemoveAppliedAuras(std::function<bool(AuraApplication const*)> const& check);
|
||||
void RemoveOwnedAuras(std::function<bool(Aura const*)> const& check);
|
||||
|
||||
// Optimized overloads taking advantage of map key
|
||||
void RemoveAppliedAuras(uint32 spellId, std::function<bool(AuraApplication const*)> const& check);
|
||||
void RemoveOwnedAuras(uint32 spellId, std::function<bool(Aura const*)> const& check);
|
||||
|
||||
void RemoveAurasDueToSpell(uint32 spellId, uint64 casterGUID = 0, uint8 reqEffMask = 0, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT);
|
||||
void RemoveAuraFromStack(uint32 spellId, uint64 casterGUID = 0, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT);
|
||||
void RemoveAurasDueToSpellByDispel(uint32 spellId, uint32 dispellerSpellId, uint64 casterGUID, Unit* dispeller, uint8 chargesRemoved = 1);
|
||||
@@ -1985,12 +1993,6 @@ public:
|
||||
void RemoveMovementImpairingAuras(bool withRoot);
|
||||
void RemoveAurasByShapeShift();
|
||||
|
||||
// Convenience methods removing auras by predicate
|
||||
void RemoveAppliedAuras(std::function<bool(AuraApplication const*)> const& check);
|
||||
|
||||
// Optimized overloads taking advantage of map key
|
||||
void RemoveAppliedAuras(uint32 spellId, std::function<bool(AuraApplication const*)> const& check);
|
||||
|
||||
void RemoveAreaAurasDueToLeaveWorld();
|
||||
void RemoveAllAuras();
|
||||
void RemoveArenaAuras();
|
||||
|
||||
Reference in New Issue
Block a user