DMsGuild
Page 1 of 2 12 Last
  1. #1

    5E Extension - Change an NPC's damage output with the mouse wheel from the CT

    Inspired by Alphastream's article How to Challenge Players? Just Add Damage!, this a very small extension that allows the DM to change an NPC's "offense" abilities by hovering over them in the CT entry's and then scrolling up or down.

    Full source code and ext file available here https://github.com/fxg42/npc-scroll

    How to

    On the combat tracker, while holding the Ctrl key and hovering an Offence ability, use the mouse
    wheel to increment or decrement either:
    - the attack bonus;
    - the number of damage or healing dice;
    - the save DC;
    - the recharge dice.

    Hold the Alt key and use the mouse wheel to cycle through:
    - the damage and healing die type (d4, d6, d8, d10 or d12);
    - the saving throw's ability (str, dex, con, int, wis, cha).

    Automatic cantrip increment for spellcasters

    When added to the CT, NPC's with the "Spellcasting" trait will have their cantrip's DMG and HEAL die expressions automatically incremented based on their spellcasting level. Dice count is incremented once if 5th-level or above, twice starting at 11th-level and three times after 17th.

    --
    Lot's of "firsts" with this... First time posting anything here, first extension ever and even first time writing Lua! Any helpful feedback is welcomed!
    Last edited by fxg42; July 1st, 2021 at 02:27. Reason: new release

  2. #2
    Hey pal, thanks for contributing! This looks promising, will give it a try during the week.
    Cheers
    Check out my dark theme for FGU! Sir Motte's Magnificent Darkness!

  3. #3
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    17,106
    Well done. Thanks for sharing.
    If you need to contact customer support or 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 http://fgapp.idea.informer.com/

  4. #4
    Really great work, even more so for being your first foray into FG extensions!
    My creations: https://github.com/MeAndUnique/FantasyGrounds
    Discord: MeAndUnique#6805

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    23,929
    Blog Entries
    1
    Nice one fxg42.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  6. #6
    Thank you all for the kind words and warm welcome!

  7. #7
    This is so great for NPC spell casters where their cantrip damage should higher due to their level.

    Great but so simple.
    Last edited by spoonhead; June 15th, 2021 at 07:29.

  8. #8
    Quote Originally Posted by spoonhead View Post
    This is so great for NPC spell casters where their cantrip damage should higher due to their level.
    Thanks! That's a good idea... Since the Spellcasting trait usually states the spellcaster level, it might be possible to automate the damage bump to cantrips...

  9. #9
    Would it be possible to expand this out to other parts of effects, like HEAL effect, damage buffs, etc?

  10. #10
    Quote Originally Posted by BlazingAzureCrow View Post
    Would it be possible to expand this out to other parts of effects, like HEAL effect, damage buffs, etc?
    Absolutely! I'll try to find NPCs from the monster manual with the correct traits. Do you already have an example monster in mind?

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Fantasy Grounds Fridays Pre

Log in

Log in