PDA

View Full Version : 3.5E/PFRPG Distance Conditional



SoxMax
January 29th, 2024, 02:23
This is a small extension that adds the DISTANCE conditional. When used with IFT in particular it can turn on and off other effects based on the distance between tokens.

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

Kelrugem
January 30th, 2024, 08:49
uuuuh, nice, immediately downloaded! :)

The Judge
February 13th, 2024, 22:54
Presumably, this can be used for Ranged ATK adjustments using targeting. If so, can you provide a really basic example?

Asgurgolas
February 14th, 2024, 21:24
I'll check it out!

SoxMax
February 15th, 2024, 20:07
Presumably, this can be used for Ranged ATK adjustments using targeting. If so, can you provide a really basic example?

I just noticed the Forge page seems to have gobbled all my < and > symbols I'll try and get that fixed.
In the meantime


Point Blank Shot; IFT: DISTANCE(<=30); ATK: 1 ranged; DMG: 1 ranged

This gives +1 attack and +1 damage on ranged attacks against targets within 30 feet.

The Judge
February 16th, 2024, 00:43
Thank you!

The Judge
February 17th, 2024, 23:05
If a character carries a light crossbow and an effect is applied, can this effect and your extension be used to do this?
Light Crossbow; IFT: DISTANCE(>80); ATK: -2 ranged; IFT: DISTANCE(>160); ATK: -4 ranged; IFT: DISTANCE(>240); ATK: -6 ranged; IFT: DISTANCE(>320); ATK: -8 ranged; IFT: DISTANCE(>400); ATK: -40 ranged

SoxMax
February 18th, 2024, 00:59
That should work, but I believe you want to do `ATK: -2 ranged` for every conditional since they'll stack rather than override.

Also may want to look into this extension which accomplishes a similar goal: https://forge.fantasygrounds.com/shop/items/406/view

The Judge
February 18th, 2024, 21:01
After a bit of testing, these worked together
Light Crossbow; IFT: DISTANCE(>80); ATK: -2 ranged; IFT: DISTANCE(>160); ATK: -2 ranged; IFT: DISTANCE(>240); ATK: -2 ranged; IFT: DISTANCE(>320); ATK: -2 ranged; IFT: DISTANCE(>400); ATK: -40 ranged
Point Blank Shot; IFT: DISTANCE(<=30); ATK: 1 ranged; DMG: 1 ranged

Thank you so much for this, what a time saver.

Soulcreek
September 12th, 2024, 16:22
Hey, I'm trying to get Protection from Arrows to work, doing something like:
IFT: DISTANCE(>=5); DR: 10 magic

But it's just not working, it's granting the DR regardless of token distance, any ideas?

Soulcreek
September 12th, 2024, 16:28
Hey, I'm trying to get Protection from Arrows to work, doing something like:
IFT: DISTANCE(>=5); DR: 10 magic

But it's just not working, it's granting the DR regardless of token distance, any ideas?

Nevermind, haven't had my coffee yet. This works perfectly fine, I just forgot to turn on the extension lol

SoxMax
September 13th, 2024, 02:27
Don't worry I do this weekly! :D

timberbeast
September 14th, 2024, 17:37
Is this not supposed to work on NPC's? When I add the effect to a PC it works fine, but when I add the effect to an NPC in the combat tracker, it doesn't work. Using 3.5e


Never mind- now for some reason it works...not sure why, I didn't change anything