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

17.16 OtF Macro arguments do not support quoted strings #2089

Closed
devakm opened this issue Dec 31, 2024 · 0 comments
Closed

17.16 OtF Macro arguments do not support quoted strings #2089

devakm opened this issue Dec 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@devakm
Copy link

devakm commented Dec 31, 2024

[/:DeceptiveAttack attack="Exquisite Vicious Fey Dagger (Swung)"]

image

I ran into this issue while working on converting my scripts from GGA FVTT V9 to FVTT V12. Quoted arguments worked fine in V9 before Foundry introduced the new named arguments approach but got broken sometime after that.

I have important scripts where I need to be able to pass in a string with a quoted damage formula, such as:

/:CritHitCalcMelee attack=Halberd*Swung dmg="4d+17 cut"

The unquoted attack=string works fine but the quoted one for dmg="string" does not.

I couldn't find any examples for how to solve this on the Cool Macros page or elsewhere.

The new Foundry standard "we don't need no quotes" method invoked with /m works fine in chat but is not supported by GURPS.ExecuteOTF.

@mjeffw mjeffw self-assigned this Dec 31, 2024
@mjeffw mjeffw added the bug Something isn't working label Dec 31, 2024
@mjeffw mjeffw closed this as completed Dec 31, 2024
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