Fix combat mains nues

This commit is contained in:
sladecraven 2021-03-12 23:19:34 +01:00
parent 5e9f1cd8a6
commit c281551603
2 changed files with 5 additions and 3 deletions

View File

@ -674,8 +674,10 @@ export class RdDCombat {
let rollData = this._prepareAttaque(competence, arme); let rollData = this._prepareAttaque(competence, arme);
console.log("RdDCombat.attaque >>>", rollData); console.log("RdDCombat.attaque >>>", rollData);
this.attacker.incItemUse(arme._id); // Usage if (arme) {
this.attacker.verifierForceMin(arme); this.attacker.incItemUse(arme._id); // Usage
this.attacker.verifierForceMin(arme);
}
const dialog = await RdDRoll.create(this.attacker, rollData, const dialog = await RdDRoll.create(this.attacker, rollData,
{ {

View File

@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon", "name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT", "description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.3.30", "version": "1.3.31",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.7.5", "minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9",