From 558a6f062b4b04aae2404ff9598d000aeb055fa0 Mon Sep 17 00:00:00 2001 From: Ryan Hagelstrom Date: Sun, 28 Aug 2022 12:04:58 -0500 Subject: [PATCH] Fixed: CT Labels incorrect when used with Constitutional Admendments --- README.md | 4 ++-- ct/scripts/client_ct_entry.lua | 12 ++++++------ extension.xml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 396e995..5b8a09e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Arcane Ward -**Current Version:** 1.7 -**Updated::** 08/14/22 +**Current Version:** 1.8 +**Updated::** 08/28/22 Arcane Ward is Fantasy Grounds extension for 5E that automates the School of Abjuration trait Arcane Ward. Also mostly automates legacy NPCs with the trait Arcane Ward. This extension also helps automate and track spell/pact slot usage. This extension is useful even if no one in the party is an Abjuration Wizard. diff --git a/ct/scripts/client_ct_entry.lua b/ct/scripts/client_ct_entry.lua index d27e68f..b57740f 100644 --- a/ct/scripts/client_ct_entry.lua +++ b/ct/scripts/client_ct_entry.lua @@ -38,17 +38,17 @@ function updateHealthDisplay() friendfoe.setAnchor("right", "rightanchor", "left", "relative", 60) healthbase.setAnchoredWidth("110") if ArcaneWard.hasCA() then - wounds.setAnchor("right", "arcanewardhp", "left", "relative", -10) - hptotal.setAnchor("right", "arcanewardhp", "left", "relative", -10) - hptemp.setAnchor("right", "arcanewardhp", "left", "relative", -10) + wounds.setAnchor("right", "friendfoe", "left", "relative", -130) + hptotal.setAnchor("right", "friendfoe", "left", "relative", 70) + hptemp.setAnchor("right", "friendfoe", "left", "relative", 110) end else arcanewardhp.setVisible(false) friendfoe.setAnchor("right", "rightanchor", "left", "relative", -13) if ArcaneWard.hasCA() then - wounds.setAnchor("right", "friendfoe", "left", "relative", -10) - hptotal.setAnchor("right", "friendfoe", "left", "relative", -10) - hptemp.setAnchor("right", "friendfoe", "left", "relative", -10) + wounds.setAnchor("right", "friendfoe", "left", "relative", -90) + hptotal.setAnchor("right", "friendfoe", "left", "relative", 70) + hptemp.setAnchor("right", "friendfoe", "left", "relative", 110) end if bShow then healthbase.setAnchoredWidth("150") diff --git a/extension.xml b/extension.xml index a7bacfd..78290db 100644 --- a/extension.xml +++ b/extension.xml @@ -5,7 +5,7 @@ 141 Feature: Arcane Ward - 1.7 + 1.8 Ryan Hagelstrom Automates Arcane Ward Trait