TrinityCore
boss_jedoga_shadowseeker.cpp File Reference
#include "ahnkahet.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:

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

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 
61 {
62  EVENT_INTRO_SAY = 1,
73 };
Definition: boss_jedoga_shadowseeker.cpp:65
Definition: boss_jedoga_shadowseeker.cpp:64
Definition: boss_jedoga_shadowseeker.cpp:67
Definition: boss_jedoga_shadowseeker.cpp:62
Definition: boss_jedoga_shadowseeker.cpp:71
Definition: boss_jedoga_shadowseeker.cpp:70
Definition: boss_jedoga_shadowseeker.cpp:69
Definition: boss_jedoga_shadowseeker.cpp:72
Definition: boss_jedoga_shadowseeker.cpp:68
Definition: boss_jedoga_shadowseeker.cpp:66
Definition: boss_jedoga_shadowseeker.cpp:63

◆ JedogaMisc

enum JedogaMisc
Enumerator
SUMMON_GROUP_INITIATES 
SUMMON_GROUP_WORSHIPPERS 
DATA_VOLUNTEER_WORK 
ACTION_CHOSEN 
ACTION_SACRIFICE 
133 {
137  ACTION_CHOSEN = 1,
138  ACTION_SACRIFICE = 2
139 };
Definition: boss_jedoga_shadowseeker.cpp:135
Definition: boss_jedoga_shadowseeker.cpp:138
Definition: boss_jedoga_shadowseeker.cpp:134
Definition: boss_jedoga_shadowseeker.cpp:137
Definition: boss_jedoga_shadowseeker.cpp:136

◆ JedogaPhases

Enumerator
PHASE_INTRO 
PHASE_ONE 
PHASE_TWO 
PHASE_THREE 
76 {
77  PHASE_INTRO = 0,
78  PHASE_ONE,
79  PHASE_TWO,
81 };
Definition: boss_jedoga_shadowseeker.cpp:77
Definition: boss_jedoga_shadowseeker.cpp:79
Definition: boss_jedoga_shadowseeker.cpp:80
Definition: boss_jedoga_shadowseeker.cpp:78

◆ JedogaPoints

Enumerator
POINT_INITIAL_POSITION 
POINT_SACRIFICE 
POINT_GROUND 
POINT_PHASE_TWO 
POINT_PHASE_TWO_FLY 
84 {
90 };
Definition: boss_jedoga_shadowseeker.cpp:85
Definition: boss_jedoga_shadowseeker.cpp:89
Definition: boss_jedoga_shadowseeker.cpp:88
Definition: boss_jedoga_shadowseeker.cpp:87
Definition: boss_jedoga_shadowseeker.cpp:86

◆ 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 
41 {
43  SPELL_HOVER_FALL_1 = 56100,
44  SPELL_HOVER_FALL_2 = 56157,
45  SPELL_SPHERE_VISUAL = 56075,
46  SPELL_LIGHTNING_BOLT = 56891,
47  SPELL_THUNDERSHOCK = 56926,
48  SPELL_CYCLONE_STRIKE = 56855,
49  SPELL_SACRIFICE_BEAM = 56150,
50 
51  //Jedoga Controller
53  SPELL_SACRIFICE_VISUAL = 56133,
54 
55  //Twilight Volunteer
58 };
Definition: boss_jedoga_shadowseeker.cpp:48
Definition: boss_jedoga_shadowseeker.cpp:49
Definition: boss_jedoga_shadowseeker.cpp:47
Definition: boss_jedoga_shadowseeker.cpp:46
Definition: boss_jedoga_shadowseeker.cpp:56
Definition: boss_jedoga_shadowseeker.cpp:53
Definition: boss_jedoga_shadowseeker.cpp:45
Definition: boss_jedoga_shadowseeker.cpp:42
Definition: boss_jedoga_shadowseeker.cpp:44
Definition: boss_jedoga_shadowseeker.cpp:52
Definition: boss_jedoga_shadowseeker.cpp:43
Definition: boss_jedoga_shadowseeker.cpp:57

◆ JedogaYells

Enumerator
SAY_AGGRO 
SAY_CHOOSE 
SAY_SACRIFICE 
SAY_SLAY 
SAY_DEATH 
SAY_PREACHING 
SAY_CHOSEN 
SAY_SACRIFICED 
28 {
29  SAY_AGGRO = 0,
30  SAY_CHOOSE = 1,
31  SAY_SACRIFICE = 2,
32  SAY_SLAY = 3,
33  SAY_DEATH = 4,
34  SAY_PREACHING = 5,
35 
36  SAY_CHOSEN = 0,
37  SAY_SACRIFICED = 1
38 };
Definition: boss_jedoga_shadowseeker.cpp:31
Definition: boss_jedoga_shadowseeker.cpp:30
Definition: boss_jedoga_shadowseeker.cpp:37
Definition: boss_jedoga_shadowseeker.cpp:36
Definition: boss_jedoga_shadowseeker.cpp:29
Definition: boss_jedoga_shadowseeker.cpp:33
Definition: boss_jedoga_shadowseeker.cpp:32
Definition: boss_jedoga_shadowseeker.cpp:34

Function Documentation

◆ AddSC_boss_jedoga_shadowseeker()

void AddSC_boss_jedoga_shadowseeker ( )
504 {
509 }
#define RegisterAhnKahetCreatureAI(ai_name)
Definition: ahnkahet.h:87
#define RegisterSpellScript(spell_script)
Definition: ScriptMgr.h:1341
Definition: boss_jedoga_shadowseeker.cpp:485
Definition: boss_jedoga_shadowseeker.cpp:141
Definition: boss_jedoga_shadowseeker.cpp:468
Definition: boss_jedoga_shadowseeker.cpp:403
+ 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 }
}

◆ JedogaFlyPosition

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

◆ JedogaGroundPosition

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

◆ JedogaSacrificePosition

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

◆ 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 } }
}