-
February 23rd, 2021, 23:25 #1
5E Token Health Not Updating with Total
To reproduce:
- Add any NPC to CT.
- Place added NPC on any map and note that the token shows a healthy status color.
- On CT, set NPC HP to 19 and Wounds to 9.
- Increase Wounds to 10 and note that the color changes on both the CT and token.
- Set Wounds back to 9.
- Reduce HP to 18 and note that the color changes on the CT but not on the token.
This seems to be caused by "hp" being used rather than "hptotal" in manager_token2.lua in the call to TokenManager.addDefaultHealthFeatures.My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
My GitHub: https://github.com/MeAndUnique
Buy me a coffee: https://ko-fi.com/meandunique
Discord: MeAndUnique#6805
-
February 23rd, 2021, 23:49 #2
Update and disable your extensions. manager_token2.lua is (I'm almost certain) no longer used in any ruleset. Test and verify in a vanilla campaign and then update all your extensions until you find the one causing the problem.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 23rd, 2021, 23:50 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,540
TokenManager2 is used pretty widely to provide game system specific changes to token behaviors. I'll investigate shortly.
Regards,
JPG
-
February 23rd, 2021, 23:55 #4
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 24th, 2021, 00:37 #5
Sorry! I should have had step 1 as "Create a new campaign with no extensions" as this issue happens without extensions.
My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
My GitHub: https://github.com/MeAndUnique
Buy me a coffee: https://ko-fi.com/meandunique
Discord: MeAndUnique#6805
-
February 24th, 2021, 17:54 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,540
Thanks for the very detailed steps; and even the correct fix!
I'll include in the next 5E ruleset update.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks