mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-17 07:02:53 -04:00
Added 2 Pets for AI Tests
- Added Follow State to AI - Pets get attacked by enemies and do attack damaging enemies - Some QA fixes
This commit is contained in:
@@ -52,6 +52,7 @@ import resources.objects.creature.CreatureObject;
|
||||
import resources.objects.factorycrate.FactoryCrateObject;
|
||||
import resources.objects.group.GroupObject;
|
||||
import resources.objects.intangible.IntangibleObject;
|
||||
import resources.objects.player.PlayerObject;
|
||||
import resources.objects.tangible.TangibleObject;
|
||||
import resources.objects.weapon.WeaponObject;
|
||||
import services.ai.AIActor;
|
||||
@@ -130,6 +131,9 @@ public class LootService implements INetworkDispatch {
|
||||
if (requester==null || lootedObject==null)
|
||||
return; //QA
|
||||
|
||||
if (! requester.isPlayer())
|
||||
return; //QA
|
||||
|
||||
GroupObject group = null;
|
||||
if(requester.getGroupId()!=0)
|
||||
group = (GroupObject) core.objectService.getObject(requester.getGroupId());
|
||||
|
||||
Reference in New Issue
Block a user