Starfinder Playlist

Thread: dice help

  1. #1

    dice help

    kk, i have a problem. i am working on a custom ruleset, the problem.... i need to make the bonuses on the character sheet subtract from the die roll instead of add. i cant figure it out. i could make them negative values, but it would be much simpler to change the dice rolling function. any help would be greatly appreciated.

  2. #2
    Are you using double click rolling similar to this thread?

    If so all you should have to do is multiple the bonus by -1 before sending it to d20Check. I would probably make a template for "abilitypenalty" which was identical to "abilitybonus" but reversed the sign on the second argument passed to d20Check.

  3. #3
    Also, using the linkednumber template, you could create a field that calculates all the bonuses and penalties into one number. This is the template that is used for the d20 attack and save fields. While the d20 fields only add up, the subtraction operator is supported by linkednumber.

    Cheers,
    JPG

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
  •  
STAR TREK 2d20

Log in

Log in