Make ladders work

This commit is contained in:
2025-02-02 22:26:56 -08:00
parent c23a7b6d75
commit 047248adb6
10 changed files with 172 additions and 122 deletions

View File

@ -107,6 +107,11 @@ export class PlayerProgress {
return Math.floor(Math.max(this.#blood, 0));
}
addBlood(amt: number) {
this.#blood += amt;
this.#blood = Math.min(this.#blood, 5000)
}
spendBlood(amt: number) {
this.#blood -= amt;
}
@ -127,7 +132,6 @@ export class PlayerProgress {
});
return skillsAvailable.slice(0, 6)
}
}
let active: PlayerProgress = new PlayerProgress();