Cosmere RPG Beta Launch
  1. #1

    [Extension] 5E - What Else Could I Do?

    Forge Link: https://forge.fantasygrounds.com/shop/items/2013/view


    What Else Could I Do? (or WECID for short) introduces 3 new conditional controls for Fantasy Grounds, allowing you to trigger effects when the initial conditions are not met. Perfect for spells like "Toll the Dead" or abilities with special effects based on specific circumstances.


    Usage

    Add ELSE (separated by a semicolon) after a conditional IF or IFT. If the initial conditions are not met, everything after ELSE will be used instead.


    Example:

    Code:
    Toll the Dead; IFT: wounded; DMG: 1d12 necrotic; ELSE; DMG: 1d8 necrotic;
    Tip: If you use Better Combat Effects, you can replace DMG with DMGA to roll damage automatically.


    Explanation:

    • If the target is wounded, it takes 1d12 necrotic damage.
    • If the target is not wounded, everything before ELSE is ignored, and it takes 1d8 necrotic damage instead.



    ELSEIF - ELSEIF works like ELSE, but lets you specify additional conditions. Instead of separating it with a semicolon, use a colon to define the condition, similar to IF.

    Example:

    Code:
    Fight or Flight Response; IF: healthy; DMG: 1d6; ELSEIF: bloodied; DMG: 1d12; ELSE; DMG: 1d8;

    Explanation:
    This homebrew feature grants variable bonus damage based on the user’s HP status:

    • Healthy (full HP): Deals 1d6 additional damage.
    • Bloodied (50% HP or less): Deals 1d12 additional damage.
    • Wounded (more than 50% HP but not full): Deals 1d8 additional damage.



    ELSEIFT - ELSEIFT is the same as ELSEIF, but applies conditions to the target instead.

    Example:

    Code:
    Eclipser's Edge; IFT: TYPE(celestial); DMGTYPE: necrotic, magic; ELSEIFT: TYPE(fiend); DMGTYPE: radiant, magic;

    Explanation:
    This weapon adjusts its damage type based on the target:

    • Celestials: Adds necrotic and magic damage type.
    • Fiends: Adds radiant and magic damage type.




    Important Notes
    Ensure this extension is loaded after other extensions that modify EffectManager5E (e.g., Better Combat Effects, Advanced Effects, Turbo, etc.).
    Found a bug or have suggestions? Let me know in the comments!
    Last edited by Alanrockid; December 25th, 2024 at 20:32.
    "A saint does what is right. A leader does what is necessary."

  2. #2
    Semi related to this extension, I have often found I wish I could invert an IF statement, so that I could use IFNOT or something like that. Very frustrating sometimes! Do you think that might be a potential future addition?

  3. #3
    Quote Originally Posted by Fingersome View Post
    Semi related to this extension, I have often found I wish I could invert an IF statement, so that I could use IFNOT or something like that. Very frustrating sometimes! Do you think that might be a potential future addition?
    There's already an extension that does exactly that, and its free! Check it out "IF NOT - Untrue Effects, by Berwind"

    https://forge.fantasygrounds.com/shop/items/591/view
    "A saint does what is right. A leader does what is necessary."

  4. #4
    Quote Originally Posted by Alanrockid View Post
    There's already an extension that does exactly that, and its free! Check it out "IF NOT - Untrue Effects, by Berwind"

    https://forge.fantasygrounds.com/shop/items/591/view
    Oh my gosh! Thanks!!

    EDIT: I was really excited when you sent this; but then I checked and apparently it's broken since the last FG update. I can't handle this kind of emotional rollercoaster...!

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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