About Rysarian
creating macros for FoundryVTT.
Recent supporters
Posts
This can be useful for adding tokens in a specific order like outlining turns for non-combats like a board game or something similar. async function main() { //Make sure there are selected tokens if (canvas.tokens.controlled.length === 0) { ui.notifications.error("Choose tokens in combat"); } else { //Go through each selected token and add them to the combat tracker await canvas.tokens.toggleComba...
Update Combatants in a Certain Order
Apr 21, 2021
508 views
let dialogEditor = new Dialog({ title: `Dice Mods`, content: `Pick the dice mod.`, buttons: { boostAdd: { label: `Add Boost`, callback: () => { for(const token of canvas.tokens.controlled) { token.toggleEffect("Assets/Icons/SW_add_boost.png", true); } dialogEditor.render(true); } }, boostSub: { label: `Remove Boost`, callback: () => { for(const token of canvas.tokens.controlled) { token.togg...
Adding/Removing Custom Icons
Apr 20, 2021
418 views
