TrinityCore
Loading...
Searching...
No Matches
boss_ossirian.cpp File Reference
#include "ScriptMgr.h"
#include "GameObject.h"
#include "GameObjectAI.h"
#include "InstanceScript.h"
#include "Map.h"
#include "MiscPackets.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ruins_of_ahnqiraj.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "TemporarySummon.h"
#include "Weather.h"
+ Include dependency graph for boss_ossirian.cpp:

Go to the source code of this file.

Classes

class  boss_ossirian
 
struct  boss_ossirian::boss_ossirianAI
 
class  go_ossirian_crystal
 
struct  go_ossirian_crystal::go_ossirian_crystalAI
 

Enumerations

enum  Texts {
  SAY_SUPREME = 0 , SAY_INTRO = 1 , SAY_AGGRO = 2 , SAY_SLAY = 3 ,
  SAY_DEATH = 4
}
 
enum  Spells {
  SPELL_CURSE_OF_TONGUES = 25195 , SPELL_CYCLONE = 25189 , SPELL_SAND_STORM = 25160 , SPELL_STOMP = 25188 ,
  SPELL_SUPREME = 25176 , SPELL_SUMMON = 20477 , SPELL_SUMMON_CRYSTAL = 25192 , SPELL_WEAKNESS_FIRE = 25177 ,
  SPELL_WEAKNESS_FROST = 25178 , SPELL_WEAKNESS_NATURE = 25180 , SPELL_WEAKNESS_ARCANE = 25181 , SPELL_WEAKNESS_SHADOW = 25183
}
 
enum  Actions { ACTION_TRIGGER_WEAKNESS = 1 }
 
enum  Events { EVENT_SILENCE = 1 , EVENT_CYCLONE = 2 , EVENT_STOMP = 3 }
 

Functions

void AddSC_boss_ossirian ()
 

Variables

uint8 const NUM_CRYSTALS = 12
 
Position CrystalCoordinates [NUM_CRYSTALS]
 
float RoomRadius = 165.0f
 
uint8 const NUM_TORNADOS = 5
 
uint8 const NUM_WEAKNESS = 5
 
uint32 const SpellWeakness [NUM_WEAKNESS] = { SPELL_WEAKNESS_FIRE, SPELL_WEAKNESS_FROST, SPELL_WEAKNESS_NATURE, SPELL_WEAKNESS_ARCANE, SPELL_WEAKNESS_SHADOW }
 
Position const RoomCenter = { -9343.041992f, 1923.278198f, 85.555984f, 0.0 }
 

Enumeration Type Documentation

◆ Actions

enum Actions
Enumerator
ACTION_TRIGGER_WEAKNESS 

Definition at line 58 of file boss_ossirian.cpp.

◆ Events

enum Events
Enumerator
EVENT_SILENCE 
EVENT_CYCLONE 
EVENT_STOMP 

Definition at line 63 of file boss_ossirian.cpp.

◆ Spells

enum Spells
Enumerator
SPELL_CURSE_OF_TONGUES 
SPELL_CYCLONE 
SPELL_SAND_STORM 
SPELL_STOMP 
SPELL_SUPREME 
SPELL_SUMMON 
SPELL_SUMMON_CRYSTAL 
SPELL_WEAKNESS_FIRE 
SPELL_WEAKNESS_FROST 
SPELL_WEAKNESS_NATURE 
SPELL_WEAKNESS_ARCANE 
SPELL_WEAKNESS_SHADOW 

Definition at line 41 of file boss_ossirian.cpp.

◆ Texts

enum Texts
Enumerator
SAY_SUPREME 
SAY_INTRO 
SAY_AGGRO 
SAY_SLAY 
SAY_DEATH 

Definition at line 32 of file boss_ossirian.cpp.

Function Documentation

◆ AddSC_boss_ossirian()

void AddSC_boss_ossirian ( )

Definition at line 319 of file boss_ossirian.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ CrystalCoordinates

Position CrystalCoordinates[NUM_CRYSTALS]
Initial value:
=
{
{ -9188.4404296875f, 1940.2099609375f, 85.6390991210937f, 3.17650008201599f },
{ -9244.41015625f, 1808.97998046875f, 85.6390991210937f, 5.63741016387939f },
{ -9248.41015625f, 1974.82995605469f, 85.6390991210937f, 5.89920997619629f },
{ -9282.080078125f, 1887.33996582031f, 85.6390991210937f, 2.00712990760803f },
{ -9299.73046875f, 1748.44995117187f, 85.6390991210937f, 1.44861996173859f },
{ -9357.8603515625f, 1929.07995605469f, 85.6390991210937f, 1.06465005874634f },
{ -9367.169921875f, 1780.89001464844f, 85.6390991210937f, 1.90241003036499f },
{ -9383.2900390625f, 2012.68005371094f, 85.6511001586914f, 2.93214988708496f },
{ -9406.099609375f, 1862.38000488281f, 85.6390991210937f, 6.2308201789856f },
{ -9407.7197265625f, 1960.2099609375f, 85.6390991210937f, 1.11700999736786f },
{ -9432.400390625f, 1782.53002929687f, 85.6390991210937f, 5.86430978775024f },
{ -9506.1904296875f, 1865.56994628906f, 85.6390991210937f, 4.27606010437012f }
}

Definition at line 72 of file boss_ossirian.cpp.

◆ NUM_CRYSTALS

uint8 const NUM_CRYSTALS = 12

Definition at line 70 of file boss_ossirian.cpp.

◆ NUM_TORNADOS

uint8 const NUM_TORNADOS = 5

Definition at line 89 of file boss_ossirian.cpp.

◆ NUM_WEAKNESS

uint8 const NUM_WEAKNESS = 5
Todo:
This number is completly random!

Definition at line 90 of file boss_ossirian.cpp.

◆ RoomCenter

Position const RoomCenter = { -9343.041992f, 1923.278198f, 85.555984f, 0.0 }

Definition at line 92 of file boss_ossirian.cpp.

◆ RoomRadius

float RoomRadius = 165.0f

Definition at line 88 of file boss_ossirian.cpp.

◆ SpellWeakness