-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstats.js
More file actions
26 lines (18 loc) · 927 Bytes
/
Copy pathstats.js
File metadata and controls
26 lines (18 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
*
* Mouse Pro
*
* gameObjects.js
*/
(function (Game, Shop, Display, Stats) {
Stats.refreshStats = function() {
let mm = Game.currency('MM');
let mc = Game.currency('MC');
document.getElementById('highest-mm').innerHTML = mm.getHighestLevelAttained() || mm.getLevel();
document.getElementById('highest-mc').innerHTML = mc.getHighestLevelAttained() || mc.getLevel();
document.getElementById('sacrificed-mm').innerHTML = Shop.boost('sacrifice-mm').getPower();
document.getElementById('sacrificed-mc').innerHTML = Shop.boost('sacrifice-mc').getPower();
document.getElementById('ticks-per-second').innerHTML = Display.beautify(Display.framesPerSecond());
document.getElementById('ephemeralDeaths').innerHTML = Shop.boost('anchor').getPower();
}
})(gameObjects.Game, gameObjects.Shop, gameObjects.Display, gameObjects.Stats);