1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-23 08:51:48 +00:00

Update game.js

This commit is contained in:
Aarex Tiaokhiao 2020-09-13 22:46:26 -04:00
parent 690159cd41
commit 8da71643e5

View file

@ -2149,7 +2149,7 @@ function getLayerGainMult(layer) {
function getLayerGainExp(layer) { function getLayerGainExp(layer) {
let exp = new Decimal(1); let exp = new Decimal(1);
if (LAYER_ROW[layer] < 5) exp = fixValue(tmp.i && tmp.i.workEff).recip() if (LAYER_ROW[layer] < 5) exp = fixValue(tmp.i && tmp.i.workEff, 1).recip()
switch(layer) { switch(layer) {
case "p": case "p":
if (tmp.challActive ? tmp.challActive.h[21] : true) exp = exp.div(100) if (tmp.challActive ? tmp.challActive.h[21] : true) exp = exp.div(100)