MeAndUnique
February 23rd, 2021, 23:25
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.
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.