Correction combat

This commit is contained in:
sladecraven 2021-01-23 17:50:57 +01:00
parent 667845d77d
commit 67b45bf9f9
2 changed files with 4 additions and 4 deletions

View File

@ -2330,7 +2330,7 @@ export class RdDActor extends Actor {
}
}
count = encaissement.critique;
count = encaissement.critiques;
while (count > 0) {
let critique = blessures.critiques.liste[0];
if (!critique.active) {
@ -2338,8 +2338,8 @@ export class RdDActor extends Actor {
count--;
} else {
// TODO: status effect dead
ChatMessage.create({ content: `<strong>${this.name} vient de succomber à une seconde blessure critique ! Que les Dragons gardent son Archétype en paix !</strong>` });
encaissement.critique -= count;
ChatMessage.create({ content: `<strong>${this.name} vient de succomber à une seconde blessure critique ! Que les Dragons gardent son Archétype en paix !</strong>` });
encaissement.critiques -= count;
break;
}
}

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": "1.2.35",
"version": "1.2.36",
"manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.8",