View Full Version : Death Save rolls (5E)
jkeller
November 2nd, 2024, 01:53
In 5E, what code gets called when the player clicks on the death save dice icon? Or when the option is set to auto-roll death saves?
I can override onDeathRoll to hide the chat message, but at that point the roll (the animation of the dice rolling) has already occurred.
Thanks!
Moon Wizard
November 3rd, 2024, 03:15
ActionSave.performDeathRoll
Regards,
JPG
jkeller
November 3rd, 2024, 21:59
Thank you!
So if I wanted to override that to hide the roll, I would do something like this?
ActionSave_performDeathRoll = ActionSave.performDeathRoll
ActionSave.performDeathRoll = performDeathRoll
ActionsManager.registerResultHandler("TBD", performDeathRoll)
I'm very unsure about register - is that the right method, and what would the first parameter be?
LordEntrails
November 4th, 2024, 01:33
MOD: moved to Workshop
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.