PDA

View Full Version : A very magical dragon! (targeting distance errors in raw FGU)



SilentRuin
January 1st, 2023, 17:09
[TESTED IN 5E RULESET] Ok I have this huge token - a dragon - that my normal medium token - a PC - is moving up towards. Here is me 15ft away moving toward the arrow shown...

55612

Then I move a little closer to 10ft away...

55613

Then a little closer to 5ft away...

55614

Then one more move just to crawl up onto this beastie - which technically in game targeting would still be 5ft away...

55615

10 ft away? Now maybe the NPC dragon has some strange phase shift ability I'm unaware of - but I'm skeptical on that. If I move further it goes back to 5ft.

A truly magical dragon!

But in reality probably FGU distance targeting display error.

SilentRuin
January 1st, 2023, 19:34
FYI this "hiccup" of distance change can reek havoc with extensions like Aura Effects where the effect can switch off and on several times (triggering in some cases) just by passing by/through edge of larger than 1 grid unit tokens when the aura is 5ft (1 grid unit)

SilentRuin
January 2nd, 2023, 02:35
Another bug is that Token.getDistanceBetween is returning #0 when one of the tokens is not visible. Why would this ever matter when trying to find distance between things? I think this is also a bug.

Ulric
January 2nd, 2023, 17:41
[TESTED IN 5E RULESET] Ok I have this huge token - a dragon - that my normal medium token - a PC - is moving up towards. Here is me 15ft away moving toward the arrow shown...

55612

Then I move a little closer to 10ft away...

55613

Then a little closer to 5ft away...

55614

Then one more move just to crawl up onto this beastie - which technically in game targeting would still be 5ft away...

55615

10 ft away? Now maybe the NPC dragon has some strange phase shift ability I'm unaware of - but I'm skeptical on that. If I move further it goes back to 5ft.

A truly magical dragon!

But in reality probably FGU distance targeting display error.
I can reproduce this in a clean test campaign. That is an odd bug to me.

SilentRuin
January 2nd, 2023, 17:56
I can reproduce this in a clean test campaign. That is an odd bug to me.

Painful if you use extensions like Aura Effect... I'm having to set all my minimum aura distances on my huge+ sized npcs to 10ft so it does not go nuts on this bug (flipping in range and out of range does bad things). Also having it ignore auras when and effect changes on something invisible is something I now have to manually manage.

Hopefully both issues get resolved soon (aslo waiting on some onMove duplication that was supposed to be fixed in next release).

GKEnialb
January 2nd, 2023, 22:29
It looks like if the center of a token is on the closest square of the other token, that other token uses the center of the token as the coordinates instead of the the center of the closest square (2.5' away). Whether that 2.5' would go to 0' or 5' as SilentRuin suggests, I'm not sure, though. Here are a scattering of images from different sized tokens.

55639
55640
55641
55642
55643

GKEnialb
January 2nd, 2023, 22:30
And one more for completeness

55644

SilentRuin
January 2nd, 2023, 22:38
It looks like if the center of a token is on the closest square of the other token, that other token uses the center of the token as the coordinates instead of the the center of the closest square (2.5' away). Whether that 2.5' would go to 0' or 5' as SilentRuin suggests, I'm not sure, though. Here are a scattering of images from different sized tokens.

55639
55640
55641
55642
55643

I've only seen what your looking at as going 5-10-5 never 0. The invisibility thing is a separate thing purely with Token.getDistanceBetween always returning #0 when one of the comparisons is invisible.

GKEnialb
January 2nd, 2023, 22:58
Yep, I was just saying that if tokens overlap, I'm not sure if the distance should be 5' (like you suggested with "which technically in game targeting would still be 5ft away" in your first post) or 0' since they're on top of each other. Maybe it should be 5', maybe it should be 0', but definitely shouldn't be 10'. :)