mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Creature/Script: Toravon Frozen Orb Stalker
This commit is contained in:
3
sql/updates/world/3.3.5/2019_12_20_00_world.sql
Normal file
3
sql/updates/world/3.3.5/2019_12_20_00_world.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
--
|
||||
UPDATE `creature_template_addon` SET `auras`="" WHERE `entry` IN (38461);
|
||||
UPDATE `creature_template` SET `ScriptName`="npc_frozen_orb_stalker" WHERE `entry` IN (38461);
|
||||
@@ -36,7 +36,10 @@ enum Spells
|
||||
|
||||
// Frost Warder
|
||||
SPELL_FROST_BLAST = 72123, // don't know cd... using 20 secs.
|
||||
SPELL_FROZEN_MALLET_2 = 72122
|
||||
SPELL_FROZEN_MALLET_2 = 72122,
|
||||
|
||||
// Frozen Orb Stalker
|
||||
FROZEN_ORB_STALKER_AURA = 72094
|
||||
};
|
||||
|
||||
enum Events
|
||||
@@ -104,6 +107,20 @@ struct boss_toravon : public BossAI
|
||||
}
|
||||
};
|
||||
|
||||
struct npc_frozen_orb_stalker : public ScriptedAI
|
||||
{
|
||||
npc_frozen_orb_stalker(Creature* creature) : ScriptedAI(creature) { }
|
||||
|
||||
void Reset() override
|
||||
{
|
||||
_events.Reset();
|
||||
DoCastSelf(FROZEN_ORB_STALKER_AURA);
|
||||
}
|
||||
|
||||
private:
|
||||
EventMap _events;
|
||||
};
|
||||
|
||||
struct npc_frost_warder : public ScriptedAI
|
||||
{
|
||||
npc_frost_warder(Creature* creature) : ScriptedAI(creature) { }
|
||||
@@ -199,6 +216,7 @@ void AddSC_boss_toravon()
|
||||
{
|
||||
RegisterVaultOfArchavonCreatureAI(boss_toravon);
|
||||
RegisterVaultOfArchavonCreatureAI(npc_frost_warder);
|
||||
RegisterVaultOfArchavonCreatureAI(npc_frozen_orb_stalker);
|
||||
RegisterVaultOfArchavonCreatureAI(npc_frozen_orb);
|
||||
RegisterSpellScript(spell_toravon_random_aggro);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user