Implemented agressive AI and assist behaviour, added health regen task to ai

Use the prima guide to get assist range of mobs
This commit is contained in:
Light2
2014-05-03 19:57:02 +02:00
parent ba6d2652b9
commit 815521c2fe
4 changed files with 140 additions and 3 deletions
+3 -1
View File
@@ -563,6 +563,8 @@ public class ObjectService implements INetworkDispatch {
synchronized(objectList) {
for(SWGObject obj : objectList.values()) {
if(obj == null)
continue;
if(obj.getCustomName() == null)
continue;
if(obj.getCustomName().startsWith(customName))
@@ -584,7 +586,7 @@ public class ObjectService implements INetworkDispatch {
return object;
}
}
cursor.close();
return null;
}