Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
boss_ossirian.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ruins_of_ahnqiraj.h"
#include "Player.h"
#include "SpellInfo.h"
#include "WorldPacket.h"
#include "Opcodes.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

Enumerations

enum  Actions { ACTION_TRIGGER_WEAKNESS = 1 }
enum  Events { EVENT_SILENCE = 1 , EVENT_CYCLONE = 2 , EVENT_STOMP = 3 }
enum  Spells {
  SPELL_SILENCE = 25195 , SPELL_CYCLONE = 25189 , SPELL_STOMP = 25188 , SPELL_SUPREME = 25176 ,
  SPELL_SUMMON = 20477 , SPELL_SAND_STORM = 25160 , SPELL_SUMMON_CRYSTAL = 25192
}
enum  Texts {
  SAY_SUPREME = 0 , SAY_INTRO = 1 , SAY_AGGRO = 2 , SAY_SLAY = 3 ,
  SAY_DEATH = 4
}

Functions

void AddSC_boss_ossirian ()

Variables

Position CrystalCoordinates [NUM_CRYSTALS]
uint8 const NUM_CRYSTALS = 9
uint8 const NUM_TORNADOS = 5
uint8 const NUM_WEAKNESS = 5
Position const RoomCenter = { -9343.041992f, 1923.278198f, 85.555984f, 0.0 }
float RoomRadius = 165.0f
uint32 const SpellWeakness [NUM_WEAKNESS] = { 25177, 25178, 25180, 25181, 25183 }

Enumeration Type Documentation

◆ Actions

enum Actions
Enumerator
ACTION_TRIGGER_WEAKNESS 

Definition at line 34 of file boss_ossirian.cpp.

◆ Events

enum Events
Enumerator
EVENT_SILENCE 
EVENT_CYCLONE 
EVENT_STOMP 

Definition at line 39 of file boss_ossirian.cpp.

◆ Spells

enum Spells
Enumerator
SPELL_SILENCE 
SPELL_CYCLONE 
SPELL_STOMP 
SPELL_SUPREME 
SPELL_SUMMON 
SPELL_SAND_STORM 
SPELL_SUMMON_CRYSTAL 

Definition at line 23 of file boss_ossirian.cpp.

◆ Texts

enum Texts
Enumerator
SAY_SUPREME 
SAY_INTRO 
SAY_AGGRO 
SAY_SLAY 
SAY_DEATH 

Definition at line 14 of file boss_ossirian.cpp.

Function Documentation

◆ AddSC_boss_ossirian()

void AddSC_boss_ossirian ( )

Definition at line 291 of file boss_ossirian.cpp.

Referenced by AddKalimdorScripts().

Variable Documentation

◆ CrystalCoordinates

Position CrystalCoordinates[NUM_CRYSTALS]
Initial value:
=
{
{ -9394.230469f, 1951.808594f, 85.97733f, 0.0f },
{ -9357.931641f, 1930.596802f, 85.556198f, 0.0f },
{ -9383.113281f, 2011.042725f, 85.556389f, 0.0f },
{ -9243.36f, 1979.04f, 85.556f, 0.0f },
{ -9281.68f, 1886.66f, 85.5558f, 0.0f },
{ -9241.8f, 1806.39f, 85.5557f, 0.0f },
{ -9366.78f, 1781.76f, 85.5561f, 0.0f },
{ -9430.37f, 1786.86f, 85.557f, 0.0f },
{ -9406.73f, 1863.13f, 85.5558f, 0.0f }
}

Definition at line 51 of file boss_ossirian.cpp.

Referenced by boss_ossirian::boss_ossirianAI::SpawnNextCrystal().

◆ NUM_CRYSTALS

uint8 const NUM_CRYSTALS = 9

Definition at line 46 of file boss_ossirian.cpp.

Referenced by boss_ossirian::boss_ossirianAI::SpawnNextCrystal().

◆ NUM_TORNADOS

uint8 const NUM_TORNADOS = 5

Definition at line 65 of file boss_ossirian.cpp.

Referenced by boss_ossirian::boss_ossirianAI::EnterCombat().

◆ NUM_WEAKNESS

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

Definition at line 66 of file boss_ossirian.cpp.

Referenced by boss_ossirian::boss_ossirianAI::SpellHit(), and boss_ossirian::boss_ossirianAI::UpdateAI().

◆ RoomCenter

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

Definition at line 68 of file boss_ossirian.cpp.

Referenced by boss_ossirian::boss_ossirianAI::EnterCombat().

◆ RoomRadius

float RoomRadius = 165.0f

Definition at line 64 of file boss_ossirian.cpp.

Referenced by boss_ossirian::boss_ossirianAI::EnterCombat().

◆ SpellWeakness

uint32 const SpellWeakness[NUM_WEAKNESS] = { 25177, 25178, 25180, 25181, 25183 }