diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index f75fcd24e..885caff5f 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -7859,7 +7859,7 @@ namespace Game.Spells m_caster.ToUnit().GetSpellHistory().CancelGlobalCooldown(m_spellInfo); } - string GetDebugInfo() + public string GetDebugInfo() { return $"Id: {GetSpellInfo().Id} Name: '{GetSpellInfo().SpellName[Global.WorldMgr.GetDefaultDbcLocale()]}' OriginalCaster: {m_originalCasterGUID} State: {GetState()}"; } @@ -8014,7 +8014,7 @@ namespace Game.Spells { return spell != null; } - + #region Fields Dictionary _executeLogEffects = new(); PathGenerator m_preGeneratedPath; @@ -9177,6 +9177,8 @@ namespace Game.Spells public Spell GetSpell() { return m_Spell; } + public string GetDebugInfo() { return m_Spell.GetDebugInfo(); } + Spell m_Spell; }