-
March 17th, 2026, 16:05 #11
I have a little report regarding negating IFT effects: One can for example write IFT: !CUSTOM(test); ATK: 2 to allow a +2 attack bonus as long as the target has not "test" as an effect.
Now, there is some matter of preference regarding logic: It works, however, if one has no target, then the effect is not applied either. In my extension I rewrote it in such a way that those effects are also applied if there is no target (so negated conditional returns true). It is a matter of preference for sure
But some might argue that it is more logical to say that the negated conditional of "If there is a target with "test" as effect, then apply +2 ATK." is "If there is no target with "test" as effect, then apply +2 ATK.", and having no target at all "trivially" means that there is no target having an "test" effect so that the bonus should be applied
(but that is nitpicking on logic; most of the time it doesn't matter, but I still wanted to report it in case you actually have a preference
)
(The version of a negated IFT allowing no targets was a bit nasty to code though, in particular I had to consider what happens if it is a drag&drop attack and stuff like that; but the new code may not have the problems I had back then
)
EDIT: Even if one reads this as "If there is a target and it has no 'test' effect, then apply a +2 atk bonus", then one could argue that "no target" means one has actually a target, an "empty target" interpreted as "target" naturally satisfying to have no "test" effect, and so it should allow a +2 atk bonus
(but that is now how we mathematicians approach logic, so really just nitpicking here
)
Last edited by Kelrugem; March 17th, 2026 at 16:43.
My extensions for 3.5e and Pathfinder
Bug reports please here
-
March 17th, 2026, 17:55 #12SmiteWorks
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 23,338
What is the use case for that scenario? Did you actually come across a power that you had to code that way?
Thanks,
JPG
-
March 17th, 2026, 18:10 #13
There is no real use case, I think, really just a preference because people will usually roll with a target. The only use case may be: Someone wants to roll their die and see how existing effects contribute. That someone may complain they would have expected that a roll without target is affected by such an effect. However, I am not sure whether one can pinpoint a common user expectation in this case

It may also matter if one is rolling without a target and then one wants to drag&drop the result from the chat onto the target; depending on what one defines as "standard" expectation, one may or may not want to apply such effects to such drag&drops. But such drag&drops already have in general the problem that IFT effects won't get accounted, so one could put that under the rug, tooMy extensions for 3.5e and Pathfinder
Bug reports please here
-
March 17th, 2026, 18:23 #14
-
March 17th, 2026, 18:37 #15
I could see someone having a bonus against everything but holy, or orcs, or something. that this would be useful. But I don't know of any actual effects that would cause such.
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.
-
March 17th, 2026, 19:49 #16SmiteWorks
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 23,338
Without a clear use case; I'm not sure that the issue is worth the complexity in the code it causes.
Currently, the ! operator (NOT) for tags applies to the result of the check.
If we see clear use cases pop up later, we can re-evaulate.
Regards,
JPG
-
March 17th, 2026, 22:11 #17My extensions for 3.5e and Pathfinder
Bug reports please here
-
March 18th, 2026, 00:41 #18
-
March 18th, 2026, 05:38 #19SmiteWorks
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 23,338
As the implementation that we have done mirrors implementations in existing extensions, and Kelrugem's extension differed from the other extensions that provided negative operator support, I picked the option that made the most sense based on existing use cases and code complexity/maintenance.
As I stated above, if we see a clear use case in the future, we will re-evaluate at that time.
Regards,
JPG
-
March 18th, 2026, 13:01 #20High Templar
- Join Date
- Jun 2018
- Posts
- 163
I could build the Battle Maneuver Goading Attack maybe like IFT !NAME(My Character); DISATK or something like that.
Sometimes I let my players roll attacks just into chat, i.e. if they want to attack "something" in the environment and we want to decide how well that works. So I don't have a token/NPC for that thing. Still I would expect any effect affecting attacks to work. Might still be an edge case.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


Reply With Quote


Bookmarks