display all quest levels when level is high enough and add some base quests for each tier

This commit is contained in:
2023-03-19 19:48:49 +01:00
parent 76fb24a948
commit c0f9edadef
4 changed files with 330 additions and 20 deletions
+2 -2
View File
@@ -8,13 +8,13 @@ export class Adventurer {
defensePerLevel: number;
busy: boolean;
constructor(id: string, name: string, portrait: string, attackPerLevel: number, defensePerLevel: number) {
constructor(id: string, name: string, portrait: string, attackPerLevel: number, defensePerLevel: number, level: number = 1) {
this.id = id;
this.name = name;
this.portrait = portrait;
this.attackPerLevel = attackPerLevel;
this.defensePerLevel = defensePerLevel;
this.level = 1;
this.level = level;
this.exp = 0;
this.busy = false;
}