From 1de5f34bc72d7de5e006bd6a03f5cdf44dcd9a98 Mon Sep 17 00:00:00 2001 From: Selyria Date: Sat, 23 Apr 2022 16:20:37 +0200 Subject: [PATCH] fix(DB/Quest): Redemption Text and Animation Missing (#11400) * closes https://github.com/azerothcore/azerothcore-wotlk/issues/10649 --- .../rev_1649949817142190900.sql | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1649949817142190900.sql diff --git a/data/sql/updates/pending_db_world/rev_1649949817142190900.sql b/data/sql/updates/pending_db_world/rev_1649949817142190900.sql new file mode 100644 index 000000000..f1d770895 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1649949817142190900.sql @@ -0,0 +1,29 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1649949817142190900'); + +UPDATE `creature_template` SET `speed_walk` = 0.666668, `speed_run` = 1.42857, `unit_flags2` = 0 WHERE `entry` = 17542; +UPDATE `creature_template_addon` SET `bytes1` = 7, `auras` = '' WHERE `entry` = 17542; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 17542 AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1754200 AND `source_type` = 9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(17542,0,0,0,8,0,100,1,8593,0,0,0,0,80,1754200,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Spellhit 'Symbol of Life' - Run Script (No Repeat)"), +(17542,0,1,0,40,0,100,0,4,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Waypoint 4 Reached - Despawn Instant"), + +(1754200,9,0,0,0,0,100,0,0,0,0,0,0,91,7,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Script - Remove Flag Standstate Dead"), +(1754200,9,1,0,0,0,100,0,0,0,0,0,0,11,25155,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Script - Cast 'Quest - Self Healing from resurrect'"), +(1754200,9,2,0,0,0,100,0,0,0,0,0,0,33,17542,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Script - Quest Credit 'Redemption'"), +(1754200,9,3,0,0,0,100,0,2000,2000,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Script - Set Orientation Invoker"), +(1754200,9,4,0,0,0,100,0,0,0,0,0,0,1,0,0,1,0,0,0,7,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Script - Say Line 0"), +(1754200,9,5,0,0,0,100,0,6000,6000,0,0,0,1,1,0,1,0,0,0,7,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Script - Say Line 1"), +(1754200,9,6,0,0,0,100,0,0,0,0,0,0,53,1,17542,0,0,0,3,1,0,0,0,0,0,0,0,0,"Young Furbolg Shaman - On Script - Start Waypoint"); + +DELETE FROM `waypoints` WHERE `entry` = 17542; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`point_comment`) VALUES +(17542,1,-2444.689,-12207.18,32.8721,0,0,"Young Furbolg Shaman"), +(17542,2,-2443.185,-12220.92,31.8721,0,0,"Young Furbolg Shaman"), +(17542,3,-2435.321,-12240.7,32.0348,0,0,"Young Furbolg Shaman"), +(17542,4,-2423.951,-12278.52,27.72987,0,0,"Young Furbolg Shaman"); + +DELETE FROM `creature_text` WHERE `CreatureID` = 17542; +INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES +(17542,0,0,"%s stares at you in sheer wonderment.",16,0,100,0,0,0,14109,0,"Young Furbolg Shaman"), +(17542,1,0,"I run now!",12,0,100,0,0,0,14110,0,"Young Furbolg Shaman");