Skip to content

Commit

Permalink
Add missing Blood Sense feat detection
Browse files Browse the repository at this point in the history
  • Loading branch information
dev7355608 committed Jun 16, 2024
1 parent 16a191c commit a77f3bb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"email": "[email protected]"
}
],
"version": "2.3.0",
"version": "2.3.1",
"compatibility": {
"minimum": "12",
"verified": "12"
Expand Down Expand Up @@ -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"
Expand Down
18 changes: 18 additions & 0 deletions scripts/actor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down Expand Up @@ -395,6 +398,9 @@ const DATABASE = Object.values({
blindsense: [
"Blindsense",
],
bloodSense: [
"Blood Sense",
],
detectEvilAndGood: [
"Detect Evil and Good",
],
Expand Down Expand Up @@ -479,6 +485,9 @@ const DATABASE = Object.values({
blindsense: [
"Blindgespür",
],
bloodSense: [
"Blutgespür",
],
detectEvilAndGood: [
"Gutes und Böses entdecken",
],
Expand Down Expand Up @@ -563,6 +572,9 @@ const DATABASE = Object.values({
blindsense: [
"Perception aveugle",
],
bloodSense: [
"Perception du sang",
],
detectEvilAndGood: [
"Détection du mal et du bien",
],
Expand Down Expand Up @@ -651,6 +663,9 @@ const DATABASE = Object.values({
blindsense: [
"Sentir sin Ver",
],
bloodSense: [
"Percepción de Sangre",
],
detectEvilAndGood: [
"Detectar el Bien y el Mal",
],
Expand Down Expand Up @@ -738,6 +753,9 @@ const DATABASE = Object.values({
blindsense: [
"Sentido Cego",
],
bloodSense: [
"Percepção do Sangue",
],
detectEvilAndGood: [
["Detectar o Bem e", [" o", ""], " Mal"],
],
Expand Down

0 comments on commit a77f3bb

Please sign in to comment.