Fixed spacing issue

hopefully fix it from when adding goldenbot
This commit is contained in:
Crowns3bc
2025-01-27 13:53:05 -07:00
committed by GitHub
parent 5976d7bca0
commit 90ce49d9c7
+5 -5
View File
@@ -2087,10 +2087,10 @@ function event_loop() {
spawn_special_monster("goldenbat"); spawn_special_monster("goldenbat");
} }
if (events.goldenbot && (stats.kills.targetron + stats.kills.sparkbot) > edges.next_goldenbot) { if (events.goldenbot && (stats.kills.targetron + stats.kills.sparkbot) > edges.next_goldenbot) {
edges.next_goldenbot += parseInt(events.goldenbot * Math.random()); edges.next_goldenbot += parseInt(events.goldenbot * Math.random());
spawn_special_monster("goldenbot"); spawn_special_monster("goldenbot");
} }
if (events.cutebee && stats.kills.bee > edges.next_cutebee) { if (events.cutebee && stats.kills.bee > edges.next_cutebee) {
edges.next_cutebee += parseInt(events.cutebee * Math.random()); edges.next_cutebee += parseInt(events.cutebee * Math.random());
@@ -2231,7 +2231,7 @@ function event_loop() {
if ( if (
(player.level < 50 && Math.random() > 0.08) || (player.level < 50 && Math.random() > 0.08) ||
(G.maps[player.map] && (G.maps[player.map] &&
(G.maps[player.map].safe || G.maps[player.map].instance || G.maps[player.map].irregular)) (G.maps[player.map].safe || G.maps[player.map].instance || G.maps[player.map].irregular))
) { ) {
player = null; player = null;
} }