AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
oculus.cpp File Reference
#include "oculus.h"
#include "CombatAI.h"
#include "CreatureScript.h"
#include "InstanceScript.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellAuraEffects.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "Vehicle.h"
#include <unordered_map>

Go to the source code of this file.

Classes

class  npc_oculus_drakegiver
 
struct  npc_oculus_drakegiver::npc_oculus_drakegiverAI
 
class  npc_oculus_drake
 
struct  npc_oculus_drake::npc_oculus_drakeAI
 
class  npc_centrifuge_construct
 
struct  npc_centrifuge_construct::npc_centrifuge_constructAI
 
class  spell_oculus_stop_time_aura
 
class  spell_oculus_evasive_maneuvers_aura
 
class  spell_oculus_shock_lance
 
class  spell_oculus_temporal_rift_aura
 
class  spell_oculus_touch_the_nightmare
 
class  spell_oculus_dream_funnel_aura
 
class  spell_oculus_call_ruby_emerald_amber_drake
 
class  spell_oculus_ride_ruby_emerald_amber_drake_que_aura
 
class  spell_oculus_evasive_charges_aura
 
class  spell_oculus_soar_aura
 
class  spell_oculus_rider_aura
 
class  spell_oculus_drake_flag_aura
 

Macros

#define HAS_ESSENCE(a)   ((a)->HasItemCount(ITEM_EMERALD_ESSENCE) || (a)->HasItemCount(ITEM_AMBER_ESSENCE) || (a)->HasItemCount(ITEM_RUBY_ESSENCE))
 

Enumerations

enum  Drakes {
  SPELL_RIDE_RUBY_DRAKE_QUE = 49463 ,
  SPELL_RIDE_AMBER_DRAKE_QUE = 49459 ,
  SPELL_RIDE_EMERALD_DRAKE_QUE = 49427 ,
  SPELL_EMPOWERING_BLOWS = 50044 ,
  H_SPELL_EMPOWERING_BLOWS = 59213 ,
  SPELL_AMBER_SHOCK_CHARGE = 49836 ,
  SPELL_RUBY_EVASIVE_CHARGES = 50241 ,
  SPELL_DRAKE_FLAG_VISUAL = 53797 ,
  SPELL_SOAR_TRIGGER = 50325 ,
  SPELL_SOAR_BUFF = 50024 ,
  SPELL_SCALE_STATS = 66667 ,
  SPELL_RUBY_EVASIVE_AURA = 50248 ,
  SPELL_RUBY_EVASIVE_MANEUVERS = 50240 ,
  POINT_LAND = 2 ,
  POINT_TAKE_OFF = 3
}
 
enum  DrakeGiverTexts {
  GOSSIP_TEXTID_DRAKES = 13267 ,
  GOSSIP_TEXTID_BELGARISTRASZ1 = 12916 ,
  GOSSIP_TEXTID_BELGARISTRASZ2 = 13254 ,
  GOSSIP_TEXTID_VERDISA1 = 12915 ,
  GOSSIP_TEXTID_VERDISA2 = 13466 ,
  GOSSIP_TEXTID_VERDISA3 = 13258 ,
  GOSSIP_TEXTID_ETERNOS1 = 12917 ,
  GOSSIP_TEXTID_ETERNOS2 = 13466 ,
  GOSSIP_TEXTID_ETERNOS3 = 13256
}
 

Functions

void AddSC_oculus ()
 

Macro Definition Documentation

◆ HAS_ESSENCE

#define HAS_ESSENCE (   a)    ((a)->HasItemCount(ITEM_EMERALD_ESSENCE) || (a)->HasItemCount(ITEM_AMBER_ESSENCE) || (a)->HasItemCount(ITEM_RUBY_ESSENCE))

Enumeration Type Documentation

◆ DrakeGiverTexts

Enumerator
GOSSIP_TEXTID_DRAKES 
GOSSIP_TEXTID_BELGARISTRASZ1 
GOSSIP_TEXTID_BELGARISTRASZ2 
GOSSIP_TEXTID_VERDISA1 
GOSSIP_TEXTID_VERDISA2 
GOSSIP_TEXTID_VERDISA3 
GOSSIP_TEXTID_ETERNOS1 
GOSSIP_TEXTID_ETERNOS2 
GOSSIP_TEXTID_ETERNOS3 
61{
71};
@ GOSSIP_TEXTID_BELGARISTRASZ2
Definition: oculus.cpp:64
@ GOSSIP_TEXTID_VERDISA2
Definition: oculus.cpp:66
@ GOSSIP_TEXTID_DRAKES
Definition: oculus.cpp:62
@ GOSSIP_TEXTID_BELGARISTRASZ1
Definition: oculus.cpp:63
@ GOSSIP_TEXTID_VERDISA1
Definition: oculus.cpp:65
@ GOSSIP_TEXTID_ETERNOS2
Definition: oculus.cpp:69
@ GOSSIP_TEXTID_ETERNOS3
Definition: oculus.cpp:70
@ GOSSIP_TEXTID_ETERNOS1
Definition: oculus.cpp:68
@ GOSSIP_TEXTID_VERDISA3
Definition: oculus.cpp:67

◆ Drakes

enum Drakes
Enumerator
SPELL_RIDE_RUBY_DRAKE_QUE 
SPELL_RIDE_AMBER_DRAKE_QUE 
SPELL_RIDE_EMERALD_DRAKE_QUE 
SPELL_EMPOWERING_BLOWS 
H_SPELL_EMPOWERING_BLOWS 
SPELL_AMBER_SHOCK_CHARGE 
SPELL_RUBY_EVASIVE_CHARGES 
SPELL_DRAKE_FLAG_VISUAL 
SPELL_SOAR_TRIGGER 
SPELL_SOAR_BUFF 
SPELL_SCALE_STATS 
SPELL_RUBY_EVASIVE_AURA 
SPELL_RUBY_EVASIVE_MANEUVERS 
POINT_LAND 
POINT_TAKE_OFF 
34{
38
39 // Centrifuge Constructs
42
45
46 // Common Drake
48 SPELL_SOAR_TRIGGER = 50325,
49 SPELL_SOAR_BUFF = 50024,
50 SPELL_SCALE_STATS = 66667,
51 // Ruby Drake
54
55 // Misc
56 POINT_LAND = 2,
58};
@ SPELL_AMBER_SHOCK_CHARGE
Definition: oculus.cpp:43
@ SPELL_DRAKE_FLAG_VISUAL
Definition: oculus.cpp:47
@ SPELL_RUBY_EVASIVE_MANEUVERS
Definition: oculus.cpp:53
@ SPELL_SCALE_STATS
Definition: oculus.cpp:50
@ SPELL_EMPOWERING_BLOWS
Definition: oculus.cpp:40
@ SPELL_RUBY_EVASIVE_AURA
Definition: oculus.cpp:52
@ POINT_TAKE_OFF
Definition: oculus.cpp:57
@ SPELL_RIDE_EMERALD_DRAKE_QUE
Definition: oculus.cpp:37
@ SPELL_RUBY_EVASIVE_CHARGES
Definition: oculus.cpp:44
@ POINT_LAND
Definition: oculus.cpp:56
@ H_SPELL_EMPOWERING_BLOWS
Definition: oculus.cpp:41
@ SPELL_RIDE_AMBER_DRAKE_QUE
Definition: oculus.cpp:36
@ SPELL_SOAR_BUFF
Definition: oculus.cpp:49
@ SPELL_SOAR_TRIGGER
Definition: oculus.cpp:48
@ SPELL_RIDE_RUBY_DRAKE_QUE
Definition: oculus.cpp:35

Function Documentation

◆ AddSC_oculus()

void AddSC_oculus ( )
907{
909 new npc_oculus_drake();
911
924}
#define RegisterSpellScript(spell_script)
Definition: SpellScriptLoader.h:88
Definition: oculus.cpp:76
Definition: oculus.cpp:334
Definition: oculus.cpp:495
Definition: oculus.cpp:536
Definition: oculus.cpp:563
Definition: oculus.cpp:587
Definition: oculus.cpp:616
Definition: oculus.cpp:656
Definition: oculus.cpp:672
Definition: oculus.cpp:726
Definition: oculus.cpp:757
Definition: oculus.cpp:808
Definition: oculus.cpp:876

References RegisterSpellScript.

Referenced by AddNorthrendScripts().