forked from public/foundryvtt-reve-de-dragon
		
	Import "protection naturelle"
This commit is contained in:
		| @@ -452,7 +452,7 @@ export class RdDStatBlockParser { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   static parseCreature(statString, actorData) { |   static parseCreature(statString, actorData) { | ||||||
|     let protection = XRegExp.exec(statString, XRegExp("protection\\s+(?<value>[\\-]?\\d+)", 'giu')); |     let protection = XRegExp.exec(statString, XRegExp("protection(\\s+naturelle)?\\s+(?<value>[\\-]?\\d+)", 'giu')); | ||||||
|     if (protection?.value) { |     if (protection?.value) { | ||||||
|       actorData.attributs.protection.value = Number(protection.value); |       actorData.attributs.protection.value = Number(protection.value); | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user