forked from rDrama/rDrama
10 lines
281 B
JavaScript
10 lines
281 B
JavaScript
const fireflies_num = document.getElementById('fireflies_num').value
|
|
|
|
new BugController({
|
|
imageSprite: "/i/fireflies.webp",
|
|
canDie: false,
|
|
minBugs: Math.min(MINFLIES + (fireflies_num * 2), 50),
|
|
maxBugs: Math.min(MAXFLIES + (fireflies_num * 2), 100),
|
|
mouseOver: "multiply"
|
|
});
|