mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
Alter average level formula
This commit is contained in:
parent
2fbb533ca2
commit
64076a842d
@ -13,10 +13,10 @@ export class Battle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private getLevelForWave(): number {
|
private getLevelForWave(): number {
|
||||||
let averageLevel = 1 + this.waveIndex * 0.5;
|
let averageLevel = 1 + this.waveIndex / 2 + Math.pow(this.waveIndex / 25, 2);
|
||||||
|
|
||||||
if (!(this.waveIndex % 10))
|
if (!(this.waveIndex % 10))
|
||||||
return Math.floor(averageLevel * 1.25);
|
return Math.floor(averageLevel * 1.2);
|
||||||
|
|
||||||
const deviation = 10 / this.waveIndex;
|
const deviation = 10 / this.waveIndex;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user