Skip to content

Commit

Permalink
Fixed: CT Labels incorrect when used with Constitutional Admendments
Browse files Browse the repository at this point in the history
  • Loading branch information
rhagelstrom committed Aug 28, 2022
1 parent a84a01c commit 558a6f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
12 changes: 6 additions & 6 deletions ct/scripts/client_ct_entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Loadorder has to be 141 to sit between CA and SAI -->
<loadorder>141</loadorder>
<name>Feature: Arcane Ward</name>
<version>1.7</version>
<version>1.8</version>
<author>Ryan Hagelstrom</author>
<description>Automates Arcane Ward Trait</description>
<ruleset>
Expand Down

0 comments on commit 558a6f0

Please sign in to comment.