-
May 14th, 2020, 11:25 #1
Effect coding IFT: to hit + 5 or greater, DMG 1d4
Hi guys,
I'm curious if its possible to effect code, if an attack role is +5 or more then AC, then + 1d4 damage will be applied?
I tried the following line in FGs IFT: to hit +5, DMG: 1d4
or maybe this could work? IFT: to hit [5>=], DMG: 1d4
I just don't know if FG will recognise this that the attack roll should be at least +5 higher or more then AC to apply extra damage.
Thanks for your feedback!Last edited by vaughnlannister; May 14th, 2020 at 11:33.
-
May 14th, 2020, 14:31 #2
No this isn't possible. You can only use IF and IFT to test for conditions (poisoned, prone etc) or conditional operators (SIZE, TYPE, ALIGN) etc. See here for more information. https://fantasygroundsunity.atlassia...ial-Components
And these videos, https://www.fantasygrounds.com/forum...-Videos-for-5EIf 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
-
May 14th, 2020, 14:33 #3
This can't be done in the effects. IF/IFT doesn't use boolean logic, and is very restricted in what it can check for (see the conditional effects section of the 5E Wiki).
You'll have to apply DMG: 1d4 manually before rolling for damage if the attack roll is 5 or higher than the AC.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!
-
May 14th, 2020, 14:57 #4
-
May 14th, 2020, 23:37 #5
I think if you really wanted to, you could use IFT in conjunction with this:
CUSTOM () Allows for testing of user created conditions, such as in the 'Hex' or 'Hunter's Mark' spells. The condition to be tested for is added in brackets after the CUSTOM keyword. Thus the syntax would be IF: CUSTOM(condition) or IFT: CUSTOM(condition). If the 'condition' is present on the target then the function will return true.
To make a custom condition like "plus5" or something and check for that. BUT, you'd need to remember to apply that condition to the target first.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks