aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2021-05-20 21:21:23 +0300
committerShauren <shauren.trinity@gmail.com>2022-03-10 20:44:40 +0100
commitbe901660285d21aa98054705753d131a799b7ac3 (patch)
tree6f55410f92f871f9d951ea39ef140af5fce69a8d
parent12f9ec0994a1ee354a6b56af141e3a2dcd268d7f (diff)
DB/GameObject: Make Enchanted Anvil work as forge too
Closes #25746 One object can be spellfocus only for one spell type(cooking fire, forge, anvil). However sometimes object is a cooking fire but you can smelt at it. There are no other objects in sniffs in those cases. My best guess those objects are indeed spawned but somehow hidden from client or objects like Enchanted Anvil somehow works as both anvil and forge at the same time. Objects with invisible model(such as the one I added) are shown in sniffs but not in case of Enchanted Anvil (cherry picked from commit 46d3c651a5ff4e96fc41700006a9854f90a90d63)
-rw-r--r--sql/updates/world/master/2022_03_10_12_world_2021_05_20_03_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_10_12_world_2021_05_20_03_world.sql b/sql/updates/world/master/2022_03_10_12_world_2021_05_20_03_world.sql
new file mode 100644
index 00000000000..a4b2f360137
--- /dev/null
+++ b/sql/updates/world/master/2022_03_10_12_world_2021_05_20_03_world.sql
@@ -0,0 +1,4 @@
+--
+DELETE FROM `gameobject` WHERE `guid` = 30031 AND `id` = 4090;
+INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES
+(30031,4090,571,0,0,'0',0,5919.97,692.543,642.482,2.67735,0,0,0.973181,0.230042,300,100,1,"",-1);