toastygm / HarnMaster-3-FoundryVTT

An unofficial system for playing the HârnMaster 3 game by Columbia Games, Inc., on Foundry VTT.
GNU General Public License v3.0
9 stars 4 forks source link

Injuries don't update the shockIndex resource bar #341

Closed scooper4711 closed 2 years ago

scooper4711 commented 2 years ago

Steps to reproduce

scooper4711 commented 2 years ago

I think this is because fatigue is an attribute on the Actor, while Injury Level is an attribute on an Item (the injury) that the Actor possesses.

toastygm commented 2 years ago

While it is true that Injury Level is an attribute of the Injury item type, the total of all injuries is summed up into the "totalInjuryLevels" attribute of the Actor. So your idea probably doesn't apply.

I did a short test, and it seems to work correctly. I will have to test more.

scooper4711 commented 2 years ago

Updated the title and description to reflect that it's the resource bar that doesn't update