DICE PACKS BUNDLE
  1. #1
    jkeller's Avatar
    Join Date
    Dec 2018
    Location
    Virginia, USA
    Posts
    50

    Death Save rolls (5E)

    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!

  2. #2
    ActionSave.performDeathRoll

    Regards,
    JPG

  3. #3
    jkeller's Avatar
    Join Date
    Dec 2018
    Location
    Virginia, USA
    Posts
    50
    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?

  4. #4
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,867
    Blog Entries
    9
    MOD: moved to Workshop

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
GI JOE RPG Launch

Log in

Log in