FG Spreadshirt Swag
  1. #1

    Coding for a Custom Weapon

    Hi Folks,
    Does anyone have any input in how to code the following:

    "When you score a critical hit with this weapon, it creates a thunderous boom heard in a 100' radius and the target takes an additional 2d8 thunder damage and must succeed on a DC 12 Constitution saving throw or be stunned until the end of its next turn."

    Any help with this is appreciated. Thanks!

  2. #2

    Join Date
    Dec 2016
    Location
    Nashville, TN
    Posts
    151
    Quote Originally Posted by Dax Doomslayer View Post
    Hi Folks,
    Does anyone have any input in how to code the following:

    "When you score a critical hit with this weapon, it creates a thunderous boom heard in a 100' radius and the target takes an additional 2d8 thunder damage and must succeed on a DC 12 Constitution saving throw or be stunned until the end of its next turn."

    Any help with this is appreciated. Thanks!
    For the damage part, put an effect on the effect on the character: Thunder Weapon; DMG: 2d8 thunder, critical
    This will automatically apply that damage whenever the character rolls for damage on a critical hit (you will need to turn it off if the critical is from another source).

    For the Save and Stunned effect:
    On the actions tab, you would need to add a new Power attack with a Con save and set the DC.
    Make a separate entry under that power to add the effect: Thunder Weapon; Stunned and you would need to apply it manually (by dragging the effect from the actions tab of the character sheet to the target).

    You can change the Thunder Weapon to anything you want, or leave it out.

    You can check out the Better Combat Effects Gold extension to see if this could be automated better. But I still haven't been able to wrap my head around all the things you can do (or its limitations) with that extension.

  3. #3
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,282
    Blog Entries
    9
    edit: oops, that is for all damage not just critical... post deleted .
    Last edited by LordEntrails; April 16th, 2024 at 18:03.

    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.

  4. #4
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,842
    This series of videos should help in your effects creation journey https://www.fantasygrounds.com/forum...177#post654177
    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
    If you use Advanced Effects EXT and BCEG you can automate this greatly.

    1)You put these 2 effects on the item. 2 different lines

    Code:
    DMG: 2d8 thunder, critical
    Click the button for "ACTION ONLY" so it only applies to this weapon attacks.

    Code:
    ATKCADDT: ThunderFury
    Click the button for "ACTION ONLY" so it only applies with this weapon attacks.

    2) Make another effect in the effects list
    Code:
    ThunderFury; Stunned; SAVEA: 12 CON (M); SAVEE: 12 CON (M) (R)
    Don't forget to set the duration, you don't need the SAVEE if you want it be removed just in the 1 turn like listed.

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
  •  
DICE PACKS BUNDLE

Log in

Log in