mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Spell: Move Column of Frost & Mana Void to the cpp
This commit is contained in:
2
sql/updates/world/3.3.5/2019_12_18_01_world.sql
Normal file
2
sql/updates/world/3.3.5/2019_12_18_01_world.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
--
|
||||
UPDATE `creature_template_addon` SET `auras`="" WHERE `entry` IN (37918,30682,20089,38068);
|
||||
@@ -61,6 +61,8 @@ enum Spells
|
||||
SPELL_CLEAR_ALL = 71721,
|
||||
SPELL_AWARD_REPUTATION_BOSS_KILL = 73843,
|
||||
SPELL_CORRUPTION_VALITHRIA = 70904,
|
||||
SPELL_MANA_VOID_AURA = 71085,
|
||||
SPELL_COLUMN_OF_FROST_AURA = 70715,
|
||||
|
||||
// The Lich King
|
||||
SPELL_TIMER_GLUTTONOUS_ABOMINATION = 70915,
|
||||
@@ -743,9 +745,15 @@ class npc_risen_archmage : public CreatureScript
|
||||
void JustSummoned(Creature* summon) override
|
||||
{
|
||||
if (summon->GetEntry() == NPC_COLUMN_OF_FROST)
|
||||
{
|
||||
summon->CastSpell(summon, SPELL_COLUMN_OF_FROST_AURA, true);
|
||||
summon->m_Events.AddEvent(new DelayedCastEvent(summon, SPELL_COLUMN_OF_FROST_DAMAGE, ObjectGuid::Empty, 8000), summon->m_Events.CalculateTime(2000));
|
||||
}
|
||||
else if (summon->GetEntry() == NPC_MANA_VOID)
|
||||
{
|
||||
summon->CastSpell(summon, SPELL_MANA_VOID_AURA, true);
|
||||
summon->DespawnOrUnsummon(36000);
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
|
||||
Reference in New Issue
Block a user