From 9ac16dc2198467f2fd2370119eb9e2d922120787 Mon Sep 17 00:00:00 2001 From: offl Date: Thu, 11 Mar 2021 18:26:23 +0200 Subject: [PATCH] DB/Spells: Sayge's Carnie Buff & Buffeting Winds of Susurrus Ref #24663 (cherry picked from commit d6c83592241e84021e142cd45ed4a6a0b5b7d4d3) --- .../master/2022_03_06_82_world_2021_03_11_05_world.sql | 10 ++++++++++ src/server/game/Spells/Auras/SpellAuras.cpp | 4 ---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 sql/updates/world/master/2022_03_06_82_world_2021_03_11_05_world.sql diff --git a/sql/updates/world/master/2022_03_06_82_world_2021_03_11_05_world.sql b/sql/updates/world/master/2022_03_06_82_world_2021_03_11_05_world.sql new file mode 100644 index 0000000000..cb6ad8713f --- /dev/null +++ b/sql/updates/world/master/2022_03_06_82_world_2021_03_11_05_world.sql @@ -0,0 +1,10 @@ +-- Previously 23770 was used directly(hack), now it will be correctly triggered +UPDATE `smart_scripts` SET `link` = 0 WHERE `entryorguid` = 14822 AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 14822 AND `source_type` = 0 AND `id` = 14; + +-- Otherwise third effect of 30058 will be blocked since player is already on taxi +DELETE FROM `spell_custom_attr` WHERE `entry` = 32474; +INSERT INTO `spell_custom_attr` (`entry`,`attributes`) VALUES +(32474,262144); + +UPDATE `smart_scripts` SET `action_param1` = 30058, `comment` = "Susurrus - On Gossip Option 0 Selected - Cast 'Buffeting Winds of Susurrus'" WHERE `entryorguid` = 17435 AND `source_type` = 0 AND `id` = 0; diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index c8ccd2ec45..003a3da2a6 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1407,10 +1407,6 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b case SPELLFAMILY_GENERIC: switch (GetId()) { - case 32474: // Buffeting Winds of Susurrus - if (target->GetTypeId() == TYPEID_PLAYER) - target->ToPlayer()->ActivateTaxiPathTo(506, GetId()); - break; case 33572: // Gronn Lord's Grasp, becomes stoned if (GetStackAmount() >= 5 && !target->HasAura(33652)) target->CastSpell(target, 33652, CastSpellExtraArgs(TRIGGERED_FULL_MASK)