We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 129c477 commit dc26e1bCopy full SHA for dc26e1b
src/server/game/Spells/Auras/SpellAuras.h
@@ -376,6 +376,7 @@ class TC_GAME_API Aura
376
virtual std::string GetDebugInfo() const;
377
378
Trinity::unique_weak_ptr<Aura> GetWeakPtr() const { return m_scriptRef; }
379
+ Trinity::unique_weak_ptr<AuraEffect> GetEffectWeakPtr(SpellEffIndex index) const { return { m_scriptRef, GetEffect(index) }; }
380
381
Aura(Aura const&) = delete;
382
Aura(Aura&&) = delete;
0 commit comments