mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
feat(Scripts/SmartAI): SMART_TARGET_INVOKER (#9802)
This commit is contained in:
committed by
GitHub
parent
97012997af
commit
df4b621527
@@ -4148,7 +4148,7 @@ void SmartScript::ProcessEvent(SmartScriptHolder& e, Unit* unit, uint32 var0, ui
|
||||
uint32 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;
|
||||
}
|
||||
//no params
|
||||
|
||||
Reference in New Issue
Block a user