-
December 25th, 2024, 19:53 #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;
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."
-
January 14th, 2025, 15:20 #2
- Join Date
- Feb 2021
- Posts
- 144
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?
-
January 14th, 2025, 16:53 #3
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."
-
January 15th, 2025, 11:09 #4
- Join Date
- Feb 2021
- Posts
- 144
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks