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

    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
    40
    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,751
    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 4 users browsing this thread. (1 members and 3 guests)

  1. jkeller

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
  •  
TALES of the VALIANT

Log in

Log in