forked from public/foundryvtt-reve-de-dragon
		
	Seuil de rêve pas mis à jour en changeant le Rêve
This commit is contained in:
		| @@ -455,9 +455,9 @@ export class RdDActor extends Actor { | ||||
|   updateCarac( caracName, caracValue )   | ||||
|   { | ||||
|     let caracpath = "data.carac." + caracName + ".value" | ||||
|     if (caracName == reve) { | ||||
|     if (caracName == "reve") { | ||||
|       if (caracValue > Misc.toInt(this.data.data.reve.seuil.value)) { | ||||
|         this.setPointDeSeuil(caracValue); | ||||
|         this.setPointsDeSeuil(caracValue); | ||||
|       } | ||||
|     } | ||||
|     this.update( { caracpath: caracValue } ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user