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

[BUG] RSR Fails to handle synthetic items #68

Closed
theripper93 opened this issue Sep 23, 2022 · 4 comments
Closed

[BUG] RSR Fails to handle synthetic items #68

theripper93 opened this issue Sep 23, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@theripper93
Copy link

Description
Modules such as Argon use Synthetic items for some of it's features. RSR throws an error when such item is rolled

Steps to Reproduce
The easiest test is by using Argon combat hud, so install the module
Open the HUD on a linked actor
Try to roll any of the special actions (Disengage\dash etc...)
See the console error

Versions
all latest but it should not matter

Other Modules
The error can be reproduced by using Argon, but any other module that makes use of synthetic items will generate the same issue. This problem was also present in Better Rolls and was fixed at some point.

@theripper93 theripper93 added the bug Something isn't working label Sep 23, 2022
@MangoFVTT
Copy link
Owner

Compatibility with other modules is implemented on a case by case basis. In many scenarios, the work needs to be also done from the other module, and is not trivial. I will put Argon on the list to check 🙂

@theripper93
Copy link
Author

This is not necessarely an Argon specific issue, and again, was present and fixed in Better rolls, the issue can be reporduced by crating a new Item() and attempting to roll it, anyways the fix is extremely simple and not invasive.

roll.js line 99 - change
await caller.update(itemUpdates);
to
caller.id && await caller.update(itemUpdates);

and the issue is fixed :)

@MangoFVTT
Copy link
Owner

Ah, fantastic. I'll implement the fix you suggested asap and put it in the next release 👍

@MangoFVTT
Copy link
Owner

This issue is (hopefully) fixed in Release 1.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants