From 4f02cb0904ea3783b51c897058eacacb6cae6cb6 Mon Sep 17 00:00:00 2001
From: Chaos92 <chaos_am1992@yahoo.com>
Date: Sun, 25 Apr 2021 03:45:28 +0800
Subject: [PATCH] Fixed ViewID For Item ID 20236 & 31710 (#5890)

Fixes #5889

Thanks to @lChyztl
---
 db/re/item_db_equip.yml        | 4 ++--
 sql-files/item_db_re_equip.sql | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/db/re/item_db_equip.yml b/db/re/item_db_equip.yml
index d9273e4300..cb8397d096 100644
--- a/db/re/item_db_equip.yml
+++ b/db/re/item_db_equip.yml
@@ -87517,7 +87517,7 @@ Body:
     Locations:
       Costume_Head_Top: true
     EquipLevelMin: 1
-    View: 241
+    View: 341
   - Id: 20237
     AegisName: C_Pink_Fur_Hat
     Name: Costume Pink Beanie
@@ -119573,7 +119573,7 @@ Body:
     Locations:
       Costume_Head_Top: true
     EquipLevelMin: 1
-    View: 31710
+    View: 740
   - Id: 31711
     AegisName: Costume_Jewel_Crown
     Name: C Jewel Crown
diff --git a/sql-files/item_db_re_equip.sql b/sql-files/item_db_re_equip.sql
index 864bf457b5..934c3eb25f 100644
--- a/sql-files/item_db_re_equip.sql
+++ b/sql-files/item_db_re_equip.sql
@@ -4617,7 +4617,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_cos
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (20233,'C_Gold_Angel_Sculpture','Costume Golden Angel','Armor',true,1,646);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`location_costume_head_Mid`,`location_costume_head_Low`,`equip_level_min`,`view`,`script`) VALUES (20234,'C_Baphomet_Hat','Costume Baphomet Hat','Armor',true,true,true,1,1311,'bonus bMaxHPrate,15;\nbonus bMaxSPrate,15;\nbonus2 bAddRace,RC_All,15;\nbonus2 bMagicAddRace,RC_All,15;\nbonus2 bAddItemHealRate,519,2015;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`equip_level_min`,`view`) VALUES (20235,'C_Frozen_Land_Rose','Costume Frozen Rose','Armor',true,1,1025);
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (20236,'C_Hellomother_Hat','Costume Arc Angeling Hat','Armor',true,1,241);
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (20236,'C_Hellomother_Hat','Costume Arc Angeling Hat','Armor',true,1,341);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (20237,'C_Pink_Fur_Hat','Costume Pink Beanie','Armor',true,1,281);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (20238,'C_Blue_Drooping_Kitty','Costume Drooping Blue Cat','Armor',true,1,277);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`equip_level_min`,`view`) VALUES (20239,'C_Large_Ribbon_Muffler','Costume Large Ribbon Muffler','Armor',true,1,1312);
@@ -6763,7 +6763,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_cos
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31707,'Costume_Nine_Tail_Fox_Hair','C Nine Tail Fox Hair','Armor',true,1,1884);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31708,'Costume_Gothic_Skull_Ribbon','C Gothic Skull Ribbon','Armor',true,1,1885);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31709,'Costume_Golden_Violet','C Golden Violet','Armor',true,1,1886);
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31710,'Costume_Lucky_Hat','C Lucky Hat','Armor',true,1,31710);
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31710,'Costume_Lucky_Hat','C Lucky Hat','Armor',true,1,740);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31711,'Costume_Jewel_Crown','C Jewel Crown','Armor',true,1,88);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`equip_level_min`,`view`) VALUES (31712,'Costume_Oxygen_Mask','C Oxygen Mask','Armor',true,1,90);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31713,'Costume_Mystical_Fruit_Hat','Costume Mystical Fruit Hat','Armor',true,1,134);