12.0.49 - La deuxième lame d'Astrobazzarh #757
@ -1,4 +1,10 @@
|
|||||||
# 12.0
|
# 12.0
|
||||||
|
## 12.0.49 - La deuxième lame d'Astrobazzarh
|
||||||
|
- Corrections
|
||||||
|
- les défenses particulières sont correctement affichées
|
||||||
|
- les vieux boucliers (sans catégorie de parade car créés il y a longtemps) peuvent parer...
|
||||||
|
- Les attaques à distance n'ont pas de difficulté libre
|
||||||
|
|
||||||
## 12.0.48 - La chèvre d'Astrobazzarh
|
## 12.0.48 - La chèvre d'Astrobazzarh
|
||||||
- le Bandersnatch a une protection de 10
|
- le Bandersnatch a une protection de 10
|
||||||
- la consistance chèvre est maintenant possible dans les recettes
|
- la consistance chèvre est maintenant possible dans les recettes
|
||||||
|
@ -120,7 +120,7 @@ export class RdDItemArme extends Item {
|
|||||||
|
|
||||||
static defenseArmeParade(armeAttaque, armeParade) {
|
static defenseArmeParade(armeAttaque, armeParade) {
|
||||||
const defCategory = RdDItemArme.getCategorieParade(armeParade)
|
const defCategory = RdDItemArme.getCategorieParade(armeParade)
|
||||||
if (defCategory == 'bouclier') {
|
if (defCategory == 'boucliers') {
|
||||||
return 'norm'
|
return 'norm'
|
||||||
}
|
}
|
||||||
if (armeAttaque?.system?.competence?.toLowerCase().match(/(fléau)/)) {
|
if (armeAttaque?.system?.competence?.toLowerCase().match(/(fléau)/)) {
|
||||||
|
@ -1047,11 +1047,12 @@ export class RdDCombat {
|
|||||||
|
|
||||||
|
|
||||||
async _onParade(defenderRoll) {
|
async _onParade(defenderRoll) {
|
||||||
if (RdDCombat.isParticuliere(defenderRoll)) {
|
|
||||||
return await this._onParadeParticuliere(defenderRoll)
|
|
||||||
}
|
|
||||||
if (RdDCombat.isReussite(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)
|
await this._onParadeEchec(defenderRoll)
|
||||||
}
|
}
|
||||||
@ -1135,11 +1136,12 @@ export class RdDCombat {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async _onEsquive(defenderRoll) {
|
async _onEsquive(defenderRoll) {
|
||||||
if (RdDCombat.isParticuliere(defenderRoll)) {
|
|
||||||
return await this._onEsquiveParticuliere(defenderRoll)
|
|
||||||
}
|
|
||||||
if (RdDCombat.isReussite(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)
|
return await this._onEsquiveEchec(defenderRoll)
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex-group-left">
|
<div class="flex-group-left">
|
||||||
{{#if attackerRoll}}
|
{{#if (or attackerRoll
|
||||||
|
(and sourceToken (eq competence.system.categorie 'tir'))
|
||||||
|
(and sourceToken (eq competence.system.categorie 'lancer'))
|
||||||
|
)}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.hbs"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.hbs"}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user