Fix threatlevel

This commit is contained in:
sladecraven 2022-03-14 20:54:13 +01:00
parent 2353912e91
commit 2137f88823
2 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@ export class PegasusActor extends Actor {
for(let armor of armors) { for(let armor of armors) {
tl += PegasusUtility.getDiceValue(armor.data.resistance) tl += PegasusUtility.getDiceValue(armor.data.resistance)
} }
let shields = this.getShields() let shields = duplicate(this.getShields())
for(let shield of shields) { for(let shield of shields) {
tl += PegasusUtility.getDiceValue(shield.data.level) tl += PegasusUtility.getDiceValue(shield.data.level)
} }

View File

@ -183,6 +183,6 @@
"templateVersion": 89, "templateVersion": 89,
"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": "0.5.9", "version": "0.5.10",
"background" : "./images/ui/pegasus_welcome_page.webp" "background" : "./images/ui/pegasus_welcome_page.webp"
} }