mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-28 06:25:55 +00:00
fix(Core/SmartScript): Change AREA_CASTING to align with VICTIM_CASTING on timer recalculation (#24563)
This commit is contained in:
@@ -4790,12 +4790,10 @@ void SmartScript::ProcessEvent(SmartScriptHolder& e, Unit* unit, uint32 var0, ui
|
||||
RecalcTimer(e, e.event.minMaxRepeat.repeatMin, e.event.minMaxRepeat.repeatMax);
|
||||
return;
|
||||
}
|
||||
|
||||
// If no targets are found and it's off cooldown, check again in 1200ms
|
||||
RecalcTimer(e, 1200, 1200);
|
||||
break;
|
||||
}
|
||||
|
||||
// No targets found
|
||||
RecalcTimer(e, e.event.minMaxRepeat.repeatMin, e.event.minMaxRepeat.repeatMax);
|
||||
break;
|
||||
}
|
||||
case SMART_EVENT_AREA_RANGE:
|
||||
|
||||
Reference in New Issue
Block a user