From 153612cab10c07fda019d59269d1831fd83fa113 Mon Sep 17 00:00:00 2001 From: AnonXS Date: Fri, 16 Dec 2022 18:27:36 +0100 Subject: [PATCH] [Custom] Move go casting hack to custom file Based on https://github.com/cmangos/classic-db/commit/1f321a95f63834d6fa39cc4ebce1c1dc8a0a4aec --- Updates/0603_aq_hackfix.sql | 3 +++ utilities/cmangos_custom.sql | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 Updates/0603_aq_hackfix.sql diff --git a/Updates/0603_aq_hackfix.sql b/Updates/0603_aq_hackfix.sql new file mode 100644 index 000000000..2e2d052f6 --- /dev/null +++ b/Updates/0603_aq_hackfix.sql @@ -0,0 +1,3 @@ +-- hack - default data should be 0 +UPDATE gameobject_template SET data3=0 WHERE entry = 180619; + diff --git a/utilities/cmangos_custom.sql b/utilities/cmangos_custom.sql index 2402233e2..0ea602ff9 100644 --- a/utilities/cmangos_custom.sql +++ b/utilities/cmangos_custom.sql @@ -123,6 +123,9 @@ UPDATE gameobject_template SET data1=0 WHERE entry=179004; -- Inconspicuous Landmark 142189 - consumable, despawn on s.11462 expire UPDATE `gameobject_template` SET `data5` = 1 WHERE `entry` = 142189; -- 19660800 / 65536 = 300sec +-- hack - this bypasses despawn prevention due to GO casting a hidden 6 second spell the GO should cast - note will be put down even in core +UPDATE gameobject_template SET data3=65536*6 WHERE entry IN(180619); + -- ------------------------------- -- Item custom changes -- -------------------------------