renommer getReveActuel
This commit is contained in:
		| @@ -103,7 +103,7 @@ export class RdDTMRDialog extends Dialog { | ||||
|     this.updatePreviousRencontres(); | ||||
|  | ||||
|     const draconic = this.actor.getBestDraconic(); | ||||
|     const carac = this.actor.getCurrentReve(); | ||||
|     const carac = this.actor.getReveActuel(); | ||||
|     // TODO: ajouter l'état général?  | ||||
|     const etatGeneral = this.actor.data.data.compteurs.etat.value | ||||
|     const difficulte = draconic.data.niveau - this.currentRencontre.force; | ||||
| @@ -149,6 +149,7 @@ export class RdDTMRDialog extends Dialog { | ||||
|     if (rencontre) { // Manages it | ||||
|       console.log("manageRencontre", rencontre) | ||||
|       this.currentRencontre = duplicate(rencontre); | ||||
|  | ||||
|       let dialog = new Dialog({ | ||||
|         title: "Rencontre en TMR!", | ||||
|         content: "Vous recontrez un " + rencontre.name + " de force " + rencontre.force + "<br>", | ||||
| @@ -205,7 +206,7 @@ export class RdDTMRDialog extends Dialog { | ||||
|     if (cellDescr.type == "lac" || cellDescr.type == "fleuve" || cellDescr.type == "marais") { | ||||
|       let draconic = this.actor.getBestDraconic(); | ||||
|  | ||||
|       let carac = this.actor.getCurrentReve(); | ||||
|       let carac = this.actor.getReveActuel(); | ||||
|       // TODO: ajouter l'état général?  | ||||
|       const etatGeneral = this.actor.data.data.compteurs.etat.value | ||||
|       let difficulte = draconic.data.niveau - 7; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user