This commit is contained in:
Cristian Deenen
2022-04-16 04:29:57 +02:00
parent e7e9b84227
commit 8cf974455a
12 changed files with 401 additions and 42 deletions

View File

@@ -104,7 +104,6 @@ export class wfrp4e {
}
roll(token,roll,options,ability,skill,save) {
//console.log("roll(", token, roll, options, ability, skill, save, ")");
if (ability == undefined) ability = 'ag';
return game.wfrp4e.utility.rollItemMacro(ability, "characteristic", false);
}
@@ -125,7 +124,6 @@ export class wfrp4e {
getItemUses(item) {
//console.log("getItemUses(" , item , ")")
if ( item.type == 'ammunition') {
return {available: item.data.data.quantity.value};
}