mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-26 07:00:12 -05:00
Fixed spacing issue
hopefully fix it from when adding goldenbot
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user