TrinityCore
Loading...
Searching...
No Matches
boss_maexxna.cpp File Reference
#include "ScriptMgr.h"
#include "InstanceScript.h"
#include "MotionMaster.h"
#include "naxxramas.h"
#include "ObjectAccessor.h"
#include "PassiveAI.h"
#include "ScriptedCreature.h"
+ Include dependency graph for boss_maexxna.cpp:

Go to the source code of this file.

Classes

struct  WebTargetSelector
 
struct  boss_maexxna
 
struct  npc_webwrap
 

Macros

#define SPELL_WEB_SPRAY   RAID_MODE(29484,54125)
 
#define SPELL_FRENZY_HELPER   RAID_MODE(54123,54124)
 
#define MAX_WRAP_POSITION   7
 

Enumerations

enum  Spells { SPELL_WEB_WRAP = 28622 , SPELL_POISON_SHOCK = 28741 , SPELL_NECROTIC_POISON = 28776 , SPELL_FRENZY = 54123 }
 
enum  Emotes { EMOTE_SPIDERS = 0 , EMOTE_WEB_WRAP = 1 , EMOTE_WEB_SPRAY = 2 }
 
enum  Creatures { NPC_WEB_WRAP = 16486 , NPC_SPIDERLING = 17055 }
 
enum  Events {
  EVENT_NONE , EVENT_SPRAY , EVENT_SHOCK , EVENT_POISON ,
  EVENT_WRAP , EVENT_SUMMON
}
 
enum  MaexxnaData { DATA_WEBWRAP_VICTIM_GUID = 0 }
 

Functions

void AddSC_boss_maexxna ()
 

Variables

const Position WrapPositions [MAX_WRAP_POSITION]
 

Macro Definition Documentation

◆ MAX_WRAP_POSITION

#define MAX_WRAP_POSITION   7

Definition at line 50 of file boss_maexxna.cpp.

◆ SPELL_FRENZY_HELPER

#define SPELL_FRENZY_HELPER   RAID_MODE(54123,54124)

Definition at line 35 of file boss_maexxna.cpp.

◆ SPELL_WEB_SPRAY

#define SPELL_WEB_SPRAY   RAID_MODE(29484,54125)

Definition at line 34 of file boss_maexxna.cpp.

Enumeration Type Documentation

◆ Creatures

enum Creatures
Enumerator
NPC_WEB_WRAP 
NPC_SPIDERLING 

Definition at line 44 of file boss_maexxna.cpp.

◆ Emotes

enum Emotes
Enumerator
EMOTE_SPIDERS 
EMOTE_WEB_WRAP 
EMOTE_WEB_SPRAY 

Definition at line 37 of file boss_maexxna.cpp.

◆ Events

enum Events
Enumerator
EVENT_NONE 
EVENT_SPRAY 
EVENT_SHOCK 
EVENT_POISON 
EVENT_WRAP 
EVENT_SUMMON 

Definition at line 62 of file boss_maexxna.cpp.

◆ MaexxnaData

Enumerator
DATA_WEBWRAP_VICTIM_GUID 

Definition at line 72 of file boss_maexxna.cpp.

◆ Spells

enum Spells
Enumerator
SPELL_WEB_WRAP 
SPELL_POISON_SHOCK 
SPELL_NECROTIC_POISON 
SPELL_FRENZY 

Definition at line 26 of file boss_maexxna.cpp.

Function Documentation

◆ AddSC_boss_maexxna()

void AddSC_boss_maexxna ( )

Definition at line 253 of file boss_maexxna.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ WrapPositions

const Position WrapPositions[MAX_WRAP_POSITION]
Initial value:
=
{
{3453.818f, -3854.651f, 308.7581f, 4.362833f},
{3535.042f, -3842.383f, 300.795f, 3.179324f},
{3538.399f, -3846.088f, 299.964f, 4.310297f},
{3548.464f, -3854.676f, 298.6075f, 4.546609f},
{3557.663f, -3870.123f, 297.5027f, 3.756433f},
{3560.546f, -3879.353f, 297.4843f, 2.508937f},
{3562.535f, -3892.507f, 298.532f, 6.022466f},
}

Definition at line 51 of file boss_maexxna.cpp.