File diff suppressed because one or more lines are too long
2
dist/CookieMonster.js
vendored
2
dist/CookieMonster.js
vendored
File diff suppressed because one or more lines are too long
2
dist/CookieMonster.js.map
vendored
2
dist/CookieMonster.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -67,7 +67,7 @@ export default function CreateUpgradeBar() {
|
|||||||
const UpgradeBar = document.createElement('div');
|
const UpgradeBar = document.createElement('div');
|
||||||
UpgradeBar.id = 'CMUpgradeBar';
|
UpgradeBar.id = 'CMUpgradeBar';
|
||||||
UpgradeBar.style.width = '100%';
|
UpgradeBar.style.width = '100%';
|
||||||
UpgradeBar.style.backgroundColour = 'black';
|
UpgradeBar.style.backgroundColor = 'black';
|
||||||
UpgradeBar.style.textAlign = 'center';
|
UpgradeBar.style.textAlign = 'center';
|
||||||
UpgradeBar.style.fontWeight = 'bold';
|
UpgradeBar.style.fontWeight = 'bold';
|
||||||
UpgradeBar.style.display = 'none';
|
UpgradeBar.style.display = 'none';
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export function CreateBotBar() {
|
|||||||
BotBar.style.width = '100%';
|
BotBar.style.width = '100%';
|
||||||
BotBar.style.position = 'absolute';
|
BotBar.style.position = 'absolute';
|
||||||
BotBar.style.display = 'none';
|
BotBar.style.display = 'none';
|
||||||
BotBar.style.backgroundColour = '#262224';
|
BotBar.style.backgroundColor = '#262224';
|
||||||
BotBar.style.backgroundImage = 'linear-gradient(to bottom, #4d4548, #000000)';
|
BotBar.style.backgroundImage = 'linear-gradient(to bottom, #4d4548, #000000)';
|
||||||
BotBar.style.borderTop = '1px solid black';
|
BotBar.style.borderTop = '1px solid black';
|
||||||
BotBar.style.overflow = 'auto';
|
BotBar.style.overflow = 'auto';
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export function CreateTimerBar() {
|
|||||||
TimerBar.style.height = '0px';
|
TimerBar.style.height = '0px';
|
||||||
TimerBar.style.fontSize = '10px';
|
TimerBar.style.fontSize = '10px';
|
||||||
TimerBar.style.fontWeight = 'bold';
|
TimerBar.style.fontWeight = 'bold';
|
||||||
TimerBar.style.backgroundColour = 'black';
|
TimerBar.style.backgroundColor = 'black';
|
||||||
|
|
||||||
// Create standard Golden Cookie bar
|
// Create standard Golden Cookie bar
|
||||||
const CMTimerBarGC = CreateTimer('CMTimerBarGC', 'Next Cookie', [
|
const CMTimerBarGC = CreateTimer('CMTimerBarGC', 'Next Cookie', [
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import {
|
|||||||
* @returns {number} CM.Sim.cookiesPs - Game.cookiesPs The bonus cps and the price of the change
|
* @returns {number} CM.Sim.cookiesPs - Game.cookiesPs The bonus cps and the price of the change
|
||||||
*/
|
*/
|
||||||
export default function CalculateChangeGod(god, slot) {
|
export default function CalculateChangeGod(god, slot) {
|
||||||
|
if (!Game.Objects.Temple.minigameLoaded) return 0;
|
||||||
CopyData();
|
CopyData();
|
||||||
const { minigame } = Game.Objects.Temple;
|
const { minigame } = Game.Objects.Temple;
|
||||||
const CurrentSlot = minigame.godsById[god].slot;
|
const CurrentSlot = minigame.godsById[god].slot;
|
||||||
|
|||||||
Reference in New Issue
Block a user