mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 14:36:58 +00:00
rebalance upgrades
This commit is contained in:
@@ -14,8 +14,8 @@ export default class QuestGoldUpgrade extends GuildUpgrade {
|
||||
}
|
||||
|
||||
getCostForLevel(level: number): number {
|
||||
const scalingFactor = Math.pow(1.05, level - 1);
|
||||
return Math.floor(2500000 * scalingFactor * Math.pow(level, 1.01));
|
||||
if (level === 1) return 1000000;
|
||||
return Math.floor(1000000 * (level * 1.05));
|
||||
}
|
||||
|
||||
getModifier(): number {
|
||||
|
||||
Reference in New Issue
Block a user