Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
oculus.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "Vehicle.h"
#include "CombatAI.h"
#include "oculus.h"
#include "Player.h"
Include dependency graph for oculus.cpp:

Go to the source code of this file.

Classes

class  npc_image_belgaristrasz
struct  npc_image_belgaristrasz::npc_image_belgaristraszAI
class  npc_ruby_emerald_amber_drake
struct  npc_ruby_emerald_amber_drake::npc_ruby_emerald_amber_drakeAI
class  npc_verdisa_beglaristrasz_eternos
struct  npc_verdisa_beglaristrasz_eternos::npc_verdisa_beglaristrasz_eternosAI
class  spell_call_ruby_emerald_amber_drake
class  spell_call_ruby_emerald_amber_drake::spell_call_ruby_emerald_amber_drake_SpellScript
class  spell_gen_stop_time
class  spell_gen_stop_time::spell_gen_stop_time_AuraScript
class  spell_oculus_dream_funnel
class  spell_oculus_dream_funnel::spell_oculus_dream_funnel_AuraScript
class  spell_oculus_touch_the_nightmare
class  spell_oculus_touch_the_nightmare::spell_oculus_touch_the_nightmare_SpellScript

Macros

#define GOSSIP_ITEM_BELGARISTRASZ1   "I want to fly on the wings of the Red Flight"
#define GOSSIP_ITEM_BELGARISTRASZ2   "What abilities do Ruby Drakes have?"
#define GOSSIP_ITEM_DRAKES   "So where do we go from here?"
#define GOSSIP_ITEM_ETERNOS1   "I want to fly on the wings of the Bronze Flight"
#define GOSSIP_ITEM_ETERNOS2   "What abilities do Amber Drakes have?"
#define GOSSIP_ITEM_VERDISA1   "I want to fly on the wings of the Green Flight"
#define GOSSIP_ITEM_VERDISA2   "What abilities do Emerald Drakes have?"
#define HAS_ESSENCE(a)

Enumerations

enum  Drakes {
  SPELL_RIDE_RUBY_DRAKE_QUE = 49463 , SPELL_RUBY_DRAKE_SADDLE = 49464 , SPELL_RUBY_SEARING_WRATH = 50232 , SPELL_RUBY_EVASIVE_AURA = 50248 ,
  SPELL_RUBY_EVASIVE_MANEUVERS = 50240 , SPELL_RUBY_MARTYR = 50253 , SPELL_RIDE_AMBER_DRAKE_QUE = 49459 , SPELL_AMBER_DRAKE_SADDLE = 49460 ,
  SPELL_AMBER_SHOCK_LANCE = 49840 , SPELL_AMBER_TEMPORAL_RIFT = 49592 , SPELL_RIDE_EMERALD_DRAKE_QUE = 49427 , SPELL_EMERALD_DRAKE_SADDLE = 49346 ,
  SPELL_EMERALD_LEECHING_POISON = 50328 , SPELL_EMERALD_TOUCH_THE_NIGHTMARE = 50341 , SPELL_EMERALD_DREAM_FUNNEL = 50344
}
enum  GossipNPCs {
  GOSSIP_TEXTID_DRAKES = 13267 , GOSSIP_TEXTID_BELGARISTRASZ1 = 12916 , GOSSIP_TEXTID_BELGARISTRASZ2 = 13466 , GOSSIP_TEXTID_BELGARISTRASZ3 = 13254 ,
  GOSSIP_TEXTID_VERDISA1 = 1 , GOSSIP_TEXTID_VERDISA2 = 1 , GOSSIP_TEXTID_VERDISA3 = 1 , GOSSIP_TEXTID_ETERNOS1 = 1 ,
  GOSSIP_TEXTID_ETERNOS2 = 1 , GOSSIP_TEXTID_ETERNOS3 = 13256 , ITEM_EMERALD_ESSENCE = 37815 , ITEM_AMBER_ESSENCE = 37859 ,
  ITEM_RUBY_ESSENCE = 37860 , SPELL_SHOCK_CHARGE = 49836
}
enum  Says {
  SAY_VAROS = 0 , SAY_UROM = 1 , SAY_BELGARISTRASZ = 0 , SAY_DRAKES_TAKEOFF = 0 ,
  WHISPER_DRAKES_WELCOME = 1 , WHISPER_DRAKES_ABILITIES = 2 , WHISPER_DRAKES_SPECIAL = 3 , WHISPER_DRAKES_LOWHEALTH = 4
}

Functions

void AddSC_oculus ()

Macro Definition Documentation

◆ GOSSIP_ITEM_BELGARISTRASZ1

#define GOSSIP_ITEM_BELGARISTRASZ1   "I want to fly on the wings of the Red Flight"

Definition at line 17 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipSelect().

◆ GOSSIP_ITEM_BELGARISTRASZ2

#define GOSSIP_ITEM_BELGARISTRASZ2   "What abilities do Ruby Drakes have?"

Definition at line 18 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipSelect().

◆ GOSSIP_ITEM_DRAKES

#define GOSSIP_ITEM_DRAKES   "So where do we go from here?"

Definition at line 16 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipHello().

◆ GOSSIP_ITEM_ETERNOS1

#define GOSSIP_ITEM_ETERNOS1   "I want to fly on the wings of the Bronze Flight"

Definition at line 21 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipSelect().

◆ GOSSIP_ITEM_ETERNOS2

#define GOSSIP_ITEM_ETERNOS2   "What abilities do Amber Drakes have?"

Definition at line 22 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipSelect().

◆ GOSSIP_ITEM_VERDISA1

#define GOSSIP_ITEM_VERDISA1   "I want to fly on the wings of the Green Flight"

Definition at line 19 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipSelect().

◆ GOSSIP_ITEM_VERDISA2

#define GOSSIP_ITEM_VERDISA2   "What abilities do Emerald Drakes have?"

Definition at line 20 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipSelect().

◆ HAS_ESSENCE

#define HAS_ESSENCE ( a)
Value:
((a)->HasItemCount(ITEM_EMERALD_ESSENCE) || (a)->HasItemCount(ITEM_AMBER_ESSENCE) || (a)->HasItemCount(ITEM_RUBY_ESSENCE))
@ ITEM_RUBY_ESSENCE
Definition oculus.cpp:41
@ ITEM_EMERALD_ESSENCE
Definition oculus.cpp:39
@ ITEM_AMBER_ESSENCE
Definition oculus.cpp:40

Definition at line 24 of file oculus.cpp.

Referenced by npc_verdisa_beglaristrasz_eternos::OnGossipSelect().

Enumeration Type Documentation

◆ Drakes

enum Drakes
Enumerator
SPELL_RIDE_RUBY_DRAKE_QUE 
SPELL_RUBY_DRAKE_SADDLE 
SPELL_RUBY_SEARING_WRATH 
SPELL_RUBY_EVASIVE_AURA 
SPELL_RUBY_EVASIVE_MANEUVERS 
SPELL_RUBY_MARTYR 
SPELL_RIDE_AMBER_DRAKE_QUE 
SPELL_AMBER_DRAKE_SADDLE 
SPELL_AMBER_SHOCK_LANCE 
SPELL_AMBER_TEMPORAL_RIFT 
SPELL_RIDE_EMERALD_DRAKE_QUE 
SPELL_EMERALD_DRAKE_SADDLE 
SPELL_EMERALD_LEECHING_POISON 
SPELL_EMERALD_TOUCH_THE_NIGHTMARE 
SPELL_EMERALD_DREAM_FUNNEL 

Definition at line 46 of file oculus.cpp.

◆ GossipNPCs

enum GossipNPCs
Enumerator
GOSSIP_TEXTID_DRAKES 
GOSSIP_TEXTID_BELGARISTRASZ1 
GOSSIP_TEXTID_BELGARISTRASZ2 
GOSSIP_TEXTID_BELGARISTRASZ3 
GOSSIP_TEXTID_VERDISA1 
GOSSIP_TEXTID_VERDISA2 
GOSSIP_TEXTID_VERDISA3 
GOSSIP_TEXTID_ETERNOS1 
GOSSIP_TEXTID_ETERNOS2 
GOSSIP_TEXTID_ETERNOS3 
ITEM_EMERALD_ESSENCE 
ITEM_AMBER_ESSENCE 
ITEM_RUBY_ESSENCE 
SPELL_SHOCK_CHARGE 

Definition at line 26 of file oculus.cpp.

◆ Says

enum Says
Enumerator
SAY_VAROS 
SAY_UROM 
SAY_BELGARISTRASZ 
SAY_DRAKES_TAKEOFF 
WHISPER_DRAKES_WELCOME 
WHISPER_DRAKES_ABILITIES 
WHISPER_DRAKES_SPECIAL 
WHISPER_DRAKES_LOWHEALTH 

Definition at line 84 of file oculus.cpp.

Function Documentation

◆ AddSC_oculus()

void AddSC_oculus ( )

Definition at line 568 of file oculus.cpp.

Referenced by AddNorthrendScripts().