diff options
| author | offl <offl@users.noreply.github.com> | 2021-03-11 18:26:23 +0200 |
|---|---|---|
| committer | offl <offl@users.noreply.github.com> | 2021-03-11 18:26:23 +0200 |
| commit | d6c83592241e84021e142cd45ed4a6a0b5b7d4d3 (patch) | |
| tree | f1c22aa14fd61da1dc6236683e9a2408717fcbb0 | |
| parent | 5325d7e117566129defcdec83b3895d7c5da2ca2 (diff) | |
DB/Spells: Sayge's Carnie Buff & Buffeting Winds of Susurrus
Ref #24663
| -rw-r--r-- | sql/updates/world/3.3.5/2021_03_11_05_world.sql | 10 | ||||
| -rw-r--r-- | src/server/game/Spells/Auras/SpellAuras.cpp | 4 | ||||
| -rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 4 |
3 files changed, 10 insertions, 8 deletions
diff --git a/sql/updates/world/3.3.5/2021_03_11_05_world.sql b/sql/updates/world/3.3.5/2021_03_11_05_world.sql new file mode 100644 index 00000000000..cb6ad8713f4 --- /dev/null +++ b/sql/updates/world/3.3.5/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 7b7673a16a5..0e10c5fa6f8 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1381,10 +1381,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, true); diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 2d015dd61fe..23af38a2a4d 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -755,10 +755,6 @@ void Spell::EffectTriggerSpell(SpellEffIndex effIndex) unitTarget->CastSpell(unitTarget, 7870, true); return; } - // just skip - case 23770: // Sayge's Dark Fortune of * - // not exist, common cooldown can be implemented in scripts if need. - return; // Brittle Armor - (need add max stack of 24575 Brittle Armor) case 29284: { |
