forked from MagicBane/Server
added ./aiinfo command for debugging new AI system
This commit is contained in:
@@ -569,10 +569,6 @@ public class MobileFSM {
|
|||||||
if (mob == null || mob.BehaviourType == MobBehaviourType.None) {
|
if (mob == null || mob.BehaviourType == MobBehaviourType.None) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//add default behaviour type
|
|
||||||
if(mob.BehaviourType == null){
|
|
||||||
mob.BehaviourType = MobBehaviourType.Simple;
|
|
||||||
}
|
|
||||||
if (mob.isAlive() == false) {
|
if (mob.isAlive() == false) {
|
||||||
//no need to continue if mob is dead, check for respawn and move on
|
//no need to continue if mob is dead, check for respawn and move on
|
||||||
CheckForRespawn(mob);
|
CheckForRespawn(mob);
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ public enum DevCmdManager {
|
|||||||
DevCmdManager.registerDevCmd(new PrintResistsCmd());
|
DevCmdManager.registerDevCmd(new PrintResistsCmd());
|
||||||
DevCmdManager.registerDevCmd(new PrintLocationCmd());
|
DevCmdManager.registerDevCmd(new PrintLocationCmd());
|
||||||
DevCmdManager.registerDevCmd(new InfoCmd());
|
DevCmdManager.registerDevCmd(new InfoCmd());
|
||||||
|
DevCmdManager.registerDevCmd(new aiInfoCmd());
|
||||||
DevCmdManager.registerDevCmd(new simulateBootyCmd());
|
DevCmdManager.registerDevCmd(new simulateBootyCmd());
|
||||||
DevCmdManager.registerDevCmd(new GetHeightCmd());
|
DevCmdManager.registerDevCmd(new GetHeightCmd());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user