Incorrect AI aggression as a consequence of the LineOfSight change, episode three, revenge of the special AIs. Also, hopefully the last. No original trilogy please.
This commit is contained in:
1 parent
e4dfbb60fd
commit
ab194d5ae3
3 files changed
+5
-2
No files matched your search
@@ -466,6 +466,9 @@ bool SmartAI::CanAIAttack(const Unit* /*who*/) const
|
||||
|
||||
bool SmartAI::AssistPlayerInCombat(Unit* who)
|
||||
{
|
||||
if (me->HasReactState(REACT_PASSIVE))
|
||||
return;
|
||||
|
||||
if (!who || !who->GetVictim())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user