Fix initiative pour les creatures/entites

This commit is contained in:
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" : "");