about summary refs log tree commit diff stats
path: root/src/bestiary.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bestiary.js')
-rw-r--r--src/bestiary.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bestiary.js b/src/bestiary.js
index 4a061be..12b35b7 100644
--- a/src/bestiary.js
+++ b/src/bestiary.js
@@ -1,12 +1,16 @@
 import pagosB from "./pagos.bestiary.json";
+import anemosB from "./anemos.bestiary.json";
+import pyrosB from "./pyros.bestiary.json";
+import hydatosB from "./hydatos.bestiary.json";
 import day from "dayjs";
 import isBetween from "dayjs/plugin/isBetween";
 day.extend(isBetween);
 
 export function getMatches(forecast, level) {
+  const amalgam = hydatosB.concat(pyrosB.concat(pagosB.concat(anemosB)));
   let res = [];
-  pagosB.forEach((b) => {
-    if (b.level >= level && b.level - 2 < level) {
+  amalgam.forEach((b) => {
+    if (b.level >= level && b.level - 2 <= level) {
       res.push({
         name: b.name,
         level: b.level,