AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_mother_shahraz.cpp File Reference
#include "CreatureScript.h"
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "GridNotifiers.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

Go to the source code of this file.

Classes

struct  boss_mother_shahraz
 
class  spell_mother_shahraz_random_periodic_aura
 
class  spell_mother_shahraz_beam_periodic_aura
 
class  spell_mother_shahraz_saber_lash_aura
 
class  spell_mother_shahraz_fatal_attraction
 
class  spell_mother_shahraz_fatal_attraction_dummy
 

Enumerations

enum  Says {
  SAY_TAUNT = 0 ,
  SAY_AGGRO = 1 ,
  SAY_SPELL = 2 ,
  SAY_SLAY = 3 ,
  SAY_ENRAGE = 4 ,
  SAY_DEATH = 5 ,
  SAY_EMOTE_FRENZY = 6
}
 
enum  Spells {
  SPELL_PRISMATIC_AURA_SHADOW = 40880 ,
  SPELL_PRISMATIC_AURA_FIRE = 40882 ,
  SPELL_PRISMATIC_AURA_NATURE = 40883 ,
  SPELL_PRISMATIC_AURA_ARCANE = 40891 ,
  SPELL_PRISMATIC_AURA_FROST = 40896 ,
  SPELL_PRISMATIC_AURA_HOLY = 40897 ,
  SPELL_SABER_LASH_AURA = 40816 ,
  SPELL_SABER_LASH = 40810 ,
  SPELL_SILENCING_SHRIEK = 40823 ,
  SPELL_RANDOM_PERIODIC = 40867 ,
  SPELL_SINFUL_PERIODIC = 40862 ,
  SPELL_SINISTER_PERIODIC = 40863 ,
  SPELL_VILE_PERIODIC = 40865 ,
  SPELL_WICKED_PERIODIC = 40866 ,
  SPELL_FATAL_ATTRACTION = 40869 ,
  SPELL_FATAL_ATTRACTION_AURA = 41001 ,
  SPELL_FATAL_ATTRACTION_DAMAGE = 40871 ,
  SPELL_ENRAGE = 45078 ,
  SPELL_SABER_LASH_IMMUNITY = 43690
}
 
enum  Misc { GROUP_ENRAGE = 1 }
 

Functions

void AddSC_boss_mother_shahraz ()
 

Variables

constexpr float minTeleportDistSq = 30.f * 30.f
 
constexpr float maxTeleportDistSq = 50.f * 50.f
 
const Position teleportPositions [79]
 

Enumeration Type Documentation

◆ Misc

enum Misc
Enumerator
GROUP_ENRAGE 
61{
62 GROUP_ENRAGE = 1
63};
@ GROUP_ENRAGE
Definition boss_mother_shahraz.cpp:62

◆ Says

enum Says
Enumerator
SAY_TAUNT 
SAY_AGGRO 
SAY_SPELL 
SAY_SLAY 
SAY_ENRAGE 
SAY_DEATH 
SAY_EMOTE_FRENZY 
27{
28 SAY_TAUNT = 0,
29 SAY_AGGRO = 1,
30 SAY_SPELL = 2,
31 SAY_SLAY = 3,
32 SAY_ENRAGE = 4,
33 SAY_DEATH = 5,
35};
@ SAY_DEATH
Definition boss_mother_shahraz.cpp:33
@ SAY_AGGRO
Definition boss_mother_shahraz.cpp:29
@ SAY_SLAY
Definition boss_mother_shahraz.cpp:31
@ SAY_TAUNT
Definition boss_mother_shahraz.cpp:28
@ SAY_EMOTE_FRENZY
Definition boss_mother_shahraz.cpp:34
@ SAY_ENRAGE
Definition boss_mother_shahraz.cpp:32
@ SAY_SPELL
Definition boss_mother_shahraz.cpp:30

◆ Spells

enum Spells
Enumerator
SPELL_PRISMATIC_AURA_SHADOW 
SPELL_PRISMATIC_AURA_FIRE 
SPELL_PRISMATIC_AURA_NATURE 
SPELL_PRISMATIC_AURA_ARCANE 
SPELL_PRISMATIC_AURA_FROST 
SPELL_PRISMATIC_AURA_HOLY 
SPELL_SABER_LASH_AURA 
SPELL_SABER_LASH 
SPELL_SILENCING_SHRIEK 
SPELL_RANDOM_PERIODIC 
SPELL_SINFUL_PERIODIC 
SPELL_SINISTER_PERIODIC 
SPELL_VILE_PERIODIC 
SPELL_WICKED_PERIODIC 
SPELL_FATAL_ATTRACTION 
SPELL_FATAL_ATTRACTION_AURA 
SPELL_FATAL_ATTRACTION_DAMAGE 
SPELL_ENRAGE 
SPELL_SABER_LASH_IMMUNITY 
38{
46 SPELL_SABER_LASH = 40810,
51 SPELL_VILE_PERIODIC = 40865,
56 SPELL_ENRAGE = 45078,
58};
@ SPELL_SABER_LASH
Definition boss_mother_shahraz.cpp:46
@ SPELL_FATAL_ATTRACTION_AURA
Definition boss_mother_shahraz.cpp:54
@ SPELL_SABER_LASH_IMMUNITY
Definition boss_mother_shahraz.cpp:57
@ SPELL_ENRAGE
Definition boss_mother_shahraz.cpp:56
@ SPELL_RANDOM_PERIODIC
Definition boss_mother_shahraz.cpp:48
@ SPELL_SILENCING_SHRIEK
Definition boss_mother_shahraz.cpp:47
@ SPELL_SINISTER_PERIODIC
Definition boss_mother_shahraz.cpp:50
@ SPELL_SABER_LASH_AURA
Definition boss_mother_shahraz.cpp:45
@ SPELL_PRISMATIC_AURA_NATURE
Definition boss_mother_shahraz.cpp:41
@ SPELL_PRISMATIC_AURA_FIRE
Definition boss_mother_shahraz.cpp:40
@ SPELL_SINFUL_PERIODIC
Definition boss_mother_shahraz.cpp:49
@ SPELL_FATAL_ATTRACTION
Definition boss_mother_shahraz.cpp:53
@ SPELL_WICKED_PERIODIC
Definition boss_mother_shahraz.cpp:52
@ SPELL_PRISMATIC_AURA_SHADOW
Definition boss_mother_shahraz.cpp:39
@ SPELL_PRISMATIC_AURA_FROST
Definition boss_mother_shahraz.cpp:43
@ SPELL_PRISMATIC_AURA_HOLY
Definition boss_mother_shahraz.cpp:44
@ SPELL_PRISMATIC_AURA_ARCANE
Definition boss_mother_shahraz.cpp:42
@ SPELL_VILE_PERIODIC
Definition boss_mother_shahraz.cpp:51
@ SPELL_FATAL_ATTRACTION_DAMAGE
Definition boss_mother_shahraz.cpp:55

Function Documentation

◆ AddSC_boss_mother_shahraz()

void AddSC_boss_mother_shahraz ( )
375{
382}
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
#define RegisterBlackTempleCreatureAI(ai_name)
Definition black_temple.h:130
Definition boss_mother_shahraz.cpp:165
Definition boss_mother_shahraz.cpp:338
Definition boss_mother_shahraz.cpp:291
Definition boss_mother_shahraz.cpp:143
Definition boss_mother_shahraz.cpp:182
Definition boss_mother_shahraz.cpp:66

References RegisterBlackTempleCreatureAI, and RegisterSpellScript.

Referenced by AddOutlandScripts().

Variable Documentation

◆ maxTeleportDistSq

constexpr float maxTeleportDistSq = 50.f * 50.f
constexpr

◆ minTeleportDistSq

constexpr float minTeleportDistSq = 30.f * 30.f
constexpr

◆ teleportPositions

const Position teleportPositions[79]
208{
209 {918.581, 110.065, 192.849},
210 {943.493, 108.279, 192.847},
211 {964.335, 109.774, 192.836},
212 {971.987, 148.678, 192.820},
213 {956.107, 146.804, 197.075},
214 {934.990, 144.492, 197.075},
215 {916.477, 143.932, 192.829},
216 {921.147, 167.942, 192.827},
217 {925.678, 184.302, 192.838},
218 {940.993, 181.637, 192.463},
219 {948.525, 193.635, 191.906},
220 {965.403, 179.717, 192.832},
221 {966.440, 197.428, 192.840},
222 {959.519, 218.769, 192.846},
223 {943.849, 208.796, 191.209},
224 {931.741, 199.204, 192.846},
225 {931.808, 220.284, 192.845},
226 {945.203, 232.269, 191.208},
227 {966.960, 236.315, 192.842},
228 {966.079, 258.634, 192.822},
229 {945.193, 252.556, 191.208},
230 {924.433, 235.585, 192.842},
231 {919.422, 250.186, 192.820},
232 {923.024, 271.408, 192.368},
233 {928.982, 283.581, 192.368},
234 {923.807, 302.435, 192.854},
235 {925.547, 316.368, 192.830},
236 {922.124, 330.724, 192.842},
237 {926.061, 343.538, 192.848},
238 {947.211, 351.582, 191.208},
239 {965.287, 351.110, 192.850},
240 {964.311, 340.715, 192.850},
241 {971.435, 328.932, 192.850},
242 {979.385, 318.413, 192.843},
243 {962.361, 304.283, 192.839},
244 {964.359, 287.723, 192.835},
245 {961.600, 270.791, 192.829},
246 {945.802, 267.542, 191.208},
247 {948.130, 284.002, 191.208},
248 {940.823, 299.090, 191.208},
249 {949.039, 314.410, 191.208},
250 {941.133, 334.733, 191.208},
251 {956.045, 329.034, 192.834},
252 {956.605, 247.336, 192.828},
253 {931.937, 244.108, 192.819},
254 {938.510, 158.778, 197.075},
255 {928.364, 208.923, 192.847},
256 {962.436, 205.330, 192.847},
257 {955.670, 346.279, 192.849},
258 {931.286, 324.910, 192.819},
259 {962.375, 317.202, 192.838},
260 {956.159, 292.589, 192.834},
261 {934.550, 274.786, 192.368},
262 {921.056, 287.731, 192.368},
263 {956.248, 262.074, 192.829},
264 {955.738, 231.656, 192.836},
265 {934.566, 231.991, 192.838},
266 {956.050, 198.811, 192.841},
267 {939.707, 193.020, 191.923},
268 {940.500, 259.348, 191.208},
269 {948.237, 304.773, 191.208},
270 {923.764, 176.246, 192.832},
271 {960.474, 187.324, 192.833},
272 {968.408, 168.684, 192.825},
273 {967.788, 126.891, 192.822},
274 {930.301, 118.605, 192.847},
275 {952.902, 159.420, 197.075},
276 {931.728, 291.711, 192.368},
277 {950.031, 276.024, 191.208},
278 {943.486, 243.084, 191.208},
279 {950.499, 223.192, 191.208},
280 {940.605, 218.999, 191.208},
281 {949.264, 183.562, 192.380},
282 {950.100, 207.404, 191.241},
283 {969.982, 187.897, 192.837},
284 {931.661, 185.178, 192.831},
285 {924.498, 193.739, 192.847},
286 {966.774, 226.680, 192.847},
287 {953.118, 121.170, 192.822},
288 };

Referenced by spell_mother_shahraz_fatal_attraction::SetDest().