diff --git a/module.json b/module.json index ae87b80..b5a6fae 100644 --- a/module.json +++ b/module.json @@ -8,7 +8,7 @@ "email": "dev7355608@gmail.com" } ], - "version": "2.3.0", + "version": "2.3.1", "compatibility": { "minimum": "12", "verified": "12" @@ -60,8 +60,8 @@ }, "url": "https://github.com/dev7355608/vision-5e", "manifest": "https://github.com/dev7355608/vision-5e/releases/latest/download/module.json", - "download": "https://github.com/dev7355608/vision-5e/releases/download/v2.3.0/module.zip", - "changelog": "https://github.com/dev7355608/vision-5e/releases/tag/v2.3.0", + "download": "https://github.com/dev7355608/vision-5e/releases/download/v2.3.1/module.zip", + "changelog": "https://github.com/dev7355608/vision-5e/releases/tag/v2.3.1", "bugs": "https://github.com/dev7355608/vision-5e/issues", "readme": "https://raw.githubusercontent.com/dev7355608/vision-5e/main/README.md", "license": "https://raw.githubusercontent.com/dev7355608/vision-5e/main/LICENSE" diff --git a/scripts/actor.mjs b/scripts/actor.mjs index 7a641ea..1db75cf 100644 --- a/scripts/actor.mjs +++ b/scripts/actor.mjs @@ -292,6 +292,9 @@ const FEAT_REGISTRY = { blindSenses(item) { this.statuses.add(CONFIG.specialStatusEffects.BLIND_SENSES); }, + bloodSense(item) { + upgradeDetectionMode(this, "bloodSense", findRange(item.system.description.value, this.system.attributes.senses.units)); + }, echolocation(item) { this.statuses.add(CONFIG.specialStatusEffects.ECHOLOCATION); }, @@ -395,6 +398,9 @@ const DATABASE = Object.values({ blindsense: [ "Blindsense", ], + bloodSense: [ + "Blood Sense", + ], detectEvilAndGood: [ "Detect Evil and Good", ], @@ -479,6 +485,9 @@ const DATABASE = Object.values({ blindsense: [ "Blindgespür", ], + bloodSense: [ + "Blutgespür", + ], detectEvilAndGood: [ "Gutes und Böses entdecken", ], @@ -563,6 +572,9 @@ const DATABASE = Object.values({ blindsense: [ "Perception aveugle", ], + bloodSense: [ + "Perception du sang", + ], detectEvilAndGood: [ "Détection du mal et du bien", ], @@ -651,6 +663,9 @@ const DATABASE = Object.values({ blindsense: [ "Sentir sin Ver", ], + bloodSense: [ + "Percepción de Sangre", + ], detectEvilAndGood: [ "Detectar el Bien y el Mal", ], @@ -738,6 +753,9 @@ const DATABASE = Object.values({ blindsense: [ "Sentido Cego", ], + bloodSense: [ + "Percepção do Sangue", + ], detectEvilAndGood: [ ["Detectar o Bem e", [" o", ""], " Mal"], ],