forked from public/foundryvtt-reve-de-dragon
		
	Fix défenses particulières
This commit is contained in:
		| @@ -1,4 +1,7 @@ | ||||
| # 12.0 | ||||
| ## 12.0.49 - La deuxième lame d'Astrobazzarh | ||||
| - Correction: les défenses particulières sont correctement affichées | ||||
|  | ||||
| ## 12.0.48 - La chèvre d'Astrobazzarh | ||||
| - le Bandersnatch a une protection de 10 | ||||
| - la consistance chèvre est maintenant possible dans les recettes | ||||
|   | ||||
| @@ -1047,11 +1047,12 @@ export class RdDCombat { | ||||
|  | ||||
|  | ||||
|   async _onParade(defenderRoll) { | ||||
|     if (RdDCombat.isParticuliere(defenderRoll)) { | ||||
|       return await this._onParadeParticuliere(defenderRoll) | ||||
|     } | ||||
|     if (RdDCombat.isReussite(defenderRoll)) { | ||||
|       return await this._onParadeNormale(defenderRoll) | ||||
|       await this._onParadeNormale(defenderRoll) | ||||
|       if (RdDCombat.isParticuliere(defenderRoll)) { | ||||
|         await this._onParadeParticuliere(defenderRoll) | ||||
|       } | ||||
|       return | ||||
|     } | ||||
|     await this._onParadeEchec(defenderRoll) | ||||
|   } | ||||
| @@ -1135,11 +1136,12 @@ export class RdDCombat { | ||||
|   } | ||||
|  | ||||
|   async _onEsquive(defenderRoll) { | ||||
|     if (RdDCombat.isParticuliere(defenderRoll)) { | ||||
|       return await this._onEsquiveParticuliere(defenderRoll) | ||||
|     } | ||||
|     if (RdDCombat.isReussite(defenderRoll)) { | ||||
|       return await this._onEsquiveNormale(defenderRoll) | ||||
|       await this._onEsquiveNormale(defenderRoll) | ||||
|       if (RdDCombat.isParticuliere(defenderRoll)) { | ||||
|         await this._onEsquiveParticuliere(defenderRoll) | ||||
|       } | ||||
|       return  | ||||
|     } | ||||
|     return await this._onEsquiveEchec(defenderRoll) | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user