Created
March 24, 2021 23:14
-
-
Save Grygon/7ae9bbe28812b003799b1c964ade0573 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Dialog({ | |
title: 'Bonus Damage', | |
content: '<h1>Bonus damage?</h1>', | |
buttons: { | |
submit: { | |
icon: '<i class="fas fa-check"></i>', | |
label: "Yes", | |
callback: async () => { | |
game.lancer.prepareItemMacro(<ACTOR ID>, <ITEM ID>, {damBonus: {type: "Bonus", val: "1d6"}}); | |
}, | |
}, | |
no: { | |
icon: '<i class="fas fa-times"></i>', | |
label: "No", | |
callback: async () => { | |
game.lancer.prepareItemMacro(<ACTOR ID>, <ITEM ID>); | |
}, | |
}, | |
}, | |
default: "submit", | |
close: () => {}, | |
}).render(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment