From 7b1c251fcb085dc37de439ea1137373f1905d82e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 23 Aug 2023 20:29:07 +0200 Subject: areas and capture and more --- resources/js/classes/Monster.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'resources/js/classes/Monster.js') 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[]} */ -- cgit v1.2.3