feat(Scripts/SmartAI): SMART_TARGET_INVOKER (#9802)
This commit is contained in:
parent
97012997af
commit
df4b621527
5 changed files with 86 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue