Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movement trigger does not consider the elevation. #91

Open
lucasmiranda2711 opened this issue Jan 25, 2022 · 0 comments
Open

Movement trigger does not consider the elevation. #91

lucasmiranda2711 opened this issue Jan 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lucasmiranda2711
Copy link

While trigging an effect due to movement I'd like to trigger it only if the token trigger is in the same elevation. A character flying should't trigger a spike trap for example. I think it would be accomplished by considering the placeable.data.elevation of token documents on the _placeableContains method. For the other kinds of tokens,

ps: for the other kinds of documents (to me not important at the moment) if using the module levels I think it would be possible considering the placeable.data.flags.levels.rangeBottom and placeable.data.flags.levels.rangeTop

@lucasmiranda2711 lucasmiranda2711 added the enhancement New feature or request label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant