Updated cprActor crit inj item card rendering
Intent
Fix issue with players being unable to access critical injury item sheet due to GM-ownership restrictions on Mook/Actors
-
This is meant for a hotfix -
This is meant for the next release (see milestone) -
This needs more reviewers than normal; there may be controversy or high complexity -
This intentionally introduces regressions that will be addressed later -
There is/will be documentation changes on the wiki -
Please do not send commits here without coordinating closely with the owner -
This is a Build System change
Related Issues
Steps to Test
- Checkout and build
- Create gamemaster and player account for world
- Create mook or other GM-owned only actor
- Roll for a critical injury as GM and have chat display critical injury card
- Log out and log in with player account
- Try to access link to critical injury, this should open the compendium entry instead of item on mook/actor sheet
Future Work
Currently accessing the RenderRollCard function that requires actor and item ID for proper rendering. I did not remove these to avoid building yet another function and there may be a use for this information in the future for critical roll cards.
Additional Notes
None