Fix détérioration armure
This commit is contained in:
		| @@ -2024,7 +2024,7 @@ export class RdDActor extends Actor { | ||||
|         dmg = 0; // Reset it | ||||
|         if ( update.data.deterioration >= 10) {           | ||||
|           update.data.deterioration = 0; | ||||
|           let res = /\d+^/.exec(update.data.protection); | ||||
|           let res = /\d+/.exec(update.data.protection); | ||||
|           if ( res )  | ||||
|             update.data.protection = "1d"+update.data.protection; | ||||
|           // if ( update.data.protection.toString().length == 1 )  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user