mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
PR's + stationary monster changes
This commit is contained in:
+3
-2
@@ -12018,7 +12018,7 @@ function update_instance(instance) {
|
||||
ty: focus.y,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
} else if (!G.monsters[monster.type].stationary) {
|
||||
monster.ogoing_x = monster.going_x;
|
||||
monster.ogoing_y = monster.going_y;
|
||||
monster.going_x = monster.x + (focus.x - monster.x) / 2;
|
||||
@@ -12047,7 +12047,8 @@ function update_instance(instance) {
|
||||
distance(monster, player, true) > 12 &&
|
||||
!mode.range_test &&
|
||||
!(mode.all_smart && monster.moving) &&
|
||||
!focus
|
||||
!focus &&
|
||||
!G.monsters[monster.type].stationary
|
||||
) {
|
||||
// console.log(monster.height);
|
||||
if (mode.all_smart) {
|
||||
|
||||
Reference in New Issue
Block a user