Make ladders work
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user