BernhardPosselt / foundryvtt-special-dice-roller

A FoundryVTT module that supports rolling L5R, VtM 5e, Genesys and SWTTRP dice in chat
GNU Affero General Public License v3.0
13 stars 17 forks source link

trying to twink ur code to make the roll combo box work #40

Closed rafaaiglesias closed 2 years ago

rafaaiglesias commented 2 years ago

image

like I want to select Blind for GM rolls to work. can I have some leads or it's enterily not supported?

BernhardPosselt commented 2 years ago

Hm, was supported actually but looks like it doesn't seem to work on 9.x

BernhardPosselt commented 2 years ago

Labelling this as a bug for now. Looks like the chat data that is received in the message hook https://github.com/BernhardPosselt/foundryvtt-special-dice-roller/blob/master/src/index.ts#L72 does not match the full chat data object https://foundryvtt.com/api/data.ChatMessageData.html

Need more feedback from foundry devs for this fix. Either I need to manually parse the select drop down or get it from somewhere else ideally.

rafaaiglesias commented 2 years ago

I see. 9.x broke some modules I was running too. at least yours is up and running. btw thank for your work. Its really something =)

rafaaiglesias commented 2 years ago

solved. working at version 9.242

BernhardPosselt commented 2 years ago

Thanks for getting back, read it earlier but only logged into GitHub today ;)

Closing this issue then.