Starfinder Playlist

Thread: Defense Roll

  1. #1

    Defense Roll

    For the D&D 5E ruleset, what would an effect look like to switch Armor Class from a flat 10 to having to roll a d20? (Opposing Attack vs Defense Roll)

    I have tried an effect of the following, but I am not seeing the change; I add the combatant to the combat tracker, apply the effect, and have a monster attack him, but I can't seem to apply it.

    Code:
    Defense Roll; AC: 1d20 -10; [SELF]
    I see the following applied in the chat log.

    Code:
    Defense Roll; AC: -10; [SELF]
    Can an AC effect receive a die roll in benefit? Is something wrong in the trait?

    Additionally, as I have only recently picked up FG, is the best way to prepare a bunch of character effects to create a Template Character and drag-and-drop them to new characters (or import the template), or is there a better place to store them?
    Last edited by thwright; April 7th, 2018 at 05:38.

  2. #2
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,236
    Blog Entries
    9
    Hey thwright, welcome to the forums.

    I'm pretty sure their is no way to make AC a variable. Have you looked at the effects wiki page? https://www.fantasygrounds.com/wiki/...php/5E_Effects

    But if I'm wrong about this, one of our effects guru's will be along shortly with a different answer or some other creative alternate.

    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.

  3. #3
    Thank you!

    Just found it, actually.

    Code:
    AC 	(N) 	[range], opportunity 	(T); Armor class
    (N) = Only numbers supported for value attribute

    Seems I may have to think of something different for my homebrew then

  4. #4
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,799
    Indeed AC will not accept dice strings. If all that you want to do is roll a d20 then just roll one into the chat box and compare it to the NPCs roll. If you need modifiers then maybe your best bet would be to create a skill for it. Combat would still need to largely be a manual thing though since FG doesn’t automate opposed skill rolls.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,674
    Blog Entries
    1
    Create a Custom Dice that rolls

    <customdie name="d920">
    <model>d20</model>
    <menuicon>num20</menuicon>
    <script>
    function onValue(result)
    return math.random(20)-10;
    end
    </script>
    </customdie>

    Each time the character is to be attacked they would roll the custom dice and the GM would drag the result to the modifier window and then roll the NPC attack.

  6. #6
    I'll give it a go and see how it works out! Thanks!

    Would the custom die need to be an extension?
    Last edited by thwright; April 7th, 2018 at 13:31.

  7. #7
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,674
    Blog Entries
    1
    Quote Originally Posted by thwright View Post
    I'll give it a go and see how it works out! Thanks!

    Would the custom die need to be an extension?
    Yes.

  8. #8
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,402
    If you're going to roll 1d20-10 then just type /die 1d20-10 in the chat window and drag to a hotkey slot. Then you can roll easily from the hotkey. No custom dice, no extensions.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  9. #9
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,674
    Blog Entries
    1
    Quote Originally Posted by Trenloe View Post
    If you're going to roll 1d20-10 then just type /die 1d20-10 in the chat window and drag to a hotkey slot. Then you can roll easily from the hotkey. No custom dice, no extensions.
    I was thinking, and thinking, and thinking... and I knew there was going to be an easier way than a custom die!
    Addled and punch drunk!
    Thats my excuse and Im sticking to it.

  10. #10
    Quote Originally Posted by Trenloe View Post
    If you're going to roll 1d20-10 then just type /die 1d20-10 in the chat window and drag to a hotkey slot. Then you can roll easily from the hotkey. No custom dice, no extensions.
    I realized that one after I fiddled around with the extension for a bit. :P

    I suppose it will have to do!

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