feat(Core/SmartScripts): SMART_EVENT_ACCEPTED_QUEST, SMART_EVENT_REWARD_QUEST (#10210)
This commit is contained in:
parent
627fb80d54
commit
dfa2198d98
4 changed files with 16 additions and 2 deletions
|
|
@ -4400,6 +4400,7 @@ void SmartScript::ProcessEvent(SmartScriptHolder& e, Unit* unit, uint32 var0, ui
|
|||
{
|
||||
if (e.event.quest.quest && var0 != e.event.quest.quest)
|
||||
return;
|
||||
RecalcTimer(e, e.event.quest.cooldownMin, e.event.quest.cooldownMax);
|
||||
ProcessAction(e, unit, var0);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue