foundryvtt / pf2e

A community contributed game system for Pathfinder Second Edition.
https://foundryvtt.com/packages/pf2e
Apache License 2.0
400 stars 333 forks source link

Impossible to create a template for emanations and tokens larger than 1x1 #630

Open cswendrowski opened 4 years ago

cswendrowski commented 4 years ago

In GitLab by @DarKDinDoN on Jul 21, 2020, 15:54

Hello,

It's not currently possible to create an emanation template on tokens larger than 1x1. The highlighting is wrong.

Example for a 5ft emanation for a 1x1 token:
image

And 5ft for a 2x2 token (corner squares are not highlighted:
image

cswendrowski commented 4 years ago

In GitLab by @TMun on Jul 21, 2020, 16:01

I think this is a Foundry limitation, not a PF2e system one. @DarKDinDoN, does this work differently in another system? The emanations are from a point, not from the token as far as I understand.

cswendrowski commented 4 years ago

In GitLab by @DarKDinDoN on Jul 21, 2020, 16:19

@TMun yeah I think this is a Core system one. PF2 system could implement a feature where the user chooses the size of the token before placing the template.

Or wait for that feature to be added to core foundry.

cswendrowski commented 4 years ago

In GitLab by @TMun on Jul 21, 2020, 16:24

@DarKDinDoN I don't know how feasible that would be, since the underlying mechanism doesn't refer to the token (By that I mean that you can make an emanation without tokens at all). Might be something for the feature requests or bug chat for Foundry in general though. I think the only real work-around right now is to assume a radius for the token and then add that to your emanation radius. But one of the other devs might have an idea so who knows :)

cswendrowski commented 4 years ago

In GitLab by @DarKDinDoN on Jul 21, 2020, 16:29

Yeah tried that, won't work because of the way the diagonals are calculated. Assuming your token is 2×2, adding 5ft will work on a straight line but not on the diagonals.