Correction combat
This commit is contained in:
parent
667845d77d
commit
67b45bf9f9
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user