Merge branch 'feature/roll-item-refactoring' into feature/wfrp4
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user