From 2fd97d1c32e60dd8c27622e00df7ab14409eb4ec Mon Sep 17 00:00:00 2001 From: "@cgrahamseven" Date: Sat, 26 Oct 2024 23:01:00 -0500 Subject: [PATCH] fix(DB/Creature): Add STATE_WORK_MINING emote to certain iron rune laborers (#20297) On live servers, the iron rune laborers in the quarry are mining, not standing still. This change adds the mining emote. Closes AzerothCore issue #20296 Co-authored-by: cgrahamseven --- .../rev_1729898849364366600.sql | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1729898849364366600.sql diff --git a/data/sql/updates/pending_db_world/rev_1729898849364366600.sql b/data/sql/updates/pending_db_world/rev_1729898849364366600.sql new file mode 100644 index 000000000..c3160f9c2 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1729898849364366600.sql @@ -0,0 +1,26 @@ +-- Remove Iron Rune Laborers from creature_addon +DELETE FROM `creature_addon` +WHERE `guid` IN ( + 110933, 110859, 110843, 110890, 110842, 110913, + 110840, 110858, 110869, 110928, 110889, 110845, + 110846, 110850, 110857, 110870 +); +-- Add mining emote for Iron Rune Laborers in creature_addon +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) +VALUES +(110933, 0, 0, 0, 1, 233, 0, NULL), +(110859, 0, 0, 0, 1, 233, 0, NULL), +(110843, 0, 0, 0, 1, 233, 0, NULL), +(110890, 0, 0, 0, 1, 233, 0, NULL), +(110842, 0, 0, 0, 1, 233, 0, NULL), +(110913, 0, 0, 0, 1, 233, 0, NULL), +(110840, 0, 0, 0, 1, 233, 0, NULL), +(110858, 0, 0, 0, 1, 233, 0, NULL), +(110869, 0, 0, 0, 1, 233, 0, NULL), +(110928, 0, 0, 0, 1, 233, 0, NULL), +(110889, 0, 0, 0, 1, 233, 0, NULL), +(110845, 0, 0, 0, 1, 233, 0, NULL), +(110846, 0, 0, 0, 1, 233, 0, NULL), +(110850, 0, 0, 0, 1, 233, 0, NULL), +(110857, 0, 0, 0, 1, 233, 0, NULL), +(110870, 0, 0, 0, 1, 233, 0, NULL);