From 2137f888236286f586ba92bf215ca1ab236c5275 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Mon, 14 Mar 2022 20:54:13 +0100 Subject: [PATCH] Fix threatlevel --- modules/pegasus-actor.js | 2 +- system.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index 44dc19b..62a4776 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -322,7 +322,7 @@ export class PegasusActor extends Actor { for(let armor of armors) { tl += PegasusUtility.getDiceValue(armor.data.resistance) } - let shields = this.getShields() + let shields = duplicate(this.getShields()) for(let shield of shields) { tl += PegasusUtility.getDiceValue(shield.data.level) } diff --git a/system.json b/system.json index c654e06..e725806 100644 --- a/system.json +++ b/system.json @@ -183,6 +183,6 @@ "templateVersion": 89, "title": "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" }