revert new mob AI

This commit is contained in:
2025-03-28 15:17:49 -05:00
parent 16fea0c0e6
commit 4d79d17582
+25 -25
View File
@@ -620,34 +620,34 @@ public class MobAI {
try { try {
if(mob.isSiege() || mob.isPet() || mob.isPlayerGuard()){ //if(mob.isSiege() || mob.isPet() || mob.isPlayerGuard()){
SuperSimpleMobAI.run(mob); // SuperSimpleMobAI.run(mob);
return; // return;
} //}
boolean override; //boolean override;
switch (mob.BehaviourType) { //switch (mob.BehaviourType) {
case GuardCaptain: // case GuardCaptain:
case GuardMinion: // case GuardMinion:
case GuardWallArcher: // case GuardWallArcher:
case Pet1: // case Pet1:
case HamletGuard: // case HamletGuard:
override = false; // override = false;
break; // break;
default: // default:
override = true; // override = true;
break; // break;
} //}
if(mob.isSiege()) //if(mob.isSiege())
override = false; // override = false;
if(mob.isPet()) //if(mob.isPet())
override = false; // override = false;
if(override){ //if(override){
SuperSimpleMobAI.run(mob); // SuperSimpleMobAI.run(mob);
return; // return;
} //}
//always check the respawn que, respawn 1 mob max per second to not flood the client //always check the respawn que, respawn 1 mob max per second to not flood the client