v0.9.1: fixed DM-300 pathing oddly in some cases
This commit is contained in:
+2
-2
@@ -526,7 +526,7 @@ public class NewDM300 extends Mob {
|
|||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (rooted || target == pos) {
|
if (!supercharged || rooted || target == pos) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -542,7 +542,7 @@ public class NewDM300 extends Mob {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!supercharged || state != HUNTING || Dungeon.level.adjacent(pos, target)){
|
if (state != HUNTING || Dungeon.level.adjacent(pos, target)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user