Fix initiative pour les creatures/entites
This commit is contained in:
		| @@ -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" : ""); | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user