disable new mob AI
This commit is contained in:
@@ -622,22 +622,22 @@ public class MobAI {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
boolean override = true;
|
//boolean override = true;
|
||||||
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;
|
||||||
}
|
// }
|
||||||
if(override){
|
//if(override){
|
||||||
if(!mob.isSiege()) {
|
// if(!mob.isSiege()) {
|
||||||
StandardMob.run(mob);
|
// StandardMob.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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user