summaryrefslogtreecommitdiff
path: root/resources/js/classes/Monster.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-23 20:29:07 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-23 20:29:07 +0200
commit7b1c251fcb085dc37de439ea1137373f1905d82e (patch)
tree32e3f2cd4367507726af6d0172e9621a37dff576 /resources/js/classes/Monster.js
parent4dd1a344c6474087a3f8782dd54f5c7b4acc67ed (diff)
areas and capture and more
Diffstat (limited to 'resources/js/classes/Monster.js')
-rw-r--r--resources/js/classes/Monster.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/resources/js/classes/Monster.js b/resources/js/classes/Monster.js
index 84ea5da..c058a75 100644
--- a/resources/js/classes/Monster.js
+++ b/resources/js/classes/Monster.js
@@ -62,6 +62,9 @@ class Monster {
}
}
+ /**
+ * @returns {string[]}
+ */
get types () {
return DB.monsters[this.slug].types;
}
@@ -74,6 +77,18 @@ class Monster {
return DB.monsters[this.slug].moveset;
}
+ get catch_rate () {
+ return DB.monsters[this.slug].catch_rate;
+ }
+
+ get upper_catch_resistance () {
+ return DB.monsters[this.slug].upper_catch_resistance;
+ }
+
+ get lower_catch_resistance () {
+ return DB.monsters[this.slug].lower_catch_resistance;
+ }
+
/**
* @returns {DB_Evolution[]}
*/