Merge branch 'feature/roll-item-refactoring' into feature/wfrp4

This commit is contained in:
Lyle hayhurst
2021-06-06 11:12:16 -05:00
6 changed files with 21 additions and 7 deletions

View File

@@ -742,13 +742,7 @@ export class TokenControl{
const item = items[itemNr];
if (item != undefined) {
if (game.system.id == 'wfrp4e') {
console.log("rolling wfrp4e item macro")
game.wfrp4e.utility.rollItemMacro(item.name, item.type, false);
}
else {
item.roll();
}
tokenHelper.rollItem(item);
}
}