mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-10 00:13:05 -04:00
Fixed several AI bugs, added log system
- Fixes 0000031: Incap is not working correctly - NPC AI now considers deathblow values correctly - AI state transition further debugged - Pet now follows owner after killing attacker - Added debug log system - Cleaned up system console from system.out messages
This commit is contained in:
@@ -35,6 +35,7 @@ import resources.common.Console;
|
||||
import resources.common.FileUtilities;
|
||||
import resources.common.Opcodes;
|
||||
import resources.common.SpawnPoint;
|
||||
import resources.datatables.Posture;
|
||||
import resources.datatables.WeaponType;
|
||||
import resources.harvest.SurveyTool;
|
||||
import resources.objects.building.BuildingObject;
|
||||
@@ -1062,6 +1063,7 @@ public class DevService implements INetworkDispatch {
|
||||
return;
|
||||
|
||||
case 110:
|
||||
player.setPosture(Posture.Incapacitated);
|
||||
SurveyTool mineralSurveyTool = (SurveyTool) core.objectService.createObject("object/tangible/survey_tool/shared_survey_tool_mineral.iff", planet);
|
||||
mineralSurveyTool.setCustomName("Mineral Survey Device");
|
||||
inventory.add(mineralSurveyTool);
|
||||
|
||||
Reference in New Issue
Block a user