feat(Core/Scripting): Implement OnLoadSpellCustomAttr global hook (#10469)
This commit is contained in:
parent
0377b71e16
commit
4c5aceedbd
3 changed files with 15 additions and 0 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue