aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTartalo <none@none>2010-03-27 22:32:17 +0100
committerTartalo <none@none>2010-03-27 22:32:17 +0100
commit69579e38a5556abbbfa75a0048198f4ea6b177a9 (patch)
treec4fd48a7b981e778ab1e80e4095683e2d5d42e55 /src
parent63bfba39a85821709209cd2fbd26e87de37e7cc6 (diff)
Nexus, The Oculus: Cleanup
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/scripts/northrend/nexus/oculus/boss_drakos.cpp106
-rw-r--r--src/scripts/northrend/nexus/oculus/boss_eregos.cpp76
-rw-r--r--src/scripts/northrend/nexus/oculus/boss_urom.cpp65
-rw-r--r--src/scripts/northrend/nexus/oculus/boss_varos.cpp61
-rw-r--r--src/scripts/northrend/nexus/oculus/instance_oculus.cpp16
5 files changed, 177 insertions, 147 deletions
diff --git a/src/scripts/northrend/nexus/oculus/boss_drakos.cpp b/src/scripts/northrend/nexus/oculus/boss_drakos.cpp
index 7bedc2d5146..44fdb87ece3 100644
--- a/src/scripts/northrend/nexus/oculus/boss_drakos.cpp
+++ b/src/scripts/northrend/nexus/oculus/boss_drakos.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006 - 2010 TrinityCore <http://www.trinitycore.org>
+/* Copyright (C) 2008 - 2010 TrinityCore <http://www.trinitycore.org>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -32,18 +32,18 @@ enum Spells
//not in db
enum Yells
{
- SAY_AGGRO = -1578000,
- SAY_KILL_1 = -1578001,
- SAY_KILL_2 = -1578002,
- SAY_KILL_3 = -1578003,
- SAY_DEATH = -1578004,
- SAY_PULL_1 = -1578005,
- SAY_PULL_2 = -1578006,
- SAY_PULL_3 = -1578007,
- SAY_PULL_4 = -1578008,
- SAY_STOMP_1 = -1578009,
- SAY_STOMP_2 = -1578010,
- SAY_STOMP_3 = -1578011
+ SAY_AGGRO = -1578000,
+ SAY_KILL_1 = -1578001,
+ SAY_KILL_2 = -1578002,
+ SAY_KILL_3 = -1578003,
+ SAY_DEATH = -1578004,
+ SAY_PULL_1 = -1578005,
+ SAY_PULL_2 = -1578006,
+ SAY_PULL_3 = -1578007,
+ SAY_PULL_4 = -1578008,
+ SAY_STOMP_1 = -1578009,
+ SAY_STOMP_2 = -1578010,
+ SAY_STOMP_3 = -1578011
};
struct boss_drakosAI : public ScriptedAI
@@ -53,23 +53,23 @@ struct boss_drakosAI : public ScriptedAI
pInstance = c->GetInstanceData();
}
- uint32 magicPullTimer ;
- uint32 stompTimer ;
- uint32 bombSummonTimer ;
- uint32 postPullTimer ;
- bool isPulling ;
- bool postPull ;
+ uint32 uiMagicPullTimer ;
+ uint32 uiStompTimer ;
+ uint32 uiBombSummonTimer ;
+ uint32 uiPostPullTimer ;
+ bool bIsPulling ;
+ bool bPostPull ;
ScriptedInstance* pInstance;
SummonList lSummons;
void Reset()
{
lSummons.DespawnAll();
- magicPullTimer = urand(12000, 15000);
- stompTimer = urand(3000, 6000);
- bombSummonTimer = 2000;
- postPull = false;
- isPulling = false;
+ uiMagicPullTimer = urand(12*IN_MILISECONDS, 15*IN_MILISECONDS);
+ uiStompTimer = urand(3*IN_MILISECONDS, 6*IN_MILISECONDS);
+ uiBombSummonTimer = 2*IN_MILISECONDS;
+ bPostPull = false;
+ bIsPulling = false;
if (pInstance)
pInstance->SetData(DATA_DRAKOS_EVENT, NOT_STARTED);
}
@@ -92,21 +92,21 @@ struct boss_drakosAI : public ScriptedAI
if (!UpdateVictim())
return;
- if(bombSummonTimer < diff)
+ if(uiBombSummonTimer < diff)
{
- if(postPull)
+ if(bPostPull)
{
m_creature->SummonCreature(NPC_UNSTABLE_SPHERE, m_creature->GetPositionX(), m_creature->GetPositionY(), m_creature->GetPositionZ());
m_creature->SummonCreature(NPC_UNSTABLE_SPHERE, m_creature->GetPositionX(), m_creature->GetPositionY(), m_creature->GetPositionZ());
}
else
m_creature->SummonCreature(NPC_UNSTABLE_SPHERE, m_creature->GetPositionX(), m_creature->GetPositionY(), m_creature->GetPositionZ());
- bombSummonTimer = 2000;
- } else bombSummonTimer -= diff;
+ uiBombSummonTimer = 2*IN_MILISECONDS;
+ } else uiBombSummonTimer -= diff;
- if(magicPullTimer < diff)
+ if(uiMagicPullTimer < diff)
{
- if(isPulling)
+ if(bIsPulling)
{
if (pInstance)
{
@@ -114,33 +114,33 @@ struct boss_drakosAI : public ScriptedAI
for (Map::PlayerList::const_iterator itr = players.begin(); itr != players.end(); ++itr)
DoCast(itr->getSource(), SPELL_MAGIC_PULL_EFFECT, true);
}
- isPulling = false;
- postPull = true;
- postPullTimer = 4000;
- magicPullTimer = urand(15000, 25000);
+ bIsPulling = false;
+ bPostPull = true;
+ uiPostPullTimer = 4*IN_MILISECONDS;
+ uiMagicPullTimer = urand(15*IN_MILISECONDS, 25*IN_MILISECONDS);
}
else
{
DoScriptText(RAND(SAY_PULL_1,SAY_PULL_2,SAY_PULL_3,SAY_PULL_4), m_creature);
DoCast(SPELL_MAGIC_PULL);
- magicPullTimer = 2000;
- isPulling = true;
+ uiMagicPullTimer = 2*IN_MILISECONDS;
+ bIsPulling = true;
}
- } else magicPullTimer -= diff;
+ } else uiMagicPullTimer -= diff;
- if(postPull)
+ if(bPostPull)
{
- if (postPullTimer < diff)
- postPull = false;
- else postPullTimer -= diff;
+ if (uiPostPullTimer < diff)
+ bPostPull = false;
+ else uiPostPullTimer -= diff;
}
- if(stompTimer < diff)
+ if(uiStompTimer < diff)
{
DoScriptText(RAND(SAY_STOMP_1,SAY_STOMP_2,SAY_STOMP_3), m_creature);
DoCast(DUNGEON_MODE(SPELL_THUNDERING_STOMP, SPELL_THUNDERING_STOMP_H));
- stompTimer = urand(15000, 18000);
- } else stompTimer -= diff ;
+ uiStompTimer = urand(15*IN_MILISECONDS, 18*IN_MILISECONDS);
+ } else uiStompTimer -= diff ;
DoMeleeAttackIfReady();
}
@@ -166,8 +166,8 @@ struct npc_unstable_sphereAI : public ScriptedAI
{
npc_unstable_sphereAI(Creature *c) : ScriptedAI(c) {}
- uint32 pulseTimer;
- uint32 deathTimer;
+ uint32 uiPulseTimer;
+ uint32 uiDeathTimer;
void Reset()
{
@@ -177,21 +177,21 @@ struct npc_unstable_sphereAI : public ScriptedAI
m_creature->setFaction(14);
m_creature->AddAura(SPELL_UNSTABLE_SPHERE_PASSIVE, m_creature);
m_creature->AddAura(SPELL_UNSTABLE_SPHERE_TIMER, m_creature);
- pulseTimer = 3000;
- deathTimer = 19000;
+ uiPulseTimer = 3*IN_MILISECONDS;
+ uiDeathTimer = 19*IN_MILISECONDS;
}
void UpdateAI(const uint32 diff)
{
- if(pulseTimer < diff)
+ if(uiPulseTimer < diff)
{
DoCast(SPELL_UNSTABLE_SPHERE_PULSE);
- pulseTimer = 3000;
- } pulseTimer -= diff;
+ uiPulseTimer = 3*IN_MILISECONDS;
+ } else uiPulseTimer -= diff;
- if(deathTimer < diff)
+ if(uiDeathTimer < diff)
m_creature->DisappearAndDie();
- else deathTimer -= diff;
+ else uiDeathTimer -= diff;
}
};
diff --git a/src/scripts/northrend/nexus/oculus/boss_eregos.cpp b/src/scripts/northrend/nexus/oculus/boss_eregos.cpp
index b987f8f2b63..574fa840649 100644
--- a/src/scripts/northrend/nexus/oculus/boss_eregos.cpp
+++ b/src/scripts/northrend/nexus/oculus/boss_eregos.cpp
@@ -1,14 +1,19 @@
-/* Script Data Start
-SDName: Boss eregos
-SDAuthor: LordVanMartin
-SD%Complete:
-SDComment: Encounter is done entirely on drake vehicles
-SDCategory:
-Script Data End */
+/* Copyright (C) 2008 - 2010 TrinityCore <http://www.trinitycore.org>
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
-/*** SQL START ***
-update creature_template set scriptname = '' where entry = '';
-*** SQL END ***/
#include "ScriptedPch.h"
#include "oculus.h"
@@ -17,14 +22,13 @@ update creature_template set scriptname = '' where entry = '';
enum Spells
{
- SPELL_ARCANE_BARRAGE = 50804,
- SPELL_ARCANE_VOLLEY = 51153,
- SPELL_ENRAGED_ASSAULT = 51170,
- SPELL_PLANAR_ANOMALIES = 57959,
- SPELL_PLANAR_SHIFT = 51162,
- //Heroic
- H_SPELL_ARCANE_BARRAGE = 59381,
- H_SPELL_ARCANE_VOLLEY = 59382
+ SPELL_ARCANE_BARRAGE = 50804,
+ H_SPELL_ARCANE_BARRAGE = 59381,
+ SPELL_ARCANE_VOLLEY = 51153,
+ H_SPELL_ARCANE_VOLLEY = 59382
+ SPELL_ENRAGED_ASSAULT = 51170,
+ SPELL_PLANAR_ANOMALIES = 57959,
+ SPELL_PLANAR_SHIFT = 51162,
};
/*Ruby Drake ,
(npc 27756) (item 37860)
@@ -32,14 +36,14 @@ enum Spells
*/
enum RubyDrake
{
- NPC_RUBY_DRAKE_VEHICLE = 27756,
- SPELL_RIDE_RUBY_DRAKE_QUE = 49463, //Apply Aura: Periodic Trigger, Interval: 3 seconds ---> 49464
- SPELL_RUBY_DRAKE_SADDLE = 49464, //Allows you to ride on the back of an Amber Drake. ---> Dummy
- SPELL_RUBY_SEARING_WRATH = 50232, //(60 yds) - Instant - Breathes a stream of fire at an enemy dragon, dealing 6800 to 9200 Fire damage and then jumping to additional dragons within 30 yards. Each jump increases the damage by 50%. Affects up to 5 total targets
- SPELL_RUBY_EVASIVE_AURA = 50248, //Instant - Allows the Ruby Drake to generate Evasive Charges when hit by hostile attacks and spells.
- SPELL_RUBY_EVASIVE_MANEUVERS = 50240, //Instant - 5 sec. cooldown - Allows your drake to dodge all incoming attacks and spells. Requires Evasive Charges to use. Each attack or spell dodged while this ability is active burns one Evasive Charge. Lasts 30 sec. or until all charges are exhausted.
+ NPC_RUBY_DRAKE_VEHICLE = 27756,
+ SPELL_RIDE_RUBY_DRAKE_QUE = 49463, //Apply Aura: Periodic Trigger, Interval: 3 seconds ---> 49464
+ SPELL_RUBY_DRAKE_SADDLE = 49464, //Allows you to ride on the back of an Amber Drake. ---> Dummy
+ SPELL_RUBY_SEARING_WRATH = 50232, //(60 yds) - Instant - Breathes a stream of fire at an enemy dragon, dealing 6800 to 9200 Fire damage and then jumping to additional dragons within 30 yards. Each jump increases the damage by 50%. Affects up to 5 total targets
+ SPELL_RUBY_EVASIVE_AURA = 50248, //Instant - Allows the Ruby Drake to generate Evasive Charges when hit by hostile attacks and spells.
+ SPELL_RUBY_EVASIVE_MANEUVERS = 50240, //Instant - 5 sec. cooldown - Allows your drake to dodge all incoming attacks and spells. Requires Evasive Charges to use. Each attack or spell dodged while this ability is active burns one Evasive Charge. Lasts 30 sec. or until all charges are exhausted.
//you do not have acces to until you kill Mage-Lord Urom
- SPELL_RUBY_MARTYR = 50253 //Instant - 10 sec. cooldown - Redirect all harmful spells cast at friendly drakes to yourself for 10 sec.
+ SPELL_RUBY_MARTYR = 50253 //Instant - 10 sec. cooldown - Redirect all harmful spells cast at friendly drakes to yourself for 10 sec.
};
/*Amber Drake,
(npc 27755) (item 37859)
@@ -47,13 +51,13 @@ enum RubyDrake
*/
enum AmberDrake
{
- NPC_AMBER_DRAKE_VEHICLE = 27755,
- SPELL_RIDE_AMBER_DRAKE_QUE = 49459, //Apply Aura: Periodic Trigger, Interval: 3 seconds ---> 49460
- SPELL_AMBER_DRAKE_SADDLE = 49460, //Allows you to ride on the back of an Amber Drake. ---> Dummy
- SPELL_AMBER_SHOCK_LANCE = 49840, //(60 yds) - Instant - Deals 4822 to 5602 Arcane damage and detonates all Shock Charges on an enemy dragon. Damage is increased by 6525 for each detonated.
+ NPC_AMBER_DRAKE_VEHICLE = 27755,
+ SPELL_RIDE_AMBER_DRAKE_QUE = 49459, //Apply Aura: Periodic Trigger, Interval: 3 seconds ---> 49460
+ SPELL_AMBER_DRAKE_SADDLE = 49460, //Allows you to ride on the back of an Amber Drake. ---> Dummy
+ SPELL_AMBER_SHOCK_LANCE = 49840, //(60 yds) - Instant - Deals 4822 to 5602 Arcane damage and detonates all Shock Charges on an enemy dragon. Damage is increased by 6525 for each detonated.
// SPELL_AMBER_STOP_TIME //Instant - 1 min cooldown - Halts the passage of time, freezing all enemy dragons in place for 10 sec. This attack applies 5 Shock Charges to each affected target.
//you do not have access to until you kill the Mage-Lord Urom.
- SPELL_AMBER_TEMPORAL_RIFT = 49592 //(60 yds) - Channeled - Channels a temporal rift on an enemy dragon for 10 sec. While trapped in the rift, all damage done to the target is increased by 100%. In addition, for every 15,000 damage done to a target affected by Temporal Rift, 1 Shock Charge is generated.
+ SPELL_AMBER_TEMPORAL_RIFT = 49592 //(60 yds) - Channeled - Channels a temporal rift on an enemy dragon for 10 sec. While trapped in the rift, all damage done to the target is increased by 100%. In addition, for every 15,000 damage done to a target affected by Temporal Rift, 1 Shock Charge is generated.
};
/*Emerald Drake,
(npc 27692) (item 37815),
@@ -61,13 +65,13 @@ enum AmberDrake
*/
enum EmeraldDrake
{
- NPC_EMERALD_DRAKE_VEHICLE = 27692,
- SPELL_RIDE_EMERALD_DRAKE_QUE = 49427, //Apply Aura: Periodic Trigger, Interval: 3 seconds ---> 49346
- SPELL_EMERALD_DRAKE_SADDLE = 49346, //Allows you to ride on the back of an Amber Drake. ---> Dummy
- SPELL_EMERALD_LEECHING_POISON = 50328, //(60 yds) - Instant - Poisons the enemy dragon, leeching 1300 to the caster every 2 sec. for 12 sec. Stacks up to 3 times.
- SPELL_EMERALD_TOUCH_THE_NIGHTMARE = 50341, //(60 yds) - Instant - Consumes 30% of the caster's max health to inflict 25,000 nature damage to an enemy dragon and reduce the damage it deals by 25% for 30 sec.
+ NPC_EMERALD_DRAKE_VEHICLE = 27692,
+ SPELL_RIDE_EMERALD_DRAKE_QUE = 49427, //Apply Aura: Periodic Trigger, Interval: 3 seconds ---> 49346
+ SPELL_EMERALD_DRAKE_SADDLE = 49346, //Allows you to ride on the back of an Amber Drake. ---> Dummy
+ SPELL_EMERALD_LEECHING_POISON = 50328, //(60 yds) - Instant - Poisons the enemy dragon, leeching 1300 to the caster every 2 sec. for 12 sec. Stacks up to 3 times.
+ SPELL_EMERALD_TOUCH_THE_NIGHTMARE = 50341, //(60 yds) - Instant - Consumes 30% of the caster's max health to inflict 25,000 nature damage to an enemy dragon and reduce the damage it deals by 25% for 30 sec.
// you do not have access to until you kill the Mage-Lord Urom
- SPELL_EMERALD_DREAM_FUNNEL = 50344 //(60 yds) - Channeled - Transfers 5% of the caster's max health to a friendly drake every second for 10 seconds as long as the caster channels.
+ SPELL_EMERALD_DREAM_FUNNEL = 50344 //(60 yds) - Channeled - Transfers 5% of the caster's max health to a friendly drake every second for 10 seconds as long as the caster channels.
};
struct boss_eregosAI : public ScriptedAI
diff --git a/src/scripts/northrend/nexus/oculus/boss_urom.cpp b/src/scripts/northrend/nexus/oculus/boss_urom.cpp
index 9d445cff68a..479fc685f73 100644
--- a/src/scripts/northrend/nexus/oculus/boss_urom.cpp
+++ b/src/scripts/northrend/nexus/oculus/boss_urom.cpp
@@ -1,43 +1,48 @@
-/* Script Data Start
-SDName: Boss urom
-SDAuthor: LordVanMartin
-SD%Complete: 1%
-SDComment:
-SDCategory:
-Script Data End */
+/* Copyright (C) 2008 - 2010 TrinityCore <http://www.trinitycore.org>
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
-/*** SQL START ***
-update creature_template set scriptname = '' where entry = '';
-*** SQL END ***/
#include "ScriptedPch.h"
#include "oculus.h"
enum Spells
{
- SPELL_ARCANE_SHIELD = 53813, //Dummy --> Channeled, shields the caster from damage.
- SPELL_EMPOWERED_ARCANE_EXPLOSION = 51110,
- SPELL_EMPOWERED_ARCANE_EXPLOSION_2 = 59377,
- SPELL_FROSTBOMB = 51103, //Urom throws a bomb, hitting its target with the highest aggro which inflict directly 650 frost damage and drops a frost zone on the ground. This zone deals 650 frost damage per second and reduce the movement speed by 35%. Lasts 1 minute.
- SPELL_SUMMON_MENAGERIE = 50476, //Summons an assortment of creatures and teleports the caster to safety.
- SPELL_SUMMON_MENAGERIE_2 = 50495,
- SPELL_SUMMON_MENAGERIE_3 = 50496,
- SPELL_TELEPORT = 51112, //Teleports to the center of Oculus
- SPELL_TIME_BOMB = 51121, //Deals arcane damage to a random player, and after 6 seconds, deals zone damage to nearby equal to the health missing of the target afflicted by the debuff.
- SPELL_TIME_BOMB_2 = 59376
+ SPELL_ARCANE_SHIELD = 53813, //Dummy --> Channeled, shields the caster from damage.
+ SPELL_EMPOWERED_ARCANE_EXPLOSION = 51110,
+ SPELL_EMPOWERED_ARCANE_EXPLOSION_2 = 59377,
+ SPELL_FROSTBOMB = 51103, //Urom throws a bomb, hitting its target with the highest aggro which inflict directly 650 frost damage and drops a frost zone on the ground. This zone deals 650 frost damage per second and reduce the movement speed by 35%. Lasts 1 minute.
+ SPELL_SUMMON_MENAGERIE = 50476, //Summons an assortment of creatures and teleports the caster to safety.
+ SPELL_SUMMON_MENAGERIE_2 = 50495,
+ SPELL_SUMMON_MENAGERIE_3 = 50496,
+ SPELL_TELEPORT = 51112, //Teleports to the center of Oculus
+ SPELL_TIME_BOMB = 51121, //Deals arcane damage to a random player, and after 6 seconds, deals zone damage to nearby equal to the health missing of the target afflicted by the debuff.
+ SPELL_TIME_BOMB_2 = 59376
};
//not in db
enum Yells
{
- SAY_AGGRO = -1578012,
- SAY_KILL_1 = -1578013,
- SAY_KILL_2 = -1578014,
- SAY_KILL_3 = -1578015,
- SAY_DEATH = -1578016,
- SAY_EXPLOSION_1 = -1578017,
- SAY_EXPLOSION_2 = -1578018,
- SAY_SUMMON_1 = -1578019,
- SAY_SUMMON_2 = -1578020,
- SAY_SUMMON_3 = -1578021
+ SAY_AGGRO = -1578012,
+ SAY_KILL_1 = -1578013,
+ SAY_KILL_2 = -1578014,
+ SAY_KILL_3 = -1578015,
+ SAY_DEATH = -1578016,
+ SAY_EXPLOSION_1 = -1578017,
+ SAY_EXPLOSION_2 = -1578018,
+ SAY_SUMMON_1 = -1578019,
+ SAY_SUMMON_2 = -1578020,
+ SAY_SUMMON_3 = -1578021
};
struct boss_uromAI : public ScriptedAI
diff --git a/src/scripts/northrend/nexus/oculus/boss_varos.cpp b/src/scripts/northrend/nexus/oculus/boss_varos.cpp
index 47df963ae72..e3ef3a477dc 100644
--- a/src/scripts/northrend/nexus/oculus/boss_varos.cpp
+++ b/src/scripts/northrend/nexus/oculus/boss_varos.cpp
@@ -1,41 +1,46 @@
-/* Script Data Start
-SDName: Boss varos
-SDAuthor: LordVanMartin
-SD%Complete:
-SDComment:
-SDCategory:
-Script Data End */
+/* Copyright (C) 2008 - 2010 TrinityCore <http://www.trinitycore.org>
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
-/*** SQL START ***
-update creature_template set scriptname = '' where entry = '';
-*** SQL END ***/
#include "ScriptedPch.h"
#include "oculus.h"
enum Spells
{
- SPELL_ENERGIZE_CORES = 50785, //Damage 5938 to 6562, effec2 Triggers 54069, effect3 Triggers 56251
- SPELL_ENERGIZE_CORES_TRIGGER_1 = 54069,
- SPELL_ENERGIZE_CORES_TRIGGER_2 = 56251,
- SPELL_ENERGIZE_CORES_2 = 59372, //Damage 9025 to 9975, effect2 Triggers 54069, effect 56251
- SPELL_CALL_AZURE_RING_CAPTAIN = 51002, //Effect Send Event (12229)
- SPELL_CALL_AZURE_RING_CAPTAIN_2 = 51006, //Effect Send Event (10665)
- SPELL_CALL_AZURE_RING_CAPTAIN_3 = 51007, //Effect Send Event (18454)
- SPELL_CALL_AZURE_RING_CAPTAIN_4 = 51008, //Effect Send Event (18455)
- SPELL_CALL_AMPLIFY_MAGIC = 51054,
- SPELL_CALL_AMPLIFY_MAGIC_2 = 59371
+ SPELL_ENERGIZE_CORES = 50785, //Damage 5938 to 6562, effec2 Triggers 54069, effect3 Triggers 56251
+ SPELL_ENERGIZE_CORES_TRIGGER_1 = 54069,
+ SPELL_ENERGIZE_CORES_TRIGGER_2 = 56251,
+ SPELL_ENERGIZE_CORES_2 = 59372, //Damage 9025 to 9975, effect2 Triggers 54069, effect 56251
+ SPELL_CALL_AZURE_RING_CAPTAIN = 51002, //Effect Send Event (12229)
+ SPELL_CALL_AZURE_RING_CAPTAIN_2 = 51006, //Effect Send Event (10665)
+ SPELL_CALL_AZURE_RING_CAPTAIN_3 = 51007, //Effect Send Event (18454)
+ SPELL_CALL_AZURE_RING_CAPTAIN_4 = 51008, //Effect Send Event (18455)
+ SPELL_CALL_AMPLIFY_MAGIC = 51054,
+ SPELL_CALL_AMPLIFY_MAGIC_2 = 59371
};
//not in db
enum Yells
{
- SAY_AGGRO = -1578022,
- SAY_KILL_1 = -1578023,
- SAY_KILL_2 = -1578024,
- SAY_DEATH = -1578025,
- SAY_STRIKE_1 = -1578026,
- SAY_STRIKE_2 = -1578027,
- SAY_STRIKE_3 = -1578028,
- SAY_SPAWN = -1578029
+ SAY_AGGRO = -1578022,
+ SAY_KILL_1 = -1578023,
+ SAY_KILL_2 = -1578024,
+ SAY_DEATH = -1578025,
+ SAY_STRIKE_1 = -1578026,
+ SAY_STRIKE_2 = -1578027,
+ SAY_STRIKE_3 = -1578028,
+ SAY_SPAWN = -1578029
};
struct boss_varosAI : public ScriptedAI
diff --git a/src/scripts/northrend/nexus/oculus/instance_oculus.cpp b/src/scripts/northrend/nexus/oculus/instance_oculus.cpp
index d17e1cd4610..e5328538b3b 100644
--- a/src/scripts/northrend/nexus/oculus/instance_oculus.cpp
+++ b/src/scripts/northrend/nexus/oculus/instance_oculus.cpp
@@ -1,3 +1,19 @@
+/* Copyright (C) 2008 - 2010 TrinityCore <http://www.trinitycore.org>
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
#include "ScriptedPch.h"
#include "oculus.h"