Misc fixes, and added GetDebugInfo() which was missed.
This commit is contained in:
@@ -7350,6 +7350,11 @@ namespace Game.Spells
|
||||
m_caster.ToUnit().GetSpellHistory().CancelGlobalCooldown(m_spellInfo);
|
||||
}
|
||||
|
||||
string GetDebugInfo()
|
||||
{
|
||||
return $"Id: {GetSpellInfo().Id} Name: '{GetSpellInfo().SpellName[Global.WorldMgr.GetDefaultDbcLocale()]}' OriginalCaster: {m_originalCasterGUID} State: {GetState()}";
|
||||
}
|
||||
|
||||
List<SpellScript> m_loadedScripts = new();
|
||||
|
||||
int CalculateDamage(SpellEffectInfo spellEffectInfo, Unit target)
|
||||
|
||||
Reference in New Issue
Block a user