Compare commits
No commits in common. "v11" and "12.0.48" have entirely different histories.
10
changelog.md
10
changelog.md
@ -1,14 +1,4 @@
|
||||
# 12.0
|
||||
## 12.0.50 - Le sommeil d'Astrobazzarh
|
||||
- Le don de double rêve n'interrompt plus le sommeil toutes les heures
|
||||
- la perte de fatigue à la descente des TMR est visible immédiatement
|
||||
|
||||
## 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
|
||||
- le Bandersnatch a une protection de 10
|
||||
- la consistance chèvre est maintenant possible dans les recettes
|
||||
|
@ -484,7 +484,7 @@ export class RdDActor extends RdDBaseActorSang {
|
||||
await this.$recupererFatigue(message);
|
||||
await this.$jetRecuperationReve(dormi, message);
|
||||
if (dormi.etat == 'dort' && EffetsDraconiques.isDonDoubleReve(this)) {
|
||||
await this.$jetRecuperationReve(dormi, message);
|
||||
dormi.etat = await this.$jetRecuperationReve(dormi, message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -120,7 +120,7 @@ export class RdDItemArme extends Item {
|
||||
|
||||
static defenseArmeParade(armeAttaque, armeParade) {
|
||||
const defCategory = RdDItemArme.getCategorieParade(armeParade)
|
||||
if (defCategory == 'boucliers') {
|
||||
if (defCategory == 'bouclier') {
|
||||
return 'norm'
|
||||
}
|
||||
if (armeAttaque?.system?.competence?.toLowerCase().match(/(fléau)/)) {
|
||||
|
@ -1047,12 +1047,11 @@ export class RdDCombat {
|
||||
|
||||
|
||||
async _onParade(defenderRoll) {
|
||||
if (RdDCombat.isParticuliere(defenderRoll)) {
|
||||
return await this._onParadeParticuliere(defenderRoll)
|
||||
}
|
||||
if (RdDCombat.isReussite(defenderRoll)) {
|
||||
await this._onParadeNormale(defenderRoll)
|
||||
if (RdDCombat.isParticuliere(defenderRoll)) {
|
||||
await this._onParadeParticuliere(defenderRoll)
|
||||
}
|
||||
return
|
||||
return await this._onParadeNormale(defenderRoll)
|
||||
}
|
||||
await this._onParadeEchec(defenderRoll)
|
||||
}
|
||||
@ -1136,12 +1135,11 @@ export class RdDCombat {
|
||||
}
|
||||
|
||||
async _onEsquive(defenderRoll) {
|
||||
if (RdDCombat.isParticuliere(defenderRoll)) {
|
||||
return await this._onEsquiveParticuliere(defenderRoll)
|
||||
}
|
||||
if (RdDCombat.isReussite(defenderRoll)) {
|
||||
await this._onEsquiveNormale(defenderRoll)
|
||||
if (RdDCombat.isParticuliere(defenderRoll)) {
|
||||
await this._onEsquiveParticuliere(defenderRoll)
|
||||
}
|
||||
return
|
||||
return await this._onEsquiveNormale(defenderRoll)
|
||||
}
|
||||
return await this._onEsquiveEchec(defenderRoll)
|
||||
}
|
||||
|
@ -345,16 +345,15 @@ export class RdDTMRDialog extends Dialog {
|
||||
}
|
||||
this.descenteTMR = true;
|
||||
if (this.actor.tmrApp) {
|
||||
this.actor.tmrApp = undefined // Cleanup reference
|
||||
const appliquerFatigue = ReglesOptionnelles.isUsing("appliquer-fatigue")
|
||||
await this.actor.santeIncDec(
|
||||
appliquerFatigue ? "fatigue" : "endurance",
|
||||
(appliquerFatigue ? 1 : -1) * this.cumulFatigue)
|
||||
this.actor.tmrApp = undefined; // Cleanup reference
|
||||
if (!this.viewOnly) {
|
||||
await this.actor.setEffect(STATUSES.StatusDemiReve, false)
|
||||
await this.actor.setEffect(STATUSES.StatusDemiReve, false);
|
||||
this.$tellToUserAndGM(message)
|
||||
}
|
||||
|
||||
const appliquerFatigue = ReglesOptionnelles.isUsing("appliquer-fatigue");
|
||||
await this.actor.santeIncDec(
|
||||
appliquerFatigue ? "fatigue" : "endurance",
|
||||
(appliquerFatigue ? 1 : -1) * this.cumulFatigue);
|
||||
}
|
||||
this.pixiTMR.close();
|
||||
this.pixiTMR = undefined
|
||||
|
@ -70,10 +70,7 @@
|
||||
</div>
|
||||
|
||||
<div class="flex-group-left">
|
||||
{{#if (or attackerRoll
|
||||
(and sourceToken (eq competence.system.categorie 'tir'))
|
||||
(and sourceToken (eq competence.system.categorie 'lancer'))
|
||||
)}}
|
||||
{{#if attackerRoll}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}}
|
||||
{{else}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.hbs"}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user