disable new mob AI
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user