From e3e2147aff39fa05062e0c54d18bca169254a858 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Wed, 5 Apr 2023 21:48:23 +0000 Subject: Corsair Hat --- world/map/db/item_db.conf | 19 +++++++++++++++++++ world/map/db/item_db_head.txt | 1 + 2 files changed, 20 insertions(+) diff --git a/world/map/db/item_db.conf b/world/map/db/item_db.conf index 9ed0b514..afee67aa 100644 --- a/world/map/db/item_db.conf +++ b/world/map/db/item_db.conf @@ -13484,6 +13484,25 @@ item_db: ( Refine: false ViewSprite: 5283 }, +{ + Id: 5287 + AegisName: "HMCPirateHat" + Name: "Corsair Hat" + Type: "IT_ARMOR" + Buy: 1600 + Sell: 800 + Weight: 20 + Def: 5 + Slots: 0 + Loc: "EQP_HEAD_TOP" + Refine: false + ViewSprite: 5287 + Script: <" + bonus bMdef, 15; + bonus bMaxHP, 50; + bonus bCriticalDef, 5; + "> +}, /* Usable items */ { Id: 501 diff --git a/world/map/db/item_db_head.txt b/world/map/db/item_db_head.txt index 5377cb56..fab0191d 100644 --- a/world/map/db/item_db_head.txt +++ b/world/map/db/item_db_head.txt @@ -237,3 +237,4 @@ 5281, PartyHatR, 5, 1600, 800, 20, 0, 5, 0, 0, 0, 2, 256, 0, 0, 0, 0, {}, {} 5282, PartyHatG, 5, 1600, 800, 20, 0, 5, 0, 0, 0, 2, 256, 0, 0, 0, 0, {}, {} 5283, PartyHatB, 5, 1600, 800, 20, 0, 5, 0, 0, 0, 2, 256, 0, 0, 0, 0, {}, {} +5287, HMCPirateHat, 5, 1600, 800, 20, 0, 5, 0, 0, 0, 2, 256, 0, 0, 0, 0, {}, {bonus bMdef, 15; bonus bMaxHP, 50; bonus bCriticalDef, 5;} -- cgit v1.2.3-60-g2f50