Fix initiative pour les creatures/entites

This commit is contained in:
sladecraven 2020-11-16 23:32:22 +01:00
parent cf4cfe2589
commit 87b594953b
2 changed files with 2 additions and 2 deletions

View File

@ -1041,7 +1041,7 @@ export class RdDActor extends Actor {
if ( this.data.type != 'entite') // Pas de PV chez les entités
this.santeIncDec("vie", result.vie);
this.santeIncDec("endurance", result.endurance);
result.locName = attackerRoll.loc.label;
result.locName = (attackerRoll.loc) ? attackerRoll.loc.label : "Corps";
this.manageBlessures(result); // Will upate the result table
const blessureLegere = (result.legeres > 0 ? "une blessure légère" : "");

View File

@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT",
"version": "0.9.50",
"version": "0.9.51",
"minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.6",
"templateVersion": 46,