Ver código fonte

Fixed scat being so ridiculous by making it have fixed proportions

tags/v0.7.3
Fen Dweller 7 anos atrás
pai
commit
a8b6ca662e
1 arquivos alterados com 2 adições e 3 exclusões
  1. +2
    -3
      game.js

+ 2
- 3
game.js Ver arquivo

@@ -3318,10 +3318,9 @@ function scat(vol) {
vol = macro.scatStorage.amount; vol = macro.scatStorage.amount;
} }


let area = Math.pow(vol, 2/3);
let area = Math.pow(vol, 2/3) / 2;
let scatLength = Math.pow(vol, 1/3) * 4;


let scatArea = macro.analVoreArea;
let scatLength = vol / macro.analVoreArea;
let prey = getPrey(biome, area); let prey = getPrey(biome, area);
let line = describe("scat", prey, macro, verbose).replace("$MASS",mass(vol*1000,unit,true)).replace("$LENGTH",length(scatLength,unit,true)); let line = describe("scat", prey, macro, verbose).replace("$MASS",mass(vol*1000,unit,true)).replace("$LENGTH",length(scatLength,unit,true));
let linesummary = summarize(prey.sum(), true); let linesummary = summarize(prey.sum(), true);


Carregando…
Cancelar
Salvar