TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boss_prince_malchezaar.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "karazhan.h"
#include "SpellInfo.h"
+ Include dependency graph for boss_prince_malchezaar.cpp:

Classes

struct  InfernalPoint
 
class  netherspite_infernal
 
struct  netherspite_infernal::netherspite_infernalAI
 
class  boss_malchezaar
 
struct  boss_malchezaar::boss_malchezaarAI
 

Macros

#define INFERNAL_Z   275.5f
 

Enumerations

enum  PrinceMalchezaar {
  SAY_AGGRO = 0, SAY_AXE_TOSS1 = 1, SAY_AXE_TOSS2 = 2, SAY_SLAY = 6,
  SAY_SUMMON = 7, SAY_DEATH = 8, TOTAL_INFERNAL_POINTS = 18, SPELL_ENFEEBLE = 30843,
  SPELL_ENFEEBLE_EFFECT = 41624, SPELL_SHADOWNOVA = 30852, SPELL_SW_PAIN = 30854, SPELL_THRASH_PASSIVE = 12787,
  SPELL_SUNDER_ARMOR = 30901, SPELL_THRASH_AURA = 12787, SPELL_EQUIP_AXES = 30857, SPELL_AMPLIFY_DAMAGE = 39095,
  SPELL_CLEAVE = 30131, SPELL_HELLFIRE = 30859, NETHERSPITE_INFERNAL = 17646, MALCHEZARS_AXE = 17650,
  INFERNAL_MODEL_INVISIBLE = 11686, SPELL_INFERNAL_RELAY = 30834, EQUIP_ID_AXE = 33542
}
 

Functions

void AddSC_boss_malchezaar ()
 

Variables

static InfernalPoint InfernalPoints []
 

Macro Definition Documentation

#define INFERNAL_Z   275.5f

Enumeration Type Documentation

Enumerator
SAY_AGGRO 
SAY_AXE_TOSS1 
SAY_AXE_TOSS2 
SAY_SLAY 
SAY_SUMMON 
SAY_DEATH 
TOTAL_INFERNAL_POINTS 
SPELL_ENFEEBLE 
SPELL_ENFEEBLE_EFFECT 
SPELL_SHADOWNOVA 
SPELL_SW_PAIN 
SPELL_THRASH_PASSIVE 
SPELL_SUNDER_ARMOR 
SPELL_THRASH_AURA 
SPELL_EQUIP_AXES 
SPELL_AMPLIFY_DAMAGE 
SPELL_CLEAVE 
SPELL_HELLFIRE 
NETHERSPITE_INFERNAL 
MALCHEZARS_AXE 
INFERNAL_MODEL_INVISIBLE 
SPELL_INFERNAL_RELAY 
EQUIP_ID_AXE 
65 {
66  SAY_AGGRO = 0,
67  SAY_AXE_TOSS1 = 1,
68  SAY_AXE_TOSS2 = 2,
69 // SAY_SPECIAL1 = 3, Not used, needs to be implemented, but I don't know where it should be used.
70 // SAY_SPECIAL2 = 4, Not used, needs to be implemented, but I don't know where it should be used.
71 // SAY_SPECIAL3 = 5, Not used, needs to be implemented, but I don't know where it should be used.
72  SAY_SLAY = 6,
73  SAY_SUMMON = 7,
74  SAY_DEATH = 8,
75 
77 
78  SPELL_ENFEEBLE = 30843, //Enfeeble during phase 1 and 2
79  SPELL_ENFEEBLE_EFFECT = 41624,
80 
81  SPELL_SHADOWNOVA = 30852, //Shadownova used during all phases
82  SPELL_SW_PAIN = 30854, //Shadow word pain during phase 1 and 3 (different targeting rules though)
83  SPELL_THRASH_PASSIVE = 12787, //Extra attack chance during phase 2
84  SPELL_SUNDER_ARMOR = 30901, //Sunder armor during phase 2
85  SPELL_THRASH_AURA = 12787, //Passive proc chance for thrash
86  SPELL_EQUIP_AXES = 30857, //Visual for axe equiping
87  SPELL_AMPLIFY_DAMAGE = 39095, //Amplifiy during phase 3
88  SPELL_CLEAVE = 30131, //Same as Nightbane.
89  SPELL_HELLFIRE = 30859, //Infenals' hellfire aura
90  NETHERSPITE_INFERNAL = 17646, //The netherspite infernal creature
91  MALCHEZARS_AXE = 17650, //Malchezar's axes (creatures), summoned during phase 3
92 
93  INFERNAL_MODEL_INVISIBLE = 11686, //Infernal Effects
94  SPELL_INFERNAL_RELAY = 30834,
95 
96  EQUIP_ID_AXE = 33542 //Axes info
97 };
Definition: boss_prince_malchezaar.cpp:88
Definition: boss_prince_malchezaar.cpp:72
Definition: boss_prince_malchezaar.cpp:79
Definition: boss_prince_malchezaar.cpp:86
Definition: boss_prince_malchezaar.cpp:82
Definition: boss_prince_malchezaar.cpp:73
Definition: boss_prince_malchezaar.cpp:93
Definition: boss_prince_malchezaar.cpp:87
Definition: boss_prince_malchezaar.cpp:74
Definition: boss_prince_malchezaar.cpp:76
Definition: boss_prince_malchezaar.cpp:94
Definition: boss_prince_malchezaar.cpp:96
Definition: boss_prince_malchezaar.cpp:68
Definition: boss_prince_malchezaar.cpp:83
Definition: boss_prince_malchezaar.cpp:85
Definition: boss_prince_malchezaar.cpp:91
Definition: boss_prince_malchezaar.cpp:84
Definition: boss_prince_malchezaar.cpp:67
Definition: boss_prince_malchezaar.cpp:66
Definition: boss_prince_malchezaar.cpp:89
Definition: boss_prince_malchezaar.cpp:81
Definition: boss_prince_malchezaar.cpp:78
Definition: boss_prince_malchezaar.cpp:90

Function Documentation

void AddSC_boss_malchezaar ( )
601 {
602  new boss_malchezaar();
603  new netherspite_infernal();
604 }
Definition: boss_prince_malchezaar.cpp:175
Definition: boss_prince_malchezaar.cpp:100

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

InfernalPoint InfernalPoints[]
static
Initial value:
=
{
{-10922.8f, -1985.2f},
{-10916.2f, -1996.2f},
{-10932.2f, -2008.1f},
{-10948.8f, -2022.1f},
{-10958.7f, -1997.7f},
{-10971.5f, -1997.5f},
{-10990.8f, -1995.1f},
{-10989.8f, -1976.5f},
{-10971.6f, -1973.0f},
{-10955.5f, -1974.0f},
{-10939.6f, -1969.8f},
{-10958.0f, -1952.2f},
{-10941.7f, -1954.8f},
{-10943.1f, -1988.5f},
{-10948.8f, -2005.1f},
{-10984.0f, -2019.3f},
{-10932.8f, -1979.6f},
{-10935.7f, -1996.0f}
}