RabidOwlbear / osr-helper

14 stars 2 forks source link

Torches don't update quantity at character's sheet #27

Closed j4n7 closed 1 year ago

j4n7 commented 1 year ago

Hi,

First of all, thank you for your work. This module is awesome and is going to help me a lot with my DMing.

I think I've might detected a bug. I'm using Foundry v11 Build 307 and OSE 1.9.3

The remaining uses of a light source don't update at the character sheet. They are properly displayed inside the dialog box when you use the macro button, but not in the character sheet. When the quantity is reduced to 0 the torch is not removed from the inventory.

On the other hand, rations are working fine. When you use the macro button, they get reduced as they should.

Tell me if I can help you somehow.

Thanks in advance.

Edit: I've noticed that you can delete a torch from the inventory and it still will be appearing when you hit the macro button.

RabidOwlbear commented 1 year ago

Sorry to hear that you are having issues. Please make sure that your character has "Link Actor Data" selected in the Protoype Token settings on the character sheet. If this box is checked and quantities are still not updating correctly, please check the browser console by pressing the f12 on the keyboard and checking for any errors(red text). Hopefully this resolves your issue.

On Mon, Aug 21, 2023 at 3:38 PM Alejandro García Gutiérrez < @.***> wrote:

Hi,

First of all, thank you for your work. This module is awesome and is going to help me a lot with my DMing.

I think I've might detected a bug. I'm using Foundry v11 Build 307 and OSE 1.9.3

The remaining uses of a light source don't update at the character sheet. They are properly displayed inside the dialog box when you use the macro button, but not in the character sheet. When the quantity is reduced to 0 the torch is not removed from the inventory.

On the other hand, rations are working fine. When you use the macro button, they get reduced as they should.

Tell me if I can help you somehow.

Thanks in advance.

— Reply to this email directly, view it on GitHub https://github.com/RabidOwlbear/osr-helper/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARC26VFXODGHPGILDEBHQYTXWPPOPANCNFSM6AAAAAA3ZA3E2Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

j4n7 commented 1 year ago

You are 100% correct. I was not checking the "Link actor data" option. Thank you very much for your answer, and again for the awesome module. Sorry for opening an issue for this.

RabidOwlbear commented 1 year ago

Most welcome. Thanks for the report, I'll go ahead and close this issue since a solution has been found.