mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 14:36:58 +00:00
display all quest levels when level is high enough and add some base quests for each tier
This commit is contained in:
@@ -15,7 +15,7 @@ export class Guild {
|
||||
if (this.gold < cost) return;
|
||||
this.gold -= cost;
|
||||
this.level += 1;
|
||||
if (this.level > 7) {
|
||||
if (this.level >= 7) {
|
||||
this.displayUpgradeCost = "Max level";
|
||||
} else {
|
||||
const newCost = this.getUpgradeCost();
|
||||
@@ -36,5 +36,4 @@ const upgradeCosts = {
|
||||
"4": 10000,
|
||||
"5": 25000,
|
||||
"6": 50000,
|
||||
"7": 100000,
|
||||
} as {[index:string]: number}
|
||||
Reference in New Issue
Block a user