TrinityCore
boss_jedoga_shadowseeker.cpp File Reference
#include "ahnkahet.h"
#include "Containers.h"
#include "InstanceScript.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
+ Include dependency graph for boss_jedoga_shadowseeker.cpp:

Go to the source code of this file.

Classes

struct  boss_jedoga_shadowseeker
 
struct  npc_twilight_volunteer
 
class  spell_random_lightning_visual_effect
 
class  achievement_volunteer_work
 

Typedefs

typedef std::pair< Position, PositionJedogaVolunteerPositionPair
 

Enumerations

enum  JedogaYells {
  SAY_AGGRO = 0 , SAY_CHOOSE = 1 , SAY_SACRIFICE = 2 , SAY_SLAY = 3 ,
  SAY_DEATH = 4 , SAY_PREACHING = 5 , SAY_CHOSEN = 0 , SAY_SACRIFICED = 1
}
 
enum  JedogaSpells {
  SPELL_RANDOM_LIGHTNING_VISUAL = 56327 , SPELL_HOVER_FALL_1 = 56100 , SPELL_HOVER_FALL_2 = 56157 , SPELL_SPHERE_VISUAL = 56075 ,
  SPELL_LIGHTNING_BOLT = 56891 , SPELL_THUNDERSHOCK = 56926 , SPELL_CYCLONE_STRIKE = 56855 , SPELL_SACRIFICE_BEAM = 56150 ,
  SPELL_BEAM_VISUAL_JEDOGA = 56312 , SPELL_SACRIFICE_VISUAL = 56133 , SPELL_SPHERE_VISUAL_VOLUNTEER = 56102 , SPELL_PILLAR_OF_LIGHTNING = 56868
}
 
enum  JedogaEvents {
  EVENT_INTRO_SAY = 1 , EVENT_START_FIGHT_1 , EVENT_START_FIGHT_2 , EVENT_CYCLONE_STRIKE ,
  EVENT_LIGHTNING_BOLT , EVENT_THUNDERSHOCK , EVENT_START_PHASE_TWO , EVENT_FLY_DELAY ,
  EVENT_END_PHASE_TWO , EVENT_CHOOSE_VOLUNTEER , EVENT_SUMMON_VOLUNTEER
}
 
enum  JedogaPhases { PHASE_INTRO = 0 , PHASE_ONE , PHASE_TWO , PHASE_THREE }
 
enum  JedogaPoints {
  POINT_INITIAL_POSITION = 0 , POINT_SACRIFICE , POINT_GROUND , POINT_PHASE_TWO ,
  POINT_PHASE_TWO_FLY
}
 
enum  JedogaMisc {
  SUMMON_GROUP_INITIATES = 1 , SUMMON_GROUP_WORSHIPPERS = 2 , DATA_VOLUNTEER_WORK = 1 , ACTION_CHOSEN = 1 ,
  ACTION_SACRIFICE = 2
}
 

Functions

void AddSC_boss_jedoga_shadowseeker ()
 

Variables

Position const JedogaSacrificePosition = { 376.5385f, -707.3567f, -16.14124f }
 
Position const JedogaGroundPosition = { 371.6281f, -704.4836f, -16.17967f }
 
Position const JedogaFlyPosition = { 371.627f, -704.4217f, -6.707521f }
 
Position const JedogaControllerPositions [3]
 
std::vector< JedogaVolunteerPositionPair > const JedogaVolunteerSpotPositions
 

Typedef Documentation

◆ JedogaVolunteerPositionPair

Definition at line 103 of file boss_jedoga_shadowseeker.cpp.

Enumeration Type Documentation

◆ JedogaEvents

Enumerator
EVENT_INTRO_SAY 
EVENT_START_FIGHT_1 
EVENT_START_FIGHT_2 
EVENT_CYCLONE_STRIKE 
EVENT_LIGHTNING_BOLT 
EVENT_THUNDERSHOCK 
EVENT_START_PHASE_TWO 
EVENT_FLY_DELAY 
EVENT_END_PHASE_TWO 
EVENT_CHOOSE_VOLUNTEER 
EVENT_SUMMON_VOLUNTEER 

Definition at line 61 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaMisc

enum JedogaMisc
Enumerator
SUMMON_GROUP_INITIATES 
SUMMON_GROUP_WORSHIPPERS 
DATA_VOLUNTEER_WORK 
ACTION_CHOSEN 
ACTION_SACRIFICE 

Definition at line 133 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaPhases

Enumerator
PHASE_INTRO 
PHASE_ONE 
PHASE_TWO 
PHASE_THREE 

Definition at line 76 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaPoints

Enumerator
POINT_INITIAL_POSITION 
POINT_SACRIFICE 
POINT_GROUND 
POINT_PHASE_TWO 
POINT_PHASE_TWO_FLY 

Definition at line 84 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaSpells

Enumerator
SPELL_RANDOM_LIGHTNING_VISUAL 
SPELL_HOVER_FALL_1 
SPELL_HOVER_FALL_2 
SPELL_SPHERE_VISUAL 
SPELL_LIGHTNING_BOLT 
SPELL_THUNDERSHOCK 
SPELL_CYCLONE_STRIKE 
SPELL_SACRIFICE_BEAM 
SPELL_BEAM_VISUAL_JEDOGA 
SPELL_SACRIFICE_VISUAL 
SPELL_SPHERE_VISUAL_VOLUNTEER 
SPELL_PILLAR_OF_LIGHTNING 

Definition at line 41 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaYells

Enumerator
SAY_AGGRO 
SAY_CHOOSE 
SAY_SACRIFICE 
SAY_SLAY 
SAY_DEATH 
SAY_PREACHING 
SAY_CHOSEN 
SAY_SACRIFICED 

Definition at line 28 of file boss_jedoga_shadowseeker.cpp.

Function Documentation

◆ AddSC_boss_jedoga_shadowseeker()

void AddSC_boss_jedoga_shadowseeker ( )

Definition at line 500 of file boss_jedoga_shadowseeker.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ JedogaControllerPositions

Position const JedogaControllerPositions[3]
Initial value:
=
{
{ 402.7893f, -748.5251f, 29.39399f, 2.024582f },
{ 420.1999f, -727.0132f, 28.88036f, 2.042035f },
{ 375.4977f, -707.3635f, -16.0964f, 2.426008f }
}

Definition at line 96 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaFlyPosition

Position const JedogaFlyPosition = { 371.627f, -704.4217f, -6.707521f }

Definition at line 95 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaGroundPosition

Position const JedogaGroundPosition = { 371.6281f, -704.4836f, -16.17967f }

Definition at line 94 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaSacrificePosition

Position const JedogaSacrificePosition = { 376.5385f, -707.3567f, -16.14124f }

Definition at line 93 of file boss_jedoga_shadowseeker.cpp.

◆ JedogaVolunteerSpotPositions

std::vector<JedogaVolunteerPositionPair> const JedogaVolunteerSpotPositions
Initial value:
=
{
{ { 400.7701f, -784.8928f, -31.60143f }, { 365.9514f, -719.1235f, -16.17974f } },
{ { 397.3595f, -788.5157f, -31.59679f }, { 359.7433f, -715.017f, -16.17974f } },
{ { 399.3177f, -787.2599f, -31.59631f }, { 362.0263f, -719.1036f, -16.17974f } },
{ { 460.4623f, -719.2227f, -31.58718f }, { 389.266f, -679.3693f, -16.17973f } },
{ { 456.0909f, -724.3412f, -31.58718f }, { 400.5992f, -691.7954f, -16.17973f } },
{ { 452.6613f, -726.9518f, -31.58718f }, { 400.3423f, -701.5115f, -16.17974f } },
{ { 447.8852f, -732.3298f, -31.58718f }, { 389.861f, -710.6993f, -16.17974f } },
{ { 457.562f, -721.1855f, -31.58718f }, { 395.4494f, -684.5345f, -16.17973f } },
{ { 451.7243f, -730.2181f, -31.58718f }, { 397.0945f, -708.4188f, -15.99747f } },
{ { 413.9582f, -777.132f, -31.58716f }, { 388.1394f, -723.124f, -15.9938f } },
{ { 411.5661f, -781.2356f, -31.58716f }, { 381.7102f, -730.0745f, -15.99554f } },
{ { 407.395f, -786.793f, -31.58716f }, { 366.9791f, -737.3303f, -16.17974f } },
{ { 404.9166f, -788.3472f, -31.58716f }, { 358.6124f, -735.9944f, -15.9855f } },
{ { 401.5697f, -791.2033f, -31.58717f }, { 351.9383f, -729.6436f, -16.17974f } },
{ { 410.1105f, -785.4691f, -31.58716f }, { 373.1659f, -736.2893f, -16.17974f } },
{ { 442.5644f, -730.2499f, -31.59826f }, { 390.5955f, -714.6851f, -16.17974f } },
{ { 445.5233f, -725.9542f, -31.60173f }, { 393.9694f, -708.1727f, -16.17974f } },
{ { 448.5531f, -722.5888f, -31.60066f }, { 395.2702f, -702.556f, -16.17974f } },
{ { 449.8521f, -719.7265f, -31.58849f }, { 394.5757f, -695.1004f, -16.17974f } },
{ { 453.5134f, -717.7018f, -31.59883f }, { 387.6152f, -690.1782f, -16.17974f } },
{ { 457.8564f, -711.7424f, -31.59773f }, { 378.6874f, -687.1343f, -16.17973f } },
{ { 410.0583f, -774.4119f, -31.60115f }, { 383.8151f, -723.4276f, -16.17974f } },
{ { 408.7458f, -777.955f, -31.59873f }, { 376.9857f, -725.0735f, -16.17974f } },
{ { 405.2404f, -779.6614f, -31.60512f }, { 373.3736f, -722.7498f, -16.17974f } },
{ { 404.0797f, -783.829f, -31.59497f }, { 367.8631f, -722.5212f, -16.17974f } }
}

Definition at line 104 of file boss_jedoga_shadowseeker.cpp.