wintersleepAI / foundry-swnr

Stars Without Number: Revised for Foundry VTT
GNU Affero General Public License v3.0
31 stars 21 forks source link

Dragging a weapons or skills onto Hotbar creates Display macro, rather than attack/skill check macro. #58

Open ian-aus opened 7 months ago

ian-aus commented 7 months ago

Running Foundry v11 build 315 and SWNR 1.1.0. With 65 active modules.

When dragging a weapon from player character sheet inventory tab onto hotbar, it creates a Display macro rather than an Attack macro:

await Hotbar.toggleDocumentSheet("Actor.XSf4e3sD4m6H2d0V.Item.yIx0xpehvdv19gZw");

Same for skills from player character sheet skills tab:

await Hotbar.toggleDocumentSheet("Actor.XSf4e3sD4m6H2d0V.Item.spERkKi3nIHHm0jk");

I get the same behaviour if I drag a weapon from an NPC sheet onto the hotbar.

Thank you for the amazing work!

wintersleepAI commented 5 months ago

I will try to peak at this at some point sooner than later. Macro stuff is important to get right!