Skip to content

Commit

Permalink
Update query.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorn192 authored May 28, 2020
1 parent d3652d8 commit 96c9eec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ function RgetEnemyMaxHealth(world, level) {
if (world < 60) amt *= 0.75;
if (world > 5 && game.global.mapsActive) amt *= 1.1;
amt *= game.badGuys["Grimp"].health;
if (game.global.universe == 2) amt *= Math.pow(1.4, world);
if (game.global.universe == 2){
var part1 = (world > 60) ? 60 : world;
var part2 = (world - 60);
if (part2 < 0) part2 = 0;
amt *= Math.pow(1.4, part1);
amt *= Math.pow(1.32, part2);
}
return Math.floor(amt);
}
function getPotencyMod(howManyMoreGenes) {
Expand Down

0 comments on commit 96c9eec

Please sign in to comment.