From 91d048ef0f994446aaee91e3afcbd99788e439d7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 18 Aug 2023 23:19:13 +0200 Subject: item effects,conditions --- resources/js/classes/Item.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'resources/js/classes/Item.js') diff --git a/resources/js/classes/Item.js b/resources/js/classes/Item.js index 6207cc2..8a12b9a 100644 --- a/resources/js/classes/Item.js +++ b/resources/js/classes/Item.js @@ -18,4 +18,12 @@ class Item { get sprite () { return DB.items[this.slug].sprite; } + + get conditions () { + return DB.items[this.slug].conditions; + } + + get effects () { + return DB.items[this.slug].effects; + } } -- cgit v1.2.3