Fix Some npcs just standing there when attacked.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
using Framework.Constants;
|
||||
using Game.Entities;
|
||||
using Game.Movement;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Game.AI
|
||||
{
|
||||
@@ -88,11 +89,11 @@ namespace Game.AI
|
||||
else if (creature.IsCritter() && !creature.HasUnitTypeMask(UnitTypeMask.Guardian))
|
||||
return new CritterAI(creature);
|
||||
|
||||
/*if (!creature.IsCivilian() && !creature.IsNeutralToAll())
|
||||
if (!creature.IsCivilian() && !creature.IsNeutralToAll())
|
||||
return new AggressorAI(creature);
|
||||
|
||||
if (creature.IsCivilian() || creature.IsNeutralToAll())
|
||||
return new ReactorAI(creature);*/
|
||||
return new ReactorAI(creature);
|
||||
|
||||
return new NullCreatureAI(creature);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user