fix charging for 0 rep

This commit is contained in:
Olivier Gagnon 2021-11-15 14:41:34 -05:00
parent d49d8b4764
commit d958aa5ed9
4 changed files with 17 additions and 17 deletions

26
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -33,7 +33,7 @@ export class StaneksGift implements IStaneksGift {
af.avgCharge = (af.numCharge * af.avgCharge + threads) / (af.numCharge + 1); af.avgCharge = (af.numCharge * af.avgCharge + threads) / (af.numCharge + 1);
af.numCharge++; af.numCharge++;
Factions["Church of the Machine God"].playerReputation += Math.log(threads) / Math.log(2); Factions["Church of the Machine God"].playerReputation += Math.log(threads + 1) / Math.log(2);
} }
inBonus(): boolean { inBonus(): boolean {