Fix level remaining
This commit is contained in:
parent
a9d0a99129
commit
1e3faf7186
@ -1120,7 +1120,7 @@ export class PegasusActor extends Actor {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getLevelRemaining() {
|
||||
return this.system.biodata.currentlevelremaining
|
||||
return this.system.biodata?.currentlevelremaining || 0
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
modifyHeroLevelRemaining(incDec) {
|
||||
|
@ -253,7 +253,7 @@
|
||||
],
|
||||
"title": "Pegasus RPG",
|
||||
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
||||
"version": "10.0.16",
|
||||
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v10.0.16.zip",
|
||||
"version": "10.0.17",
|
||||
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v10.0.17.zip",
|
||||
"background": "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp"
|
||||
}
|
Loading…
Reference in New Issue
Block a user