#19 : Gestion des entités dans les combats

This commit is contained in:
sladecraven 2020-11-15 11:17:38 +01:00
parent 5ee0daccc7
commit 4f09c278e9

View File

@ -159,7 +159,7 @@ export class RdDActor extends Actor {
if (attCategory.match("epee") && (defCategory == "hache" || defCategory == "lance")) if (attCategory.match("epee") && (defCategory == "hache" || defCategory == "lance"))
need_resist = true; need_resist = true;
} }
if (this.data.data.sante.sonne.value || rollData.particuliereAttaque == "finesse") { if (this.data.type != 'entite' && (this.data.data.sante.sonne.value || rollData.particuliereAttaque == "finesse")) {
rollData.needSignificative = true; rollData.needSignificative = true;
} }