Wrong logs for creature_equip_template + startup errors fixes (#758)

* Fixed wrong logs

* Added some errors fixes on startup
This commit is contained in:
Nefertumm
2018-01-27 16:00:54 -03:00
committed by Francesco Borzì
parent 84949746e1
commit ca2ee81939
2 changed files with 18 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
INSERT INTO version_db_world (`sql_rev`) VALUES ('1516149942175144200');
-- Useless loot
DELETE FROM `creature_loot_template` WHERE `entry` IN (1, 1175);
-- Conditions for lootid 1, useless
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 1 AND `SourceGroup` = 1;
-- Attumen the Huntsman - Fix condition on item 23809
UPDATE `conditions` SET `SourceGroup` = 16152 WHERE `SourceGroup` = 15550 AND `SourceEntry` = 23809;
-- Conditions that aren't referenced and, still, aren't correct.
DELETE FROM `conditions` WHERE `SourceGroup` = 21060 AND `SourceEntry` = 23612;
DELETE FROM `conditions` WHERE `SourceGroup` = 21061 AND `SourceEntry` = 23612;