Keybase proof
I hereby claim:
- I am bloy on github.
- I am bloy (https://keybase.io/bloy) on keybase.
- I have a public key whose fingerprint is 1CFE 2E20 7703 E074 5FAF 5D43 0803 3B8C 075B 3F10
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
main() | |
const UPICON = "/icons/svg/up.svg" | |
const DOWNICON = "/icons/svg/down.svg" | |
async function main() { | |
let tokens = [] | |
game.user.targets.forEach(token => {tokens.push(token)}) | |
if (tokens.length == 0) { | |
ui.notifications.error("No tokens targeted"); |
{ | |
"gmSettings": { | |
"default": { | |
"items": [ | |
{ | |
"disposition": "FRIENDLY", | |
"items": [ | |
{ | |
"value": "let val = \"\";\nif (data.wildcard) {\n\tval = \"🃏 \";\n}\nif (data.bennies.max > 0 || data.bennies.value > 0) {\n\tval += data.bennies.value + \"/\" + data.bennies.max;\n}\nreturn val;", | |
"icon": "$Bennies:", |