DB/Spells: Sayge's Carnie Buff & Buffeting Winds of Susurrus

Ref #24663
This commit is contained in:
offl
2021-03-11 18:26:23 +02:00
parent 5325d7e117
commit d6c8359224
3 changed files with 10 additions and 8 deletions

View File

@@ -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;

View File

@@ -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);

View File

@@ -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:
{