MDL/ADRL fixes + MR fixes

This commit is contained in:
LeRatierBretonnien 2023-09-19 12:47:55 +02:00
parent 26f2fba457
commit 552ff9564a
2 changed files with 3 additions and 3 deletions

View File

@ -1937,7 +1937,7 @@ export class PegasusActor extends Actor {
} }
let effects = this.items.filter(item => item.type == 'effect') let effects = this.items.filter(item => item.type == 'effect')
for (let effect of effects) { for (let effect of effects) {
if (effect.system.hindrance) { if (effect.system.hindrance && ( effect.system.stataffected == statKey || effect.system.stataffected == "all")) {
hindrancesDices += effect.system.effectlevel hindrancesDices += effect.system.effectlevel
if ( effect.system.oneuse) { if ( effect.system.oneuse) {
effect.system.isUSed = true // Ensure deletion effect.system.isUSed = true // Ensure deletion

View File

@ -252,7 +252,7 @@
], ],
"title": "Pegasus RPG", "title": "Pegasus RPG",
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg", "url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
"version": "11.0.19", "version": "11.0.20",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v11.0.19.zip", "download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v11.0.20.zip",
"background": "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp" "background": "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp"
} }