Aliharu / Foundry-Ex3

Foundry module for Exalted Third Edition
MIT License
7 stars 12 forks source link

Active Effects not working #38

Closed Pentazer closed 1 year ago

Pentazer commented 1 year ago

https://github.com/Aliharu/Foundry-Ex3/wiki/Active-Effects

I was using the guide here to attempt active effects that alter parameters but it doesn't seem to be working. As a test I did the following: Key | Change Mode | 1 system.attributes.(strength).value | Upgrade | 1

The idea here is that activating the effect will grant +1 strength and then when the effect is deactivated it will automatically remove the +1 strength.

image Here is the attributes as they are on this test.

image Activating the effect shows as being active, which is great.

image But when I check the attributes section, strength remains 1. a new blank attribute has been created. And when I roll any ability that calls to strength, say Athletics 0 with Strength... image Only 1 die rolls, which is the 1 Strength, which in theory, it should be 2 die for the +1 due to the active ability.

Am I doing something wrong or is there a problem with the effects?

Aliharu commented 1 year ago

I just tested this with "system.attributes.strength.value" and it worked

if you used "system.attributes.(strength).value" then the parentheses are probably throwing it off.

There is an option in settings to enable a dropdown for active effects if you have having issues with the attribute key syntax

Pentazer commented 1 year ago

Awesome, yes that worked! Removing the parenthesis fixed it. Also, enabling that option was a great call. Thanks!