mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 11:43:18 -04:00
Core/SAI: add cooldownMin (event_param2) and cooldownMax (event_param3) to SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST. (#23422)
This commit is contained in:
committed by
Giacomo Pozzoni
parent
5ac9b20fcf
commit
50be697e1f
@@ -3188,6 +3188,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user