-
Notifications
You must be signed in to change notification settings - Fork 17
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
System Bonuses on tokens causing errors and ruler failure when entering region with terrain attached #209
Comments
I am not sure I understand this sentence: "If ac..bonus is set to "Add" a bonus like system.attributes.ac.bonus | add | 2, that is a string..." 2 is not a string in that scenario, and in any event, adding such an effect using only Elevation Ruler and Terrain Mapper works fine. So definitely a conflict with some other module. However, I see several modules in your error message besides just ER, TM, and Region Effects. Can you narrow down the modules you are using to only the absolutely necessary ones for the error to appear? |
ok. sorry be more clear. With only these modules enabled:
Elevation rulers works fine, except when an actor has an active effect that modifies the https://share.cleanshot.com/8ztQd5Np And there are no error message sin the console. (I can change the mode to That's all if DAE is disabled. If DAE (and socketlib dependency) is enabled, and If i set So, to recap:
|
I would add that these are two issues:
|
Try v0.10.13. |
so i've been having issues with Elevation Ruler, Terrain Mapper, and Region Effects. Some tokens, when entering a region with Difficult (x2) default terrain, the ruler would stop showing and I'd get a couple of really big error messages.
I have tracked this down to the latest version of ER: 0.10.11. The issue seems to be the
system.attributes.ac.bonus
and any of thesystem.bonuses.x.x
keys. If ac..bonus is set to "Add" a bonus likesystem.attributes.ac.bonus | add | 2
, that is a string, and apparently ER or something is looking for an integer. If I change the add mode to custom i get the ruler back and no more errors.If I have any effects that add
system.bonuses.x.x
and it's set to any mode (custom, add, override) ... it will give me those errors.In the below gif, the first token I move has a
system.attributes.ac.bonus | custom | 1
and as you can see it still shows the ruler. I don't get any error messages.https://share.cleanshot.com/LsLCQ0J7
the second token I move has two
system.bonuses.x.x
on it and as you can see, the ruler disappears and i get those errors above with every square I move.So something in
MovePenalty.js
, I think, is expecting an integer, but getting a string and freaking out.The text was updated successfully, but these errors were encountered: