Browse Source

disable new mob AI

lakebane
FatBoy-DOTC 4 weeks ago
parent
commit
8d950aaa91
  1. 32
      src/engine/mobileAI/MobAI.java

32
src/engine/mobileAI/MobAI.java

@ -622,22 +622,22 @@ public class MobAI { @@ -622,22 +622,22 @@ public class MobAI {
try {
boolean override = true;
switch (mob.BehaviourType) {
case GuardCaptain:
case GuardMinion:
case GuardWallArcher:
case Pet1:
case HamletGuard:
override = false;
break;
}
if(override){
if(!mob.isSiege()) {
StandardMob.run(mob);
return;
}
}
//boolean override = true;
//switch (mob.BehaviourType) {
// case GuardCaptain:
// case GuardMinion:
// case GuardWallArcher:
// case Pet1:
// case HamletGuard:
// override = false;
// break;
// }
//if(override){
// if(!mob.isSiege()) {
// StandardMob.run(mob);
// return;
// }
//}
//always check the respawn que, respawn 1 mob max per second to not flood the client

Loading…
Cancel
Save