fix(Core/Spells): Flame Wave (#19144)
* fix(Core/Spells): Flame Wave * ) * . flamewave faction id https://github.com/TrinityCore/TrinityCore/blame/3365e6a4b84f59cca5f7ef5fca71fb3979697e52/sql/old/9.x/world/21081_2021_10_15/2021_09_29_04_world_2018_06_17_04_world.sql#L46 Co-Authored-By: Carlos Morales <carlos.morales@insmet.cu> * lol --------- Co-authored-by: Carlos Morales <carlos.morales@insmet.cu>
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
-- Flame Wave.
|
||||||
|
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (18975,19740));
|
||||||
|
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`, `event_param6`, `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
|
||||||
|
(18975, 0, 0, 0, 0, 0, 75, 0, 5000, 10000, 15000, 20000, 0, 0, 11, 33804, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Wrathguard - In Combat - Cast \'Flame Wave\''),
|
||||||
|
(19740, 0, 0, 0, 0, 0, 75, 0, 5000, 10000, 15000, 20000, 0, 0, 11, 33804, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Wrathwalker - In Combat - Cast \'Flame Wave\'');
|
||||||
|
|
||||||
|
UPDATE `creature_template` SET `faction` = 90 WHERE (`entry` = 19381);
|
||||||
@@ -4798,6 +4798,14 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->Effects[EFFECT_0].Amplitude = 9000;
|
spellInfo->Effects[EFFECT_0].Amplitude = 9000;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Flame Wave
|
||||||
|
ApplySpellFix({ 33800 }, [](SpellInfo* spellInfo)
|
||||||
|
{
|
||||||
|
spellInfo->Effects[EFFECT_1].Effect = SPELL_EFFECT_APPLY_AURA;
|
||||||
|
spellInfo->Effects[EFFECT_1].ApplyAuraName = SPELL_AURA_PERIODIC_TRIGGER_SPELL;
|
||||||
|
spellInfo->Effects[EFFECT_1].Amplitude = 500;
|
||||||
|
});
|
||||||
|
|
||||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||||
{
|
{
|
||||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user