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

As above, or just add 1d1 as an option #8

Open
gris-x opened this issue Aug 13, 2022 · 1 comment
Open

As above, or just add 1d1 as an option #8

gris-x opened this issue Aug 13, 2022 · 1 comment

Comments

@gris-x
Copy link

gris-x commented Aug 13, 2022

This is a neat tool, but the inability to only add 1 luck point is annoying.
Thanks you for any help you can provide!

@Weskernation
Copy link

@gris-x
Hello
Go to the folder data/modules/luckpoints/scripts
open(edit) the file called "luckpoints.js"

look for the following lines:
six: {
icon: '',
label: "d20",
callback: () => this.gmRoll(dndSheet, "1d20")
}
change it into the following:
six: {
icon: '',
label: "d20",
callback: () => this.gmRoll(dndSheet, "1d20")
},
seven: {
icon: '',
label: "d1",
callback: () => this.gmRoll(dndSheet, "1d1")
}

Where I put the 1d1 you can put any number there. do not change anything that comes after this part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants