-
May 27th, 2020, 01:17 #21
- Join Date
- May 2016
- Posts
- 26
-
October 9th, 2020, 07:41 #22
- Join Date
- Oct 2020
- Posts
- 1
I just started trying out this coding business today. I am trying to create Foe Hunter ability that reads +1 damage and crit on 19-20 vs. orcs and half orcs. The damage seems to work (I impressed myself with that! I'm a noob give me a break) but crit fails. I read through the forum and the effects page. Am I correct that this is currently not an achievable script?
IFT: Type orc; DMG+1; CRIT: 19 [SELF]
-
October 12th, 2020, 21:20 #23
You are correct in that you cannot use the CRIT keyword in an IFT statement - see posts above for the reasons.
Your effect should be IFT: TYPE(orc); DMG: 1If 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
-
November 12th, 2020, 23:04 #24
- Join Date
- Mar 2020
- Posts
- 494
I am puzzled by one thing. "Hexblade's Curse; IFT: custom(HexCurse); DMG: 5" works fine. "Hexblade's Curse; IFT: Custom(HexCurse); CRIT: 19" does not work. "Hexblade's Curse; CRIT: 19" works, but lacks the conditional. Do you know why a conditional expression before "CRIT:" causes it to fail?
-
November 12th, 2020, 23:30 #25
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.
-
November 13th, 2020, 01:00 #26If 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
-
November 13th, 2020, 18:18 #27
- Join Date
- Mar 2020
- Posts
- 494
It is a perplexing programming choice to have IF: work with all effect components, but IFT: only work with components that are listed as having the (T) tag in the notes. It does not seem to say that in the atlassian wiki, but more importantly it would be much more useful if it controlled all effect components. I offer that as a programming suggestion.
-
November 13th, 2020, 19:52 #28
Enhancement requests are best tracked
On the wish list. Link in mr Zs sig.
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.
-
November 13th, 2020, 21:31 #29
- Join Date
- Mar 2020
- Posts
- 494
Roger that. Thank you.
-
November 15th, 2020, 00:15 #30
IFT needs the target/opposing actor as information for the code to work, and only targetable effects use that information in the code, hence, why other type of effects won't work with IFT (sometimes the target information is not accessible in certain parts of the code)
(not sure about 5e, but conditions with (T) might not work in that way, too, at least in 3.5e/PF1 they are an exception to that rule)
IF just needs the actor and you always have the actor information in the code, therefore IF works with all effects
EDIT: Not saying that it is impossible to add target information to existing effects Just an explanation about what is going on in the code and why (T) gives a hint about effects working with IFTLast edited by Kelrugem; November 15th, 2020 at 00:29.
My extensions for 3.5e and Pathfinder
Bug reports please here
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks