Core/SmartScript: removed initial timer of SMART_EVENT_IC_LOS and SMART_EVENT_OOC_LOS
Closes https://github.com/TrinityCore/TrinityCore/issues/14516 (cherry picked from commit e83a1c6b350575f784bd26c84b78d07b0bc2edbb)
This commit is contained in:
1 parent
747ea7ca2c
commit
578bb8452f
1 file changed
-4
@@ -3266,10 +3266,6 @@ void SmartScript::InitTimer(SmartScriptHolder& e)
|
||||
case SMART_EVENT_UPDATE_OOC:
|
||||
RecalcTimer(e, e.event.minMaxRepeat.min, e.event.minMaxRepeat.max);
|
||||
break;
|
||||
case SMART_EVENT_IC_LOS:
|
||||
case SMART_EVENT_OOC_LOS:
|
||||
RecalcTimer(e, e.event.los.cooldownMin, e.event.los.cooldownMax);
|
||||
break;
|
||||
case SMART_EVENT_DISTANCE_CREATURE:
|
||||
case SMART_EVENT_DISTANCE_GAMEOBJECT:
|
||||
RecalcTimer(e, e.event.distance.repeat, e.event.distance.repeat);
|
||||
|
||||
Reference in new issue
Block a user