Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will now log errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now.
Port From (https://github.com/TrinityCore/TrinityCore/commit/06b5b8d8b7ac3da65013ccc0f03599ee9dee2163)
This commit is contained in:
@@ -3102,7 +3102,7 @@ namespace Game.AI
|
||||
uint count = _me.GetVictim().GetAuraCount(e.Event.aura.spell);
|
||||
if (count < e.Event.aura.count)
|
||||
return;
|
||||
ProcessTimedAction(e, e.Event.aura.repeatMin, e.Event.aura.repeatMax);
|
||||
ProcessTimedAction(e, e.Event.aura.repeatMin, e.Event.aura.repeatMax, _me.GetVictim());
|
||||
break;
|
||||
}
|
||||
case SmartEvents.Charmed:
|
||||
|
||||
Reference in New Issue
Block a user