From 17db68cf4506b7e9ebf448414aef3bf945f32ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Sat, 3 Sep 2022 21:59:03 -0600 Subject: [PATCH] Fix Varimathras equipment error, remove test item causing SQL failure --- sql/world/base/item_changes.sql | 3 --- sql/world/base/zone_undercity.sql | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sql/world/base/item_changes.sql b/sql/world/base/item_changes.sql index 2949e7a..7367022 100644 --- a/sql/world/base/item_changes.sql +++ b/sql/world/base/item_changes.sql @@ -7264,9 +7264,6 @@ UPDATE `item_template` SET `BuyPrice` = 657, `stat_type1` = 4, `stat_value1` = 2 /* Foreman Pants */ UPDATE `item_template` SET `BuyPrice` = 597, `stat_type1` = 4, `stat_type2` = 7, `stat_value2` = 1, `spellid_1` = 0, `spelltrigger_1` = 0 WHERE entry=10554; -/* Resist Test Item */ -UPDATE `item_template` SET `armor` = -50, `holy_res` = -50, `fire_res` = -50, `nature_res` = -50, `frost_res` = -50, `shadow_res` = -50 WHERE entry=10555; - /* Quillshooter */ UPDATE `item_template` SET `dmg_min1` = 31.0, `dmg_max1` = 58.0 WHERE entry=10567; diff --git a/sql/world/base/zone_undercity.sql b/sql/world/base/zone_undercity.sql index 7062804..c343e69 100644 --- a/sql/world/base/zone_undercity.sql +++ b/sql/world/base/zone_undercity.sql @@ -38,7 +38,7 @@ INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionTex (2849, 11, 0, 'A profession trainer', 6635, 1, 1, 2847, 0, 0, 0, NULL, 0, 0); /* Restore Varimathras */ -UPDATE `creature` SET `id1`=2425 WHERE `id1`=36273; +UPDATE `creature` SET `id1`=2425, `equipment_id`=0 WHERE `id1`=36273; /* Wrathgate NPCs - just deleting for now, but maybe can implement a post-Wrathgate world state later */ DELETE FROM `creature` WHERE `guid` IN (43466, 79263);