AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_magmadar.cpp File Reference
#include "CreatureScript.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "molten_core.h"

Go to the source code of this file.

Classes

class  boss_magmadar
 
struct  boss_magmadar::boss_magmadarAI
 
class  spell_magmadar_lava_bomb
 

Enumerations

enum  Texts { EMOTE_FRENZY = 0 }
 
enum  Spells {
  SPELL_FRENZY = 19451 ,
  SPELL_MAGMA_SPIT = 19449 ,
  SPELL_PANIC = 19408 ,
  SPELL_LAVA_BOMB = 19411 ,
  SPELL_LAVA_BOMB_EFFECT = 20494 ,
  SPELL_LAVA_BOMB_RANGED = 20474 ,
  SPELL_LAVA_BOMB_RANGED_EFFECT = 20495
}
 
enum  Events {
  EVENT_FRENZY = 1 ,
  EVENT_PANIC ,
  EVENT_LAVA_BOMB ,
  EVENT_LAVA_BOMB_RANGED
}
 

Functions

void AddSC_boss_magmadar ()
 

Variables

constexpr float MELEE_TARGET_LOOKUP_DIST = 10.0f
 

Enumeration Type Documentation

◆ Events

enum Events
Enumerator
EVENT_FRENZY 
EVENT_PANIC 
EVENT_LAVA_BOMB 
EVENT_LAVA_BOMB_RANGED 
41{
42 EVENT_FRENZY = 1,
46};
@ EVENT_PANIC
Definition boss_magmadar.cpp:43
@ EVENT_LAVA_BOMB
Definition boss_magmadar.cpp:44
@ EVENT_LAVA_BOMB_RANGED
Definition boss_magmadar.cpp:45
@ EVENT_FRENZY
Definition boss_magmadar.cpp:42

◆ Spells

enum Spells
Enumerator
SPELL_FRENZY 
SPELL_MAGMA_SPIT 
SPELL_PANIC 
SPELL_LAVA_BOMB 
SPELL_LAVA_BOMB_EFFECT 
SPELL_LAVA_BOMB_RANGED 
SPELL_LAVA_BOMB_RANGED_EFFECT 
30{
31 SPELL_FRENZY = 19451,
32 SPELL_MAGMA_SPIT = 19449,
33 SPELL_PANIC = 19408,
34 SPELL_LAVA_BOMB = 19411, // This calls a dummy server side effect that cast spell 20494 to spawn GO 177704 for 30s
35 SPELL_LAVA_BOMB_EFFECT = 20494, // Spawns trap GO 177704 which triggers 19428
36 SPELL_LAVA_BOMB_RANGED = 20474, // This calls a dummy server side effect that cast spell 20495 to spawn GO 177704 for 60s
37 SPELL_LAVA_BOMB_RANGED_EFFECT = 20495, // Spawns trap GO 177704 which triggers 19428
38};
@ SPELL_LAVA_BOMB_EFFECT
Definition boss_magmadar.cpp:35
@ SPELL_LAVA_BOMB_RANGED_EFFECT
Definition boss_magmadar.cpp:37
@ SPELL_FRENZY
Definition boss_magmadar.cpp:31
@ SPELL_LAVA_BOMB_RANGED
Definition boss_magmadar.cpp:36
@ SPELL_MAGMA_SPIT
Definition boss_magmadar.cpp:32
@ SPELL_LAVA_BOMB
Definition boss_magmadar.cpp:34
@ SPELL_PANIC
Definition boss_magmadar.cpp:33

◆ Texts

enum Texts
Enumerator
EMOTE_FRENZY 
25{
26 EMOTE_FRENZY = 0,
27};
@ EMOTE_FRENZY
Definition boss_magmadar.cpp:26

Function Documentation

◆ AddSC_boss_magmadar()

void AddSC_boss_magmadar ( )
164{
165 new boss_magmadar();
166
167 // Spells
169}
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
Definition boss_magmadar.cpp:51
Definition boss_magmadar.cpp:123

References RegisterSpellScript.

Referenced by AddEasternKingdomsScripts().

Variable Documentation

◆ MELEE_TARGET_LOOKUP_DIST

constexpr float MELEE_TARGET_LOOKUP_DIST = 10.0f
constexpr