Skip to content

Module API

Eligarf edited this page Jun 21, 2024 · 4 revisions

A couple of functions have been provided to find the banked perception and stealth values for a token and will return the same values that would be seen in the token button input fields. In the case of dnd5e, it will return a passive value if there isn't a current active effect to supply it. To use passive Stealth, just set the Hidden condition on the token rather than rolling a Stealth check.

stealthy.getBankedStealth(token)
stealthy.getBankedPerception(token)
stealthy.bankStealth(token, value)
stealthy.bankPerception(token, value)
Clone this wiki locally