fix(Core/PlayerScript): Fix adding XP on quest completion and other overlooks. (#18728)

* fix(Core/PlayerScript): Fix adding XP on quest completion.

* Fix other overlooks.
This commit is contained in:
Anton Popovichenko
2024-04-12 17:12:57 +02:00
committed by GitHub
parent 0e1888ac92
commit c796d9291e
6 changed files with 13 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ bool ScriptMgr::CanPrepare(Spell* spell, SpellCastTargets const* targets, AuraEf
bool ScriptMgr::CanScalingEverything(Spell* spell)
{
CALL_ENABLED_BOOLEAN_HOOKS(AllSpellScript, ALLSPELLHOOK_CAN_SCALING_EVERYTHING, script->CanScalingEverything(spell));
CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE(AllSpellScript, ALLSPELLHOOK_CAN_SCALING_EVERYTHING, script->CanScalingEverything(spell));
}
bool ScriptMgr::CanSelectSpecTalent(Spell* spell)