feat(Scripts/SmartAI): SMART_TARGET_INVOKER (#9802)

This commit is contained in:
IntelligentQuantum
2022-01-13 14:16:25 +03:30
committed by GitHub
parent 97012997af
commit df4b621527
5 changed files with 86 additions and 7 deletions

View File

@@ -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