Files
moonwell-core-vanilla/sql/migrations/20181118215622_world.sql
T
ratkosrb 81e883c291 Do item spell id substitutions in core.
Previously we replaced the spell id used by items that had the data for the spell itself changed in item_template as if it were a change to the item. That meant we actually had wrong item data for those patches, but it made the effects look correct in the 1.12 client. If you were to play with the actual patch appropriate client however, all of those items would show wrong effects. Doing spell id substitutions for newer clients in the core is a better way to handle this, as it means we can have 100% correct and patch appropriate data for items in the database. Also this way there is no way of missing an item that needs a replacement spell id for lower content patches, since all the items are checked on startup.
2018-11-19 00:35:56 +02:00

718 lines
91 KiB
SQL

DROP PROCEDURE IF EXISTS add_migration;
delimiter ??
CREATE PROCEDURE `add_migration`()
BEGIN
DECLARE v INT DEFAULT 1;
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20181118215622');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20181118215622');
-- Add your query below.
-- Automatic spellid_1 spell power.
UPDATE `item_template` SET `spellid_1`=18049 WHERE `entry`=873 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9396 WHERE `entry`=892 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9412 WHERE `entry`=1484 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14799 WHERE `entry`=1664 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=15714 WHERE `entry`=1716 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9411 WHERE `entry`=1720 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=1980 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9359 WHERE `entry`=1998 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17747 WHERE `entry`=2231 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9314 WHERE `entry`=2271 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7709 WHERE `entry`=2277 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=2549 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9361 WHERE `entry`=2564 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9400 WHERE `entry`=2565 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7680 WHERE `entry`=2943 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7709 WHERE `entry`=2944 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7703 WHERE `entry`=2950 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9400 WHERE `entry`=3073 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17878 WHERE `entry`=3075 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9400 WHERE `entry`=4117 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7689 WHERE `entry`=4317 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7703 WHERE `entry`=4319 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7708 WHERE `entry`=4323 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7701 WHERE `entry`=4324 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9342 WHERE `entry`=4329 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7688 WHERE `entry`=4331 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7687 WHERE `entry`=5183 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7703 WHERE `entry`=7046 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7710 WHERE `entry`=7047 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7681 WHERE `entry`=7049 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7703 WHERE `entry`=7053 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9403 WHERE `entry`=7060 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9402 WHERE `entry`=7377 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9342 WHERE `entry`=7553 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9417 WHERE `entry`=7685 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7709 WHERE `entry`=7709 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7681 WHERE `entry`=7721 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9416 WHERE `entry`=7749 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13599 WHERE `entry`=7757 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=9393 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=9431 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14248 WHERE `entry`=9434 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=9470 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17993 WHERE `entry`=9482 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14047 WHERE `entry`=9484 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=10002 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9344 WHERE `entry`=10003 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=10004 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9416 WHERE `entry`=10018 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9325 WHERE `entry`=10023 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14794 WHERE `entry`=10025 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9325 WHERE `entry`=10028 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=10031 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9344 WHERE `entry`=10041 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7706 WHERE `entry`=10461 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14248 WHERE `entry`=10502 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7703 WHERE `entry`=10572 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9397 WHERE `entry`=10796 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9346 WHERE `entry`=10844 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9400 WHERE `entry`=11748 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13831 WHERE `entry`=11782 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=15714 WHERE `entry`=11822 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9317 WHERE `entry`=11923 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=12110 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9295 WHERE `entry`=12113 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9296 WHERE `entry`=12256 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7689 WHERE `entry`=12260 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9346 WHERE `entry`=12464 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9346 WHERE `entry`=12543 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9346 WHERE `entry`=12545 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=12547 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=16638 WHERE `entry`=12624 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9346 WHERE `entry`=12756 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13881 WHERE `entry`=12930 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9395 WHERE `entry`=12998 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9346 WHERE `entry`=13001 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9416 WHERE `entry`=13013 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9325 WHERE `entry`=13029 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=13102 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18052 WHERE `entry`=13170 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18049 WHERE `entry`=13253 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14799 WHERE `entry`=13314 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18042 WHERE `entry`=13346 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14794 WHERE `entry`=13349 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=13396 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9417 WHERE `entry`=13863 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17890 WHERE `entry`=13868 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17890 WHERE `entry`=13869 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9308 WHERE `entry`=13870 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17891 WHERE `entry`=13871 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9416 WHERE `entry`=13938 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9295 WHERE `entry`=14043 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9400 WHERE `entry`=14044 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7703 WHERE `entry`=14103 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18015 WHERE `entry`=14106 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18008 WHERE `entry`=14107 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9295 WHERE `entry`=14108 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18011 WHERE `entry`=14111 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18008 WHERE `entry`=14112 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17902 WHERE `entry`=14340 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=15696 WHERE `entry`=14553 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18041 WHERE `entry`=15047 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9317 WHERE `entry`=15061 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9296 WHERE `entry`=15105 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9326 WHERE `entry`=15106 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14054 WHERE `entry`=15999 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18030 WHERE `entry`=16058 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16797 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16797 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=7687 WHERE `entry`=16803 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=16812 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=16812 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=7708 WHERE `entry`=16815 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7708 WHERE `entry`=16815 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16816 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16816 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16817 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16817 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16819 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16819 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16828 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16828 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13599 WHERE `entry`=16831 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13599 WHERE `entry`=16831 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=16833 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=16833 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9361 WHERE `entry`=16836 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9361 WHERE `entry`=16836 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9404 WHERE `entry`=16837 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16840 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=16841 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9361 WHERE `entry`=16843 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16858 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13599 WHERE `entry`=16898 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16904 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16912 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17824 WHERE `entry`=16914 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17892 WHERE `entry`=16915 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=16919 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18009 WHERE `entry`=16922 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=16923 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16925 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18009 WHERE `entry`=16927 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17868 WHERE `entry`=16928 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18014 WHERE `entry`=16929 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17872 WHERE `entry`=16930 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18009 WHERE `entry`=16931 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=16934 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9411 WHERE `entry`=16943 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=16944 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16945 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17892 WHERE `entry`=16949 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=16955 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7688 WHERE `entry`=18048 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14248 WHERE `entry`=18082 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=18208 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9358 WHERE `entry`=18289 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9415 WHERE `entry`=18301 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=15715 WHERE `entry`=18322 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13601 WHERE `entry`=18338 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9326 WHERE `entry`=18372 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=14054 WHERE `entry`=18385 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=18029 WHERE `entry`=18391 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9417 WHERE `entry`=18396 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=18013 WHERE `entry`=18407 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=17871 WHERE `entry`=18408 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=18049 WHERE `entry`=18479 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=18030 WHERE `entry`=18523 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=18525 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=18035 WHERE `entry`=18527 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9345 WHERE `entry`=18546 && `patch`=1;
-- Manual spellid_1 spell power.
UPDATE `item_template` SET `spellid_1`=9308 WHERE `entry`=942 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17873 WHERE `entry`=944 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9402 WHERE `entry`=1992 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7679 WHERE `entry`=2816 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7686 WHERE `entry`=2879 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7685 WHERE `entry`=6898 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14799 WHERE `entry`=11904 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=17371 WHERE `entry`=12625 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7678 WHERE `entry`=13031 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18030 WHERE `entry`=13954 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13599 WHERE `entry`=13964 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18018 WHERE `entry`=14136 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18056 WHERE `entry`=14152 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=18044 WHERE `entry`=14154 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=15108 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7710 WHERE `entry`=15109 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13594 WHERE `entry`=16796 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13594 WHERE `entry`=16796 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13599 WHERE `entry`=16798 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13599 WHERE `entry`=16798 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=16800 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=16800 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=16805 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=16806 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=16808 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7687 WHERE `entry`=16809 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9414 WHERE `entry`=16810 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9328 WHERE `entry`=16813 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16835 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13605 WHERE `entry`=16835 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16838 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13594 WHERE `entry`=16897 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7694 WHERE `entry`=16899 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17824 WHERE `entry`=16900 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13594 WHERE `entry`=16901 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17990 WHERE `entry`=16903 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16924 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7679 WHERE `entry`=16946 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17868 WHERE `entry`=16947 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16948 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9408 WHERE `entry`=16950 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=17078;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (17078, 0, 4, 1, 'Sapphiron Drape', '', 29719, 4, 0, 1, 119909, 23981, 16, -1, -1, 63, 58, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 5, 15, 7, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 5, 0, 5, 9417, 1, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (17078, 2, 4, 1, 'Sapphiron Drape', '', 29719, 4, 0, 1, 186019, 37203, 16, -1, -1, 72, 60, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 5, 17, 7, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, 0, 0, 0, 6, 0, 6, 9343, 1, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 1);
UPDATE `item_template` SET `spellid_1`=14799 WHERE `entry`=17109 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9406 WHERE `entry`=17721 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=21518 WHERE `entry`=17741 && `patch`=0;
-- Manual spellid_2 spell power.
UPDATE `item_template` SET `spellid_2`=17897 WHERE `entry`=944 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9412 WHERE `entry`=1992 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7708 WHERE `entry`=2816 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7700 WHERE `entry`=2879 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9361 WHERE `entry`=12632 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7707 WHERE `entry`=13031 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=17988 WHERE `entry`=13954 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9414 WHERE `entry`=13964 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=17900 WHERE `entry`=14136 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7688 WHERE `entry`=15109 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7687 WHERE `entry`=16795 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9404 WHERE `entry`=16800 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7708 WHERE `entry`=16809 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7687 WHERE `entry`=16810 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9408 WHERE `entry`=16813 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9361 WHERE `entry`=16835 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9361 WHERE `entry`=16838 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9411 WHERE `entry`=16839 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9308 WHERE `entry`=16842 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7694 WHERE `entry`=16897 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=17371 WHERE `entry`=16900 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=17990 WHERE `entry`=16901 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9408 WHERE `entry`=16903 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=7701 WHERE `entry`=16913 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9414 WHERE `entry`=16924 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9401 WHERE `entry`=16946 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=17990 WHERE `entry`=16947 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9404 WHERE `entry`=16950 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9346 WHERE `entry`=17113 && `patch`=1;
UPDATE `item_template` SET `spellid_2`=7696 WHERE `entry`=17721 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=14047 WHERE `entry`=18534 && `patch`=1;
UPDATE `item_template` SET `spellid_2`=7706 WHERE `entry`=6898 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9408 WHERE `entry`=11819 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9417 WHERE `entry`=11832 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9404 WHERE `entry`=16800 && `patch`=1;
UPDATE `item_template` SET `spellid_2`=9361 WHERE `entry`=16835 && `patch`=1;
-- Manual spellid_3 spell power.
UPDATE `item_template` SET `spellid_3`=9404 WHERE `entry`=16798 && `patch`=0;
UPDATE `item_template` SET `spellid_3`=7679 WHERE `entry`=16897 && `patch`=0;
UPDATE `item_template` SET `spellid_3`=9404 WHERE `entry`=16798 && `patch`=1;
-- Manual spellid_1 defense.
UPDATE `item_template` SET `spellid_1`=7518 WHERE `entry`=868 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=943 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=9385 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7516 WHERE `entry`=9405 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7516 WHERE `entry`=9607 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=14249 WHERE `entry`=11726 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13386 WHERE `entry`=11746 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13387 WHERE `entry`=12115 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7517 WHERE `entry`=12550 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=12602 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13385 WHERE `entry`=12939 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7517 WHERE `entry`=12985 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13388 WHERE `entry`=13041 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=13049 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=13072 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13384 WHERE `entry`=13074 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=13091 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7517 WHERE `entry`=13245 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=14552 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13389 WHERE `entry`=14624 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=15413 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13383 WHERE `entry`=16862 && `patch`=3;
UPDATE `item_template` SET `spellid_1`=18185 WHERE `entry`=16963 && `patch`=3;
UPDATE `item_template` SET `spellid_1`=18185 WHERE `entry`=16966 && `patch`=3;
UPDATE `item_template` SET `spellid_1`=13385 WHERE `entry`=17734 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7516 WHERE `entry`=18351 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13385 WHERE `entry`=18383 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=7518 WHERE `entry`=18413 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13384 WHERE `entry`=18493 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13385 WHERE `entry`=18495 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13390 WHERE `entry`=18503 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13387 WHERE `entry`=18531 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=13387 WHERE `entry`=18547 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=7517 WHERE `entry`=18813 && `patch`=2;
-- Manual spellid_2 defense.
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=11810 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=13387 WHERE `entry`=17065 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=13387 WHERE `entry`=18406 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=18502 && `patch`=1;
UPDATE `item_template` SET `spellid_2`=13383 WHERE `entry`=16863 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13383 WHERE `entry`=16864 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=16865 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=16866 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=16867 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13383 WHERE `entry`=16868 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=16960 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=16961 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=18185 WHERE `entry`=16962 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=16964 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13385 WHERE `entry`=16965 && `patch`=3;
UPDATE `item_template` SET `spellid_2`=13387 WHERE `entry`=17065 && `patch`=2;
-- Wowemu compare
DELETE FROM `item_template` WHERE `entry`=1717 && `patch`=0;
UPDATE `item_template` SET `patch`=0 WHERE `entry`=1717 && `patch`=5;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=2721 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=3386;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (3386, 0, 0, 3, 'Elixir of Poison Resistance', '', 15750, 1, 0, 1, 140, 35, 0, -1, -1, 24, 14, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6513, 0, -1, 0, 0, 79, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (3386, 7, 0, 3, 'Elixir of Poison Resistance', '', 15750, 1, 0, 1, 140, 35, 0, -1, -1, 55, 14, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26677, 0, -1, 0, 0, 79, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
DELETE FROM `item_template` WHERE `entry`=4396;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (4396, 0, 7, 3, 'Mechanical Dragonling', '', 21632, 1, 64, 1, 24000, 6000, 12, -1, -1, 40, 30, 202, 200, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4073, 0, 0, 0, 3600000, 94, 60000, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (4396, 2, 7, 3, 'Mechanical Dragonling', '', 21632, 1, 64, 1, 24000, 6000, 12, -1, -1, 40, 30, 202, 200, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23076, 0, 0, 0, 3600000, 94, 60000, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
UPDATE `item_template` SET `spellid_1`=9343 WHERE `entry`=7054 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=7064 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7687 WHERE `entry`=7513 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=7701 WHERE `entry`=7514 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13595, `spellid_2`=7688, `spellid_3`=7702 WHERE `entry`=7515 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13597, `spellid_2`=9399, `spellid_3`=9402 WHERE `entry`=9517 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=9625 && `patch`=0;
UPDATE `item_template` SET `patch`=0 WHERE `entry`=9625 && `patch`=5;
UPDATE `item_template` SET `spellid_1`=9343 WHERE `entry`=10009 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=12019 WHERE `entry`=10019 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=12019 WHERE `entry`=10021 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17868 WHERE `entry`=10042 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9298 WHERE `entry`=10044 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=10576;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (10576, 0, 7, 3, 'Mithril Mechanical Dragonling', '', 21632, 1, 64, 1, 24000, 6000, 12, -1, -1, 50, 40, 202, 250, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12749, 0, 0, 0, 3600000, 94, 60000, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (10576, 2, 7, 3, 'Mithril Mechanical Dragonling', '', 21632, 1, 64, 1, 24000, 6000, 12, -1, -1, 50, 40, 202, 250, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23075, 0, 0, 0, 3600000, 94, 60000, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
UPDATE `item_template` SET `spellid_1`=13594 WHERE `entry`=11263 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=11310 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=11807 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=11927 && `patch`=0;
UPDATE `item_template` SET `patch`=0 WHERE `entry`=11927 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=11950;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (11950, 0, 0, 0, 'Windblossom Berries', '', 21973, 1, 0, 5, 0, 0, 0, -1, -1, 55, 45, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18234, 0, -1, 0, 0, 11, 1000, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (11950, 7, 0, 0, 'Windblossom Berries', '', 21973, 1, 0, 5, 0, 0, 0, -1, -1, 55, 45, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26030, 0, -1, 0, 0, 11, 1000, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 1);
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=12554 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=12633 && `patch`=0;
UPDATE `item_template` SET `patch`=0 WHERE `entry`=12633 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12641 && `patch`=0;
UPDATE `item_template` SET `patch`=0 WHERE `entry`=12641 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=12926;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (12926, 0, 4, 0, 'Flaming Band', '', 23435, 2, 0, 1, 59630, 14907, 11, -1, -1, 61, 56, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9298, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 5, 0, 3248, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (12926, 8, 4, 0, 'Flaming Band', '', 23435, 3, 0, 1, 59630, 14907, 11, -1, -1, 61, 56, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17866, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 5, 0, 3248, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 1);
DELETE FROM `item_template` WHERE `entry`=12952;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (12952, 0, 4, 4, 'Skull of Gyth', '', 23519, 2, 0, 1, 71682, 14336, 1, -1, -1, 63, 58, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 7, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 685, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 6, 0, 3304, 0, 70, 0, 0, 0, 0, 49, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (12952, 8, 4, 4, 'Gyth\'s Skull', '', 23519, 3, 0, 1, 74307, 14861, 1, -1, -1, 60, 55, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 7, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 509, 0, 0, 0, 0, 0, 0, 18369, 1, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 6, 0, 3304, 0, 80, 0, 0, 0, 0, 49, 0, 0, 0, 0, 1);
DELETE FROM `item_template` WHERE `entry`=12953;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (12953, 0, 4, 3, 'Dragoneye Coif', '', 15327, 2, 0, 1, 107923, 21584, 1, -1, -1, 63, 58, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 7, 15, 6, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 274, 0, 0, 0, 0, 0, 0, 9335, 1, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 5, 0, 3304, 0, 60, 0, 0, 0, 0, 49, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (12953, 8, 4, 3, 'Dragoneye Coif', '', 15327, 3, 0, 1, 111874, 22374, 1, -1, -1, 60, 55, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 7, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 288, 0, 0, 0, 0, 0, 0, 15808, 1, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 5, 0, 3304, 0, 70, 0, 0, 0, 0, 49, 0, 0, 0, 0, 1);
UPDATE `item_template` SET `spellid_1`=9298, `display_id`=22995 WHERE `entry`=13007 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=13830 WHERE `entry`=13369 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=13955 && `patch`=0;
UPDATE `item_template` SET `patch`=0 WHERE `entry`=13955 && `patch`=5;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=13969 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17866 WHERE `entry`=14042 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17867 WHERE `entry`=14045 && `patch`=0;
UPDATE `item_template` SET `buy_price`=103303, `sell_price`=20660 WHERE `entry`=14548 && `patch`=0;
UPDATE `item_template` SET `patch`=2 WHERE `entry`=14548 && `patch`=8;
UPDATE `item_template` SET `spellid_1`=9315 WHERE `entry`=15059 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9315 WHERE `entry`=15060 && `patch`=0;
DELETE FROM `item_template` WHERE `entry`=15709;
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (15709, 0, 4, 4, 'Gearforge Girdle', '', 26437, 2, 0, 1, 36352, 7270, 6, -1, -1, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 16, 3, 4, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 310, 0, 0, 0, 0, 0, 0, 13387, 1, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 6, 0, 0, 0, 40, 0, 0, 0, 0, 10, 0, 0, 0, 0, 1);
INSERT INTO `item_template` (`entry`, `patch`, `class`, `subclass`, `name`, `description`, `display_id`, `quality`, `flags`, `buy_count`, `buy_price`, `sell_price`, `inventory_type`, `allowable_class`, `allowable_race`, `item_level`, `required_level`, `required_skill`, `required_skill_rank`, `required_spell`, `required_honor_rank`, `required_city_rank`, `required_reputation_faction`, `required_reputation_rank`, `max_count`, `stackable`, `container_slots`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `delay`, `range_mod`, `ammo_type`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `block`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmrate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmrate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmrate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmrate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmrate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `page_text`, `page_language`, `page_material`, `start_quest`, `lock_id`, `material`, `sheath`, `random_property`, `set_id`, `max_durability`, `area_bound`, `map_bound`, `duration`, `bag_family`, `disenchant_id`, `food_type`, `min_money_loot`, `max_money_loot`, `extra_flags`, `other_team_entry`) VALUES (15709, 1, 4, 4, 'Gearforge Girdle', '', 26437, 2, 0, 1, 36352, 7270, 6, -1, -1, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 16, 3, 4, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 310, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 6, 0, 0, 0, 40, 0, 0, 0, 0, 10, 0, 0, 0, 0, 1);
UPDATE `item_template` SET `spellid_2`=9401 WHERE `entry`=16796 && `patch` < 2;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=16801 && `patch` < 2;
UPDATE `item_template` SET `spellid_1`=21168 WHERE `entry`=16804 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9401 WHERE `entry`=16805 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=21168 WHERE `entry`=16806 && `patch` < 3;
UPDATE `item_template` SET `spellid_1`=21348 WHERE `entry`=16806 && `patch` IN (3, 4);
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=16807 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=21168 WHERE `entry`=16808 && `patch` < 3;
UPDATE `item_template` SET `spellid_3`=21168 WHERE `entry`=16809 && `patch` < 3;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16814 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=16818 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16830 && `patch` < 2;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16834 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=16844 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16853 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9318 WHERE `entry`=16854 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9318 WHERE `entry`=16899 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=17868 WHERE `entry`=16916 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9298 WHERE `entry`=16917 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16920 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9361 WHERE `entry`=16948 && `patch` < 3;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16954 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16956 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=20969 WHERE `entry`=17743 && `patch`=0;
UPDATE `item_template` SET `spellid_3`=21601 WHERE `entry`=18406;
UPDATE `item_template` SET `spellid_1`=21601 WHERE `entry`=18298 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=20885 WHERE `entry`=18760 && `patch`=2;
-- Other
UPDATE `item_template` SET `spellid_2`=7689 WHERE `entry`=1254 && `patch`=1;
DELETE FROM `item_template` WHERE `entry`=2620 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11904 && `patch`=1;
UPDATE `item_template` SET `patch`=3 WHERE `entry`=11904 && `patch`=2;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=15107 && `patch`=0;
UPDATE `item_template` SET `spellid_2`=9401 WHERE `entry`=16798 && `patch` < 2;
UPDATE `item_template` SET `spellid_1`=9318 WHERE `entry`=16839 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9298 WHERE `entry`=16842 && `patch`=0;
UPDATE `item_template` SET `spellid_1`=9401 WHERE `entry`=16913 && `patch`=0;
UPDATE `item_template` SET `patch`=3 WHERE `entry`=17064 && `patch`=2;
UPDATE `item_template` SET `spellid_1`=9343, `display_id`=30912 WHERE `entry`=18321 && `patch`=1;
UPDATE `item_template` SET `spellid_1`=9315 WHERE `entry`=18389 && `patch`=1;
UPDATE `item_template` SET `patch`=1 WHERE `entry`=15138;
-- Clean duplicate entries.
DELETE FROM `item_template` WHERE `entry`=868 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=873 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=892 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=942 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=943 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=944 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=1484 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=1664 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=1716 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=1720 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=1992 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=1998 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2231 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2271 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2277 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2549 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2564 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2565 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2721 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2816 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2879 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2943 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2944 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=2950 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=3073 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=3075 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=4117 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=4317 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=4319 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=4323 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=4324 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=4329 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=4331 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=5183 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=6898 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7046 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7047 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7049 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7053 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7054 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7060 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7064 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7377 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7553 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7685 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7709 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7721 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7749 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=7757 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=9385 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=9393 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=9405 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=9431 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=9434 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=9470 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=9482 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=9484 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=9607 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=10002 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10003 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10004 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10009 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10018 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10019 && `patch`=1;
DELETE FROM `item_template` WHERE `entry`=10021 && `patch`=1;
DELETE FROM `item_template` WHERE `entry`=10023 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10025 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10028 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10031 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10041 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10042 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10044 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10461 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10502 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10572 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10796 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=10844 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11310 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11726 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=11746 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=11748 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11782 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11807 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11810 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=11819 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11822 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11832 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=11923 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12110 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12113 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12115 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=12256 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12260 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12464 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12543 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12545 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12547 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12550 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=12602 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=12624 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12625 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12632 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12756 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12930 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=12939 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=12985 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=12998 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13001 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13013 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13029 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13031 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13041 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=13049 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=13072 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=13074 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=13091 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=13102 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13170 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13245 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=13253 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13314 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13346 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13349 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13369 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13396 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13863 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13868 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13869 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13870 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13871 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13938 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13954 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13964 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=13969 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14042 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14043 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14044 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14045 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14103 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14106 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14107 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14108 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14111 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14112 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14136 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14152 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14154 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14340 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14552 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=14553 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=14624 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=15047 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=15105 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=15106 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=15107 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=15108 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=15109 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=15413 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=15999 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16796 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16797 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16798 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16801 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16803 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16805 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16806 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16807 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16808 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16809 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16810 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16812 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16814 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16815 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16816 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16817 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16818 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16819 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16828 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16830 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16831 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16835 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16836 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16838 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16839 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16840 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16841 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16842 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16843 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16844 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16853 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16854 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16858 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16862 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16863 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16864 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16865 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16866 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16867 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16868 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16897 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16898 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16899 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16900 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16901 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16903 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16912 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16913 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16914 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16915 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16916 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16917 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16919 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16920 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16922 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16923 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16924 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16925 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16927 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16928 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16929 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16930 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16931 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16934 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16943 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16944 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16945 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16946 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16947 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16948 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16949 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16950 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16954 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16955 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16956 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=16960 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16961 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16962 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16963 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16964 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16965 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=16966 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=17065 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=17721 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=17734 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=17741 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=17743 && `patch`=8;
DELETE FROM `item_template` WHERE `entry`=18082 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18208 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18289 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18298 && `patch`=8;
DELETE FROM `item_template` WHERE `entry`=18301 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18322 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18338 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18351 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18372 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18383 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18385 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18389 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18391 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18396 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18406 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18406 && `patch`=8;
DELETE FROM `item_template` WHERE `entry`=18407 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18408 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18413 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18479 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18493 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18495 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18502 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18503 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18523 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18525 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18527 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18531 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18534 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18546 && `patch`=2;
DELETE FROM `item_template` WHERE `entry`=18547 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=18760 && `patch`=8;
DELETE FROM `item_template` WHERE `entry`=18813 && `patch`=5;
DELETE FROM `item_template` WHERE `entry`=21277 && `patch`=8;
-- End of migration.
END IF;
END??
delimiter ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;