Visible costing in many places
This commit is contained in:
@ -274,6 +274,18 @@ export class PlayerProgress {
|
||||
}
|
||||
return ItemStage.Untouched;
|
||||
}
|
||||
|
||||
anyAffordableSkillsAtMinimum() {
|
||||
let skills = this.getAvailableSkills();
|
||||
for (let skill of skills.values()) {
|
||||
if (getSkills().isAtMinimum(skill)) {
|
||||
if (getPlayerProgress().getExperience() > getSkills().computeCost(skill)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
let active: PlayerProgress | null = null;
|
||||
|
Reference in New Issue
Block a user