applyChatCardDamage was updated to take an index for the chat roll right-click context menu, but the listeners for the damage buttons weren't updated to pass an index parameter when calling it. This would result in an error when trying to use the undefined parameter to index into the array of html elements.
applyChatCardDamage was updated to take an index for the chat roll right-click context menu, but the listeners for the damage buttons weren't updated to pass an index parameter when calling it. This would result in an error when trying to use the undefined parameter to index into the array of html elements.