From 7ce0136423aa70ee24f8404f748de27f6fbc8c74 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sat, 24 Jun 2023 09:17:51 -0400 Subject: [PATCH] Misc Fixes --- Source/Game/Spells/Spell.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; }