Remove trainer level logic that made weak party members too strong
parent
b48c7ca76d
commit
db33785fc2
|
@ -91,7 +91,7 @@ export default class Trainer extends Phaser.GameObjects.Container {
|
||||||
|
|
||||||
switch (strength) {
|
switch (strength) {
|
||||||
case TrainerPartyMemberStrength.WEAKEST:
|
case TrainerPartyMemberStrength.WEAKEST:
|
||||||
multiplier = 0.85;
|
multiplier = 0.9;
|
||||||
break;
|
break;
|
||||||
case TrainerPartyMemberStrength.WEAKER:
|
case TrainerPartyMemberStrength.WEAKER:
|
||||||
multiplier = 0.95;
|
multiplier = 0.95;
|
||||||
|
@ -110,13 +110,7 @@ export default class Trainer extends Phaser.GameObjects.Container {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
let level = Math.ceil(baseLevel * multiplier);
|
const level = Math.ceil(baseLevel * multiplier);
|
||||||
if (strength < TrainerPartyMemberStrength.STRONG) {
|
|
||||||
const minLevel = Math.ceil(baseLevel * 1.2) - Math.floor(waveIndex / 25);
|
|
||||||
if (level < minLevel)
|
|
||||||
level = minLevel;
|
|
||||||
}
|
|
||||||
|
|
||||||
ret.push(level);
|
ret.push(level);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue