fix(Core/Spells): Fix Lock and Load procs (#24795)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
@@ -585,6 +585,7 @@ public:
|
||||
|
||||
Unit* GetCaster() const { return m_caster; }
|
||||
Unit* GetOriginalCaster() const { return m_originalCaster; }
|
||||
Unit* GetOriginalTarget() const;
|
||||
SpellInfo const* GetSpellInfo() const { return m_spellInfo; }
|
||||
int32 GetPowerCost() const { return m_powerCost; }
|
||||
|
||||
@@ -621,6 +622,8 @@ public:
|
||||
// e.g. damage around area spell trigered by victim aura and damage enemies of aura caster
|
||||
Unit* m_originalCaster; // cached pointer for m_originalCaster, updated at Spell::UpdatePointers()
|
||||
|
||||
ObjectGuid m_originalTargetGUID; // unit target saved before InitExplicitTargets strips it
|
||||
|
||||
Spell** m_selfContainer; // pointer to our spell container (if applicable)
|
||||
|
||||
std::string GetDebugInfo() const;
|
||||
|
||||
Reference in New Issue
Block a user