From 3c3aa1cbdbc2bc3f8f47a2f2b5806e47c56e8bc0 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 2 Jan 2020 20:12:32 +0800 Subject: [PATCH] test --- data/code_obj_sub_type.json | 5 +++++ job.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/data/code_obj_sub_type.json b/data/code_obj_sub_type.json index 24c1e7b..2f6e1d5 100644 --- a/data/code_obj_sub_type.json +++ b/data/code_obj_sub_type.json @@ -644,6 +644,11 @@ "name": "Other", "obj_type": "item" }, + { + "intl_id": "item_unique", + "name": "Unique", + "obj_type": "item" + }, { "intl_id": "castle", "name": "Castle", diff --git a/job.go b/job.go index 7fbcd6d..1c7f84f 100644 --- a/job.go +++ b/job.go @@ -931,7 +931,7 @@ func jobGDeposit(j Job) { craft = true case cacheObjSubType[`item_other`]: equip = true - case objSubTypeItemUnique: + case cacheObjSubType[`item_unique`]: equip = true default: }