@@ -4602,6 +4602,9 @@ CM.Sim.auraMult = function(what) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CM.Sim.hasGod=function(what) {
|
CM.Sim.hasGod=function(what) {
|
||||||
|
if (!CM.Sim.Objects.Temple.minigameLoaded) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
var possibleGods = CM.Sim.Objects.Temple.minigame.gods
|
var possibleGods = CM.Sim.Objects.Temple.minigame.gods
|
||||||
var god=possibleGods[what];
|
var god=possibleGods[what];
|
||||||
for (var i=0;i<3;i++)
|
for (var i=0;i<3;i++)
|
||||||
@@ -5372,13 +5375,14 @@ CM.Sim.mouseCps = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mult *= CM.Sim.eff('click');
|
mult *= CM.Sim.eff('click');
|
||||||
|
if (CM.Sim.Objects.Temple.minigameLoaded) {
|
||||||
if (CM.Sim.hasGod)
|
if (CM.Sim.hasGod)
|
||||||
{
|
{
|
||||||
var godLvl = CM.Sim.hasGod('labor');
|
var godLvl = CM.Sim.hasGod('labor');
|
||||||
if (godLvl == 1) mult *= 1.15;
|
if (godLvl == 1) mult *= 1.15;
|
||||||
else if (godLvl == 2) mult *= 1.1;
|
else if (godLvl == 2) mult *= 1.1;
|
||||||
else if (godLvl == 3) mult *= 1.05;
|
else if (godLvl == 3) mult *= 1.05;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i in Game.buffs)
|
for (var i in Game.buffs)
|
||||||
|
|||||||
18
src/Sim.js
18
src/Sim.js
@@ -103,6 +103,9 @@ CM.Sim.auraMult = function(what) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CM.Sim.hasGod=function(what) {
|
CM.Sim.hasGod=function(what) {
|
||||||
|
if (!CM.Sim.Objects.Temple.minigameLoaded) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
var possibleGods = CM.Sim.Objects.Temple.minigame.gods
|
var possibleGods = CM.Sim.Objects.Temple.minigame.gods
|
||||||
var god=possibleGods[what];
|
var god=possibleGods[what];
|
||||||
for (var i=0;i<3;i++)
|
for (var i=0;i<3;i++)
|
||||||
@@ -873,13 +876,14 @@ CM.Sim.mouseCps = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mult *= CM.Sim.eff('click');
|
mult *= CM.Sim.eff('click');
|
||||||
|
if (CM.Sim.Objects.Temple.minigameLoaded) {
|
||||||
if (CM.Sim.hasGod)
|
if (CM.Sim.hasGod)
|
||||||
{
|
{
|
||||||
var godLvl = CM.Sim.hasGod('labor');
|
var godLvl = CM.Sim.hasGod('labor');
|
||||||
if (godLvl == 1) mult *= 1.15;
|
if (godLvl == 1) mult *= 1.15;
|
||||||
else if (godLvl == 2) mult *= 1.1;
|
else if (godLvl == 2) mult *= 1.1;
|
||||||
else if (godLvl == 3) mult *= 1.05;
|
else if (godLvl == 3) mult *= 1.05;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i in Game.buffs)
|
for (var i in Game.buffs)
|
||||||
|
|||||||
Reference in New Issue
Block a user