diff --git a/module/actor.js b/module/actor.js index 7c1426e5..777d20a7 100644 --- a/module/actor.js +++ b/module/actor.js @@ -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 )