Scripts/Spells: Modernize spell script internals a bit

Port From (https://github.com/TrinityCore/TrinityCore/commit/228c56f3c5e23345cf2b5a391c614e52f61fe7f9)
This commit is contained in:
hondacrx
2023-09-04 13:05:19 -04:00
parent 893ddbb8b7
commit 66c1b205ef
3 changed files with 261 additions and 253 deletions
+1 -1
View File
@@ -7464,7 +7464,7 @@ namespace Game.Spells
foreach (var script in m_loadedScripts)
{
Log.outDebug(LogFilter.Spells, "Spell.LoadScripts: Script `{0}` for spell `{1}` is loaded now", script._GetScriptName(), m_spellInfo.Id);
Log.outDebug(LogFilter.Spells, "Spell.LoadScripts: Script `{0}` for spell `{1}` is loaded now", script.GetScriptName(), m_spellInfo.Id);
script.Register();
}
}