fix(Core/DB/SAI): [Quest] - Weapons of Spirit / Allows Value 3 for react SAI WP Start Consolidated PR (#8926)
This commit is contained in:
parent
26ac1816d0
commit
0958f2f129
3 changed files with 53 additions and 3 deletions
|
|
@ -1745,8 +1745,10 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
|||
if (!stored)
|
||||
delete targets;
|
||||
}
|
||||
|
||||
me->SetReactState((ReactStates)e.action.wpStart.reactState);
|
||||
if (e.action.wpStart.reactState <= REACT_AGGRESSIVE)
|
||||
{
|
||||
me->SetReactState((ReactStates) e.action.wpStart.reactState);
|
||||
}
|
||||
CAST_AI(SmartAI, me->AI())->StartPath(run, entry, repeat, unit);
|
||||
|
||||
uint32 quest = e.action.wpStart.quest;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue