Generic roll and update items

This commit is contained in:
2022-01-13 21:05:55 +01:00
parent 3d70f556fb
commit b4b41f5c96
5 changed files with 63 additions and 18 deletions

View File

@ -128,10 +128,11 @@ export class PegasusUtility {
static async chatListeners(html) {
html.on("click", '.chat-create-actor', event => {
console.log("Event !")
game.system.pegasus.creator.processChatEvent(event);
} );
html.on("click", '.view-item-from-chat', event => {
game.system.pegasus.creator.openItemView( event)
} );
}
/* -------------------------------------------- */