mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
feat(Core/Scripting): Implement OnLoadSpellCustomAttr global hook (#10469)
This commit is contained in:
@@ -153,3 +153,11 @@ bool ScriptMgr::OnSpellHealingBonusTakenNegativeModifiers(Unit const* target, Un
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void ScriptMgr::OnLoadSpellCustomAttr(SpellInfo* spell)
|
||||
{
|
||||
ExecuteScript<GlobalScript>([&](GlobalScript* script)
|
||||
{
|
||||
script->OnLoadSpellCustomAttr(spell);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user