Scripts/Outland: moved scripts into their respective namespace (part 2)
This commit is contained in:
1 parent
cf80433af8
commit
773e12c58b
78 files changed
+346
-4
No files matched your search
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace AuchenaiCrypts
|
||||||
|
{
|
||||||
#define ACScriptName "instance_auchenai_crypts"
|
#define ACScriptName "instance_auchenai_crypts"
|
||||||
#define DataHeader "AC"
|
#define DataHeader "AC"
|
||||||
|
|
||||||
@@ -37,5 +39,6 @@ inline AI* GetAuchenaiCryptsAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, ACScriptName);
|
return GetInstanceAI<AI>(obj, ACScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif // AUCHENAI_CRYPTS_H_
|
#endif // AUCHENAI_CRYPTS_H_
|
||||||
@@ -33,6 +33,8 @@ EndContentData */
|
|||||||
#include "ObjectAccessor.h"
|
#include "ObjectAccessor.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace AuchenaiCrypts::ExarchMaladaar
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_MOONFIRE = 37328,
|
SPELL_MOONFIRE = 37328,
|
||||||
@@ -362,9 +364,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_exarch_maladaar()
|
void AddSC_boss_exarch_maladaar()
|
||||||
{
|
{
|
||||||
|
using namespace AuchenaiCrypts;
|
||||||
|
using namespace AuchenaiCrypts::ExarchMaladaar;
|
||||||
new boss_exarch_maladaar();
|
new boss_exarch_maladaar();
|
||||||
new npc_avatar_of_martyred();
|
new npc_avatar_of_martyred();
|
||||||
new npc_stolen_soul();
|
new npc_stolen_soul();
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ EndScriptData */
|
|||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace AuchenaiCrypts::ShirrakTheDeadWatcher
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_INHIBITMAGIC = 32264,
|
SPELL_INHIBITMAGIC = 32264,
|
||||||
@@ -223,9 +225,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_shirrak_the_dead_watcher()
|
void AddSC_boss_shirrak_the_dead_watcher()
|
||||||
{
|
{
|
||||||
|
using namespace AuchenaiCrypts;
|
||||||
|
using namespace AuchenaiCrypts::ShirrakTheDeadWatcher;
|
||||||
new boss_shirrak_the_dead_watcher();
|
new boss_shirrak_the_dead_watcher();
|
||||||
new npc_focus_fire();
|
new npc_focus_fire();
|
||||||
}
|
}
|
||||||
@@ -19,6 +19,8 @@
|
|||||||
#include "auchenai_crypts.h"
|
#include "auchenai_crypts.h"
|
||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
|
|
||||||
|
namespace AuchenaiCrypts
|
||||||
|
{
|
||||||
class instance_auchenai_crypts : public InstanceMapScript
|
class instance_auchenai_crypts : public InstanceMapScript
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -38,8 +40,10 @@ class instance_auchenai_crypts : public InstanceMapScript
|
|||||||
return new instance_auchenai_crypts_InstanceMapScript(map);
|
return new instance_auchenai_crypts_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_auchenai_crypts()
|
void AddSC_instance_auchenai_crypts()
|
||||||
{
|
{
|
||||||
|
using namespace AuchenaiCrypts;
|
||||||
new instance_auchenai_crypts();
|
new instance_auchenai_crypts();
|
||||||
}
|
}
|
||||||
@@ -27,6 +27,8 @@ EndScriptData */
|
|||||||
#include "MotionMaster.h"
|
#include "MotionMaster.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace ManaTombs::NexusPrinceShaffar
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -384,9 +386,12 @@ public:
|
|||||||
return GetManaTombsAI<npc_yorAI>(creature);
|
return GetManaTombsAI<npc_yorAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_nexusprince_shaffar()
|
void AddSC_boss_nexusprince_shaffar()
|
||||||
{
|
{
|
||||||
|
using namespace ManaTombs;
|
||||||
|
using namespace ManaTombs::NexusPrinceShaffar;
|
||||||
new boss_nexusprince_shaffar();
|
new boss_nexusprince_shaffar();
|
||||||
new npc_ethereal_beacon();
|
new npc_ethereal_beacon();
|
||||||
new npc_ethereal_apprentice();
|
new npc_ethereal_apprentice();
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "mana_tombs.h"
|
#include "mana_tombs.h"
|
||||||
|
|
||||||
|
namespace ManaTombs::Pandemonius
|
||||||
|
{
|
||||||
enum Texts
|
enum Texts
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -118,8 +120,11 @@ public:
|
|||||||
return GetManaTombsAI<boss_pandemoniusAI>(creature);
|
return GetManaTombsAI<boss_pandemoniusAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_pandemonius()
|
void AddSC_boss_pandemonius()
|
||||||
{
|
{
|
||||||
|
using namespace ManaTombs;
|
||||||
|
using namespace ManaTombs::Pandemonius;
|
||||||
new boss_pandemonius();
|
new boss_pandemonius();
|
||||||
}
|
}
|
||||||
@@ -19,6 +19,8 @@
|
|||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "mana_tombs.h"
|
#include "mana_tombs.h"
|
||||||
|
|
||||||
|
namespace ManaTombs
|
||||||
|
{
|
||||||
class instance_mana_tombs : public InstanceMapScript
|
class instance_mana_tombs : public InstanceMapScript
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -38,8 +40,10 @@ class instance_mana_tombs : public InstanceMapScript
|
|||||||
return new instance_mana_tombs_InstanceMapScript(map);
|
return new instance_mana_tombs_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_mana_tombs()
|
void AddSC_instance_mana_tombs()
|
||||||
{
|
{
|
||||||
|
using namespace ManaTombs;
|
||||||
new instance_mana_tombs();
|
new instance_mana_tombs();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace ManaTombs
|
||||||
|
{
|
||||||
#define MTScriptName "instance_mana_tombs"
|
#define MTScriptName "instance_mana_tombs"
|
||||||
#define DataHeader "MT"
|
#define DataHeader "MT"
|
||||||
|
|
||||||
@@ -39,5 +41,6 @@ inline AI* GetManaTombsAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, MTScriptName);
|
return GetInstanceAI<AI>(obj, MTScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif // MANA_TOMBS_H_
|
#endif // MANA_TOMBS_H_
|
||||||
@@ -26,6 +26,8 @@ Category: Auchindoun, Sethekk Halls
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "sethekk_halls.h"
|
#include "sethekk_halls.h"
|
||||||
|
|
||||||
|
namespace SethekkHalls::Anzu
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_SUMMON_BROOD = 0,
|
SAY_SUMMON_BROOD = 0,
|
||||||
@@ -170,8 +172,11 @@ class boss_anzu : public CreatureScript
|
|||||||
return GetSethekkHallsAI<boss_anzuAI>(creature);
|
return GetSethekkHallsAI<boss_anzuAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_anzu()
|
void AddSC_boss_anzu()
|
||||||
{
|
{
|
||||||
|
using namespace SethekkHalls;
|
||||||
|
using namespace SethekkHalls::Anzu;
|
||||||
new boss_anzu();
|
new boss_anzu();
|
||||||
}
|
}
|
||||||
@@ -26,6 +26,8 @@ EndScriptData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "sethekk_halls.h"
|
#include "sethekk_halls.h"
|
||||||
|
|
||||||
|
namespace SethekkHalls::DearkweaverSyth
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_SUMMON = 0,
|
SAY_SUMMON = 0,
|
||||||
@@ -436,9 +438,12 @@ public:
|
|||||||
return GetSethekkHallsAI<npc_syth_shadowAI>(creature);
|
return GetSethekkHallsAI<npc_syth_shadowAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_darkweaver_syth()
|
void AddSC_boss_darkweaver_syth()
|
||||||
{
|
{
|
||||||
|
using namespace SethekkHalls;
|
||||||
|
using namespace SethekkHalls::DearkweaverSyth;
|
||||||
new boss_darkweaver_syth();
|
new boss_darkweaver_syth();
|
||||||
new npc_syth_fire();
|
new npc_syth_fire();
|
||||||
new npc_syth_arcane();
|
new npc_syth_arcane();
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "sethekk_halls.h"
|
#include "sethekk_halls.h"
|
||||||
|
|
||||||
|
namespace SethekkHalls::TalonKingIkiss
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -202,9 +204,12 @@ class spell_talon_king_ikiss_blink : public SpellScriptLoader
|
|||||||
return new spell_talon_king_ikiss_blink_SpellScript();
|
return new spell_talon_king_ikiss_blink_SpellScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_talon_king_ikiss()
|
void AddSC_boss_talon_king_ikiss()
|
||||||
{
|
{
|
||||||
|
using namespace SethekkHalls;
|
||||||
|
using namespace SethekkHalls::TalonKingIkiss;
|
||||||
new boss_talon_king_ikiss();
|
new boss_talon_king_ikiss();
|
||||||
new spell_talon_king_ikiss_blink();
|
new spell_talon_king_ikiss_blink();
|
||||||
}
|
}
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "sethekk_halls.h"
|
#include "sethekk_halls.h"
|
||||||
|
|
||||||
|
namespace SethekkHalls
|
||||||
|
{
|
||||||
DoorData const doorData[] =
|
DoorData const doorData[] =
|
||||||
{
|
{
|
||||||
{ GO_IKISS_DOOR, DATA_TALON_KING_IKISS, DOOR_TYPE_PASSAGE },
|
{ GO_IKISS_DOOR, DATA_TALON_KING_IKISS, DOOR_TYPE_PASSAGE },
|
||||||
@@ -88,8 +90,10 @@ class instance_sethekk_halls : public InstanceMapScript
|
|||||||
return new instance_sethekk_halls_InstanceMapScript(map);
|
return new instance_sethekk_halls_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_sethekk_halls()
|
void AddSC_instance_sethekk_halls()
|
||||||
{
|
{
|
||||||
|
using namespace SethekkHalls;
|
||||||
new instance_sethekk_halls();
|
new instance_sethekk_halls();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace SethekkHalls
|
||||||
|
{
|
||||||
#define SHScriptName "instance_sethekk_halls"
|
#define SHScriptName "instance_sethekk_halls"
|
||||||
#define DataHeader "SH"
|
#define DataHeader "SH"
|
||||||
|
|
||||||
@@ -53,5 +55,6 @@ inline AI* GetSethekkHallsAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, SHScriptName);
|
return GetInstanceAI<AI>(obj, SHScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif // SETHEKK_HALLS_H_
|
#endif // SETHEKK_HALLS_H_
|
||||||
@@ -27,6 +27,8 @@ EndScriptData */
|
|||||||
#include "ScriptedEscortAI.h"
|
#include "ScriptedEscortAI.h"
|
||||||
#include "shadow_labyrinth.h"
|
#include "shadow_labyrinth.h"
|
||||||
|
|
||||||
|
namespace ShadowLabyrinth::AmbassadorHellmaw
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -185,8 +187,11 @@ class boss_ambassador_hellmaw : public CreatureScript
|
|||||||
return GetShadowLabyrinthAI<boss_ambassador_hellmawAI>(creature);
|
return GetShadowLabyrinthAI<boss_ambassador_hellmawAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_ambassador_hellmaw()
|
void AddSC_boss_ambassador_hellmaw()
|
||||||
{
|
{
|
||||||
|
using namespace ShadowLabyrinth;
|
||||||
|
using namespace ShadowLabyrinth::AmbassadorHellmaw;
|
||||||
new boss_ambassador_hellmaw();
|
new boss_ambassador_hellmaw();
|
||||||
}
|
}
|
||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "shadow_labyrinth.h"
|
#include "shadow_labyrinth.h"
|
||||||
|
|
||||||
|
namespace ShadowLabyrinth::BlackheartTheInciter
|
||||||
|
{
|
||||||
enum BlackheartTheInciter
|
enum BlackheartTheInciter
|
||||||
{
|
{
|
||||||
SPELL_INCITE_CHAOS = 33676,
|
SPELL_INCITE_CHAOS = 33676,
|
||||||
@@ -220,9 +222,12 @@ class spell_blackheart_incite_chaos : public SpellScript
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const uint32 spell_blackheart_incite_chaos::INCITE_SPELLS[spell_blackheart_incite_chaos::NUM_INCITE_SPELLS] = { 33677,33680,33681,33682,33683 };
|
const uint32 spell_blackheart_incite_chaos::INCITE_SPELLS[spell_blackheart_incite_chaos::NUM_INCITE_SPELLS] = { 33677,33680,33681,33682,33683 };
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_blackheart_the_inciter()
|
void AddSC_boss_blackheart_the_inciter()
|
||||||
{
|
{
|
||||||
|
using namespace ShadowLabyrinth;
|
||||||
|
using namespace ShadowLabyrinth::BlackheartTheInciter;
|
||||||
RegisterCreatureAIWithFactory(boss_blackheart_the_inciter, GetShadowLabyrinthAI);
|
RegisterCreatureAIWithFactory(boss_blackheart_the_inciter, GetShadowLabyrinthAI);
|
||||||
RegisterCreatureAIWithFactory(boss_blackheart_the_inciter_mc_dummy, GetShadowLabyrinthAI);
|
RegisterCreatureAIWithFactory(boss_blackheart_the_inciter_mc_dummy, GetShadowLabyrinthAI);
|
||||||
RegisterSpellScript(spell_blackheart_incite_chaos);
|
RegisterSpellScript(spell_blackheart_incite_chaos);
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ Category: Auchindoun, Shadow Labyrinth
|
|||||||
#include "shadow_labyrinth.h"
|
#include "shadow_labyrinth.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace ShadowLabyrinth::GrandmasterVorpil
|
||||||
|
{
|
||||||
enum GrandmasterVorpil
|
enum GrandmasterVorpil
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -292,9 +294,12 @@ class npc_voidtraveler : public CreatureScript
|
|||||||
return GetShadowLabyrinthAI<npc_voidtravelerAI>(creature);
|
return GetShadowLabyrinthAI<npc_voidtravelerAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_grandmaster_vorpil()
|
void AddSC_boss_grandmaster_vorpil()
|
||||||
{
|
{
|
||||||
|
using namespace ShadowLabyrinth;
|
||||||
|
using namespace ShadowLabyrinth::GrandmasterVorpil;
|
||||||
new boss_grandmaster_vorpil();
|
new boss_grandmaster_vorpil();
|
||||||
new npc_voidtraveler();
|
new npc_voidtraveler();
|
||||||
}
|
}
|
||||||
@@ -28,6 +28,8 @@ EndScriptData */
|
|||||||
#include "shadow_labyrinth.h"
|
#include "shadow_labyrinth.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace ShadowLabyrinth::Murmur
|
||||||
|
{
|
||||||
enum Murmur
|
enum Murmur
|
||||||
{
|
{
|
||||||
// Spell
|
// Spell
|
||||||
@@ -252,9 +254,12 @@ class spell_murmur_thundering_storm : public SpellScriptLoader
|
|||||||
return new spell_murmur_thundering_storm_SpellScript();
|
return new spell_murmur_thundering_storm_SpellScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_murmur()
|
void AddSC_boss_murmur()
|
||||||
{
|
{
|
||||||
|
using namespace ShadowLabyrinth;
|
||||||
|
using namespace ShadowLabyrinth::Murmur;
|
||||||
new boss_murmur();
|
new boss_murmur();
|
||||||
new spell_murmur_sonic_boom();
|
new spell_murmur_sonic_boom();
|
||||||
new spell_murmur_sonic_boom_effect();
|
new spell_murmur_sonic_boom_effect();
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "shadow_labyrinth.h"
|
#include "shadow_labyrinth.h"
|
||||||
|
|
||||||
|
namespace ShadowLabyrinth
|
||||||
|
{
|
||||||
DoorData const doorData[] =
|
DoorData const doorData[] =
|
||||||
{
|
{
|
||||||
{ GO_REFECTORY_DOOR, DATA_BLACKHEART_THE_INCITER, DOOR_TYPE_PASSAGE },
|
{ GO_REFECTORY_DOOR, DATA_BLACKHEART_THE_INCITER, DOOR_TYPE_PASSAGE },
|
||||||
@@ -186,8 +188,10 @@ GuidUnorderedSet const* GetBlackheartDummies(InstanceScript const* s)
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_shadow_labyrinth()
|
void AddSC_instance_shadow_labyrinth()
|
||||||
{
|
{
|
||||||
|
using namespace ShadowLabyrinth;
|
||||||
new instance_shadow_labyrinth();
|
new instance_shadow_labyrinth();
|
||||||
}
|
}
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "Unit.h"
|
#include "Unit.h"
|
||||||
|
|
||||||
|
namespace ShadowLabyrinth
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_MARK_OF_MALICE_TRIGGERED = 33494
|
SPELL_MARK_OF_MALICE_TRIGGERED = 33494
|
||||||
@@ -59,8 +61,10 @@ class spell_mark_of_malice : public SpellScriptLoader
|
|||||||
return new spell_mark_of_malice_AuraScript();
|
return new spell_mark_of_malice_AuraScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_shadow_labyrinth()
|
void AddSC_shadow_labyrinth()
|
||||||
{
|
{
|
||||||
|
using namespace ShadowLabyrinth;
|
||||||
new spell_mark_of_malice();
|
new spell_mark_of_malice();
|
||||||
}
|
}
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
#include "ObjectGuid.h"
|
#include "ObjectGuid.h"
|
||||||
|
|
||||||
|
namespace ShadowLabyrinth
|
||||||
|
{
|
||||||
#define SLScriptName "instance_shadow_labyrinth"
|
#define SLScriptName "instance_shadow_labyrinth"
|
||||||
#define DataHeader "SL"
|
#define DataHeader "SL"
|
||||||
|
|
||||||
@@ -70,5 +72,6 @@ inline AI* GetShadowLabyrinthAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, SLScriptName);
|
return GetInstanceAI<AI>(obj, SLScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif // SHADOW_LABYRINTH_H_
|
#endif // SHADOW_LABYRINTH_H_
|
||||||
@@ -22,6 +22,8 @@
|
|||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace BlackTemple
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
// Wrathbone Flayer
|
// Wrathbone Flayer
|
||||||
@@ -268,9 +270,11 @@ class spell_illidari_nightlord_shadow_inferno : public AuraScript
|
|||||||
OnEffectPeriodic.Register(&spell_illidari_nightlord_shadow_inferno::OnPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL);
|
OnEffectPeriodic.Register(&spell_illidari_nightlord_shadow_inferno::OnPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_black_temple()
|
void AddSC_black_temple()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
RegisterBlackTempleCreatureAI(npc_wrathbone_flayer);
|
RegisterBlackTempleCreatureAI(npc_wrathbone_flayer);
|
||||||
RegisterBlackTempleCreatureAI(npc_angered_soul_fragment);
|
RegisterBlackTempleCreatureAI(npc_angered_soul_fragment);
|
||||||
RegisterSpellScript(spell_soul_fragment_anger);
|
RegisterSpellScript(spell_soul_fragment_anger);
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace BlackTemple
|
||||||
|
{
|
||||||
#define BTScriptName "instance_black_temple"
|
#define BTScriptName "instance_black_temple"
|
||||||
#define DataHeader "BT"
|
#define DataHeader "BT"
|
||||||
|
|
||||||
@@ -148,5 +150,6 @@ inline AI* GetBlackTempleAI(T* obj)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define RegisterBlackTempleCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBlackTempleAI)
|
#define RegisterBlackTempleCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBlackTempleAI)
|
||||||
|
}
|
||||||
|
|
||||||
#endif // BLACK_TEMPLE_H_
|
#endif // BLACK_TEMPLE_H_
|
||||||
@@ -23,6 +23,8 @@
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::GurtoggBloodboil
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -353,9 +355,12 @@ class spell_gurtogg_bloodboil_insignificance : public SpellScript
|
|||||||
OnObjectAreaTargetSelect.Register(&spell_gurtogg_bloodboil_insignificance::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
|
OnObjectAreaTargetSelect.Register(&spell_gurtogg_bloodboil_insignificance::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_gurtogg_bloodboil()
|
void AddSC_boss_gurtogg_bloodboil()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::GurtoggBloodboil;
|
||||||
RegisterBlackTempleCreatureAI(boss_gurtogg_bloodboil);
|
RegisterBlackTempleCreatureAI(boss_gurtogg_bloodboil);
|
||||||
RegisterBlackTempleCreatureAI(npc_fel_geyser);
|
RegisterBlackTempleCreatureAI(npc_fel_geyser);
|
||||||
RegisterSpellScript(spell_gurtogg_bloodboil_bloodboil);
|
RegisterSpellScript(spell_gurtogg_bloodboil_bloodboil);
|
||||||
|
|||||||
@@ -31,6 +31,8 @@
|
|||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::Illidan
|
||||||
|
{
|
||||||
enum IllidanSay
|
enum IllidanSay
|
||||||
{
|
{
|
||||||
// Illidan
|
// Illidan
|
||||||
@@ -2313,9 +2315,12 @@ class spell_illidan_despawn_akama : public SpellScript
|
|||||||
OnEffectHitTarget.Register(&spell_illidan_despawn_akama::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
|
OnEffectHitTarget.Register(&spell_illidan_despawn_akama::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_illidan()
|
void AddSC_boss_illidan()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::Illidan;
|
||||||
RegisterBlackTempleCreatureAI(boss_illidan_stormrage);
|
RegisterBlackTempleCreatureAI(boss_illidan_stormrage);
|
||||||
RegisterBlackTempleCreatureAI(npc_akama_illidan);
|
RegisterBlackTempleCreatureAI(npc_akama_illidan);
|
||||||
RegisterBlackTempleCreatureAI(npc_parasitic_shadowfiend);
|
RegisterBlackTempleCreatureAI(npc_parasitic_shadowfiend);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@
|
|||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::IllidariCouncil
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_COUNCIL_AGRO = 0,
|
SAY_COUNCIL_AGRO = 0,
|
||||||
@@ -773,9 +775,12 @@ class spell_illidari_dampen_magic : public AuraScript
|
|||||||
OnEffectRemove.Register(&spell_illidari_dampen_magic::OnRemove, EFFECT_0, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, AURA_EFFECT_HANDLE_REAL);
|
OnEffectRemove.Register(&spell_illidari_dampen_magic::OnRemove, EFFECT_0, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, AURA_EFFECT_HANDLE_REAL);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_illidari_council()
|
void AddSC_boss_illidari_council()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::IllidariCouncil;
|
||||||
RegisterBlackTempleCreatureAI(boss_illidari_council);
|
RegisterBlackTempleCreatureAI(boss_illidari_council);
|
||||||
RegisterBlackTempleCreatureAI(boss_gathios_the_shatterer);
|
RegisterBlackTempleCreatureAI(boss_gathios_the_shatterer);
|
||||||
RegisterBlackTempleCreatureAI(boss_lady_malande);
|
RegisterBlackTempleCreatureAI(boss_lady_malande);
|
||||||
|
|||||||
@@ -23,6 +23,8 @@
|
|||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "GridNotifiers.h"
|
#include "GridNotifiers.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::MotherShahraz
|
||||||
|
{
|
||||||
enum Texts
|
enum Texts
|
||||||
{
|
{
|
||||||
SAY_TAUNT = 0,
|
SAY_TAUNT = 0,
|
||||||
@@ -306,9 +308,12 @@ class spell_mother_shahraz_random_periodic : public AuraScript
|
|||||||
OnEffectPeriodic.Register(&spell_mother_shahraz_random_periodic::OnPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL);
|
OnEffectPeriodic.Register(&spell_mother_shahraz_random_periodic::OnPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_mother_shahraz()
|
void AddSC_boss_mother_shahraz()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::MotherShahraz;
|
||||||
RegisterBlackTempleCreatureAI(boss_mother_shahraz);
|
RegisterBlackTempleCreatureAI(boss_mother_shahraz);
|
||||||
RegisterSpellScript(spell_mother_shahraz_fatal_attraction);
|
RegisterSpellScript(spell_mother_shahraz_fatal_attraction);
|
||||||
RegisterSpellScript(spell_mother_shahraz_fatal_attraction_link);
|
RegisterSpellScript(spell_mother_shahraz_fatal_attraction_link);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@
|
|||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::ReliquaryOfSouls
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
// Essence of Suffering
|
// Essence of Suffering
|
||||||
@@ -798,9 +800,12 @@ class spell_reliquary_of_souls_frenzy : public SpellScript
|
|||||||
AfterCast.Register(&spell_reliquary_of_souls_frenzy::HandleAfterCast);
|
AfterCast.Register(&spell_reliquary_of_souls_frenzy::HandleAfterCast);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_reliquary_of_souls()
|
void AddSC_boss_reliquary_of_souls()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::ReliquaryOfSouls;
|
||||||
RegisterBlackTempleCreatureAI(boss_reliquary_of_souls);
|
RegisterBlackTempleCreatureAI(boss_reliquary_of_souls);
|
||||||
RegisterBlackTempleCreatureAI(boss_essence_of_suffering);
|
RegisterBlackTempleCreatureAI(boss_essence_of_suffering);
|
||||||
RegisterBlackTempleCreatureAI(boss_essence_of_desire);
|
RegisterBlackTempleCreatureAI(boss_essence_of_desire);
|
||||||
|
|||||||
@@ -29,6 +29,8 @@
|
|||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::ShadeOfAkama
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
// Akama
|
// Akama
|
||||||
@@ -1116,9 +1118,12 @@ class spell_shade_soul_channel : public AuraScript
|
|||||||
AfterEffectApply.Register(&spell_shade_soul_channel::OnApply, EFFECT_0, SPELL_AURA_MOD_DECREASE_SPEED, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK);
|
AfterEffectApply.Register(&spell_shade_soul_channel::OnApply, EFFECT_0, SPELL_AURA_MOD_DECREASE_SPEED, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_shade_of_akama()
|
void AddSC_boss_shade_of_akama()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::ShadeOfAkama;
|
||||||
RegisterBlackTempleCreatureAI(boss_shade_of_akama);
|
RegisterBlackTempleCreatureAI(boss_shade_of_akama);
|
||||||
RegisterBlackTempleCreatureAI(npc_akama_shade);
|
RegisterBlackTempleCreatureAI(npc_akama_shade);
|
||||||
RegisterBlackTempleCreatureAI(npc_ashtongue_channeler);
|
RegisterBlackTempleCreatureAI(npc_ashtongue_channeler);
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#include "PassiveAI.h"
|
#include "PassiveAI.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::Supremus
|
||||||
|
{
|
||||||
enum Texts
|
enum Texts
|
||||||
{
|
{
|
||||||
EMOTE_NEW_TARGET = 0,
|
EMOTE_NEW_TARGET = 0,
|
||||||
@@ -218,9 +220,12 @@ struct npc_volcano : public NullCreatureAI
|
|||||||
private:
|
private:
|
||||||
TaskScheduler _scheduler;
|
TaskScheduler _scheduler;
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_supremus()
|
void AddSC_boss_supremus()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::Supremus;
|
||||||
RegisterBlackTempleCreatureAI(boss_supremus);
|
RegisterBlackTempleCreatureAI(boss_supremus);
|
||||||
RegisterBlackTempleCreatureAI(npc_molten_flame);
|
RegisterBlackTempleCreatureAI(npc_molten_flame);
|
||||||
RegisterBlackTempleCreatureAI(npc_volcano);
|
RegisterBlackTempleCreatureAI(npc_volcano);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::TeronGorefiend
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -434,9 +436,12 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_teron_gorefiend()
|
void AddSC_boss_teron_gorefiend()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::TeronGorefiend;
|
||||||
RegisterBlackTempleCreatureAI(boss_teron_gorefiend);
|
RegisterBlackTempleCreatureAI(boss_teron_gorefiend);
|
||||||
RegisterBlackTempleCreatureAI(npc_doom_blossom);
|
RegisterBlackTempleCreatureAI(npc_doom_blossom);
|
||||||
RegisterBlackTempleCreatureAI(npc_shadowy_construct);
|
RegisterBlackTempleCreatureAI(npc_shadowy_construct);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "SpellInfo.h"
|
#include "SpellInfo.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace BlackTemple::WarlordNajentus
|
||||||
|
{
|
||||||
enum Texts
|
enum Texts
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -223,9 +225,12 @@ class spell_najentus_needle_spine : public SpellScript
|
|||||||
OnEffectHitTarget.Register(&spell_najentus_needle_spine::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
|
OnEffectHitTarget.Register(&spell_najentus_needle_spine::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_najentus()
|
void AddSC_boss_najentus()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
|
using namespace BlackTemple::WarlordNajentus;
|
||||||
RegisterBlackTempleCreatureAI(boss_najentus);
|
RegisterBlackTempleCreatureAI(boss_najentus);
|
||||||
RegisterGameObjectAI(go_najentus_spine);
|
RegisterGameObjectAI(go_najentus_spine);
|
||||||
RegisterSpellScript(spell_najentus_needle_spine);
|
RegisterSpellScript(spell_najentus_needle_spine);
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
|
|
||||||
|
namespace BlackTemple
|
||||||
|
{
|
||||||
DoorData const doorData[] =
|
DoorData const doorData[] =
|
||||||
{
|
{
|
||||||
{ GO_NAJENTUS_GATE, DATA_HIGH_WARLORD_NAJENTUS, DOOR_TYPE_PASSAGE },
|
{ GO_NAJENTUS_GATE, DATA_HIGH_WARLORD_NAJENTUS, DOOR_TYPE_PASSAGE },
|
||||||
@@ -237,8 +239,10 @@ class instance_black_temple : public InstanceMapScript
|
|||||||
return new instance_black_temple_InstanceMapScript(map);
|
return new instance_black_temple_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_black_temple()
|
void AddSC_instance_black_temple()
|
||||||
{
|
{
|
||||||
|
using namespace BlackTemple;
|
||||||
new instance_black_temple();
|
new instance_black_temple();
|
||||||
}
|
}
|
||||||
+5
@@ -30,6 +30,8 @@ EndScriptData */
|
|||||||
#include "serpent_shrine.h"
|
#include "serpent_shrine.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine::FathomlordKarathress
|
||||||
|
{
|
||||||
enum FathomlordKarathress
|
enum FathomlordKarathress
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -713,9 +715,12 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_fathomlord_karathress()
|
void AddSC_boss_fathomlord_karathress()
|
||||||
{
|
{
|
||||||
|
using namespace SerpentShrine;
|
||||||
|
using namespace SerpentShrine::FathomlordKarathress;
|
||||||
new boss_fathomlord_karathress();
|
new boss_fathomlord_karathress();
|
||||||
new boss_fathomguard_sharkkis();
|
new boss_fathomguard_sharkkis();
|
||||||
new boss_fathomguard_tidalvess();
|
new boss_fathomguard_tidalvess();
|
||||||
|
|||||||
+5
@@ -29,6 +29,8 @@ EndScriptData */
|
|||||||
#include "serpent_shrine.h"
|
#include "serpent_shrine.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine::HydrossTheUnstable
|
||||||
|
{
|
||||||
enum HydrossTheUnstable
|
enum HydrossTheUnstable
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -404,8 +406,11 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_hydross_the_unstable()
|
void AddSC_boss_hydross_the_unstable()
|
||||||
{
|
{
|
||||||
|
using namespace SerpentShrine;
|
||||||
|
using namespace SerpentShrine::HydrossTheUnstable;
|
||||||
new boss_hydross_the_unstable();
|
new boss_hydross_the_unstable();
|
||||||
}
|
}
|
||||||
@@ -35,6 +35,8 @@ EndScriptData */
|
|||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
#include "WorldSession.h"
|
#include "WorldSession.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine::LadyVashj
|
||||||
|
{
|
||||||
enum LadyVashj
|
enum LadyVashj
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -955,9 +957,12 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_lady_vashj()
|
void AddSC_boss_lady_vashj()
|
||||||
{
|
{
|
||||||
|
using namespace SerpentShrine;
|
||||||
|
using namespace SerpentShrine::LadyVashj;
|
||||||
new boss_lady_vashj();
|
new boss_lady_vashj();
|
||||||
new npc_enchanted_elemental();
|
new npc_enchanted_elemental();
|
||||||
new npc_tainted_elemental();
|
new npc_tainted_elemental();
|
||||||
|
|||||||
+5
@@ -32,6 +32,8 @@ EndScriptData */
|
|||||||
#include "serpent_shrine.h"
|
#include "serpent_shrine.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine::LeotherasTheBlind
|
||||||
|
{
|
||||||
enum LeotherasTheBlind
|
enum LeotherasTheBlind
|
||||||
{
|
{
|
||||||
// Spells used by Leotheras The Blind
|
// Spells used by Leotheras The Blind
|
||||||
@@ -810,9 +812,12 @@ public:
|
|||||||
void JustDied(Unit* /*killer*/) override { }
|
void JustDied(Unit* /*killer*/) override { }
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_leotheras_the_blind()
|
void AddSC_boss_leotheras_the_blind()
|
||||||
{
|
{
|
||||||
|
using namespace SerpentShrine;
|
||||||
|
using namespace SerpentShrine::LeotherasTheBlind;
|
||||||
new boss_leotheras_the_blind();
|
new boss_leotheras_the_blind();
|
||||||
new boss_leotheras_the_blind_demonform();
|
new boss_leotheras_the_blind_demonform();
|
||||||
new npc_greyheart_spellbinder();
|
new npc_greyheart_spellbinder();
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ EndScriptData */
|
|||||||
#include "Spell.h"
|
#include "Spell.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine::LurkerBelow
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_SPOUT = 37433,
|
SPELL_SPOUT = 37433,
|
||||||
@@ -481,9 +483,12 @@ class go_strange_pool : public GameObjectScript
|
|||||||
return GetSerpentshrineCavernAI<go_strange_poolAI>(go);
|
return GetSerpentshrineCavernAI<go_strange_poolAI>(go);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_the_lurker_below()
|
void AddSC_boss_the_lurker_below()
|
||||||
{
|
{
|
||||||
|
using namespace SerpentShrine;
|
||||||
|
using namespace SerpentShrine::LurkerBelow;
|
||||||
new boss_the_lurker_below();
|
new boss_the_lurker_below();
|
||||||
new npc_coilfang_ambusher();
|
new npc_coilfang_ambusher();
|
||||||
new go_strange_pool();
|
new go_strange_pool();
|
||||||
|
|||||||
+5
@@ -29,6 +29,8 @@ EndScriptData */
|
|||||||
#include "serpent_shrine.h"
|
#include "serpent_shrine.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine::MorogrimTidewalker
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
// Yell
|
// Yell
|
||||||
@@ -364,9 +366,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_morogrim_tidewalker()
|
void AddSC_boss_morogrim_tidewalker()
|
||||||
{
|
{
|
||||||
|
using namespace SerpentShrine;
|
||||||
|
using namespace SerpentShrine::MorogrimTidewalker;
|
||||||
new boss_morogrim_tidewalker();
|
new boss_morogrim_tidewalker();
|
||||||
new npc_water_globule();
|
new npc_water_globule();
|
||||||
}
|
}
|
||||||
@@ -32,6 +32,8 @@ EndScriptData */
|
|||||||
#include "serpent_shrine.h"
|
#include "serpent_shrine.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine
|
||||||
|
{
|
||||||
#define MAX_ENCOUNTER 6
|
#define MAX_ENCOUNTER 6
|
||||||
|
|
||||||
enum Misc
|
enum Misc
|
||||||
@@ -445,9 +447,11 @@ class instance_serpent_shrine : public InstanceMapScript
|
|||||||
return new instance_serpentshrine_cavern_InstanceMapScript(map);
|
return new instance_serpentshrine_cavern_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_serpentshrine_cavern()
|
void AddSC_instance_serpentshrine_cavern()
|
||||||
{
|
{
|
||||||
|
using namespace SerpentShrine;
|
||||||
new instance_serpent_shrine();
|
new instance_serpent_shrine();
|
||||||
new go_bridge_console();
|
new go_bridge_console();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace SerpentShrine
|
||||||
|
{
|
||||||
#define SSCScriptName "instance_serpent_shrine"
|
#define SSCScriptName "instance_serpent_shrine"
|
||||||
#define DataHeader "SS"
|
#define DataHeader "SS"
|
||||||
|
|
||||||
@@ -64,5 +66,6 @@ inline AI* GetSerpentshrineCavernAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, SSCScriptName);
|
return GetInstanceAI<AI>(obj, SSCScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -19,6 +19,8 @@
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "steam_vault.h"
|
#include "steam_vault.h"
|
||||||
|
|
||||||
|
namespace SteamVault::HydromancerThespia
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_SUMMON = 0,
|
SAY_SUMMON = 0,
|
||||||
@@ -178,9 +180,12 @@ class npc_coilfang_waterelemental : public CreatureScript
|
|||||||
return GetSteamVaultAI<npc_coilfang_waterelementalAI>(creature);
|
return GetSteamVaultAI<npc_coilfang_waterelementalAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_hydromancer_thespia()
|
void AddSC_boss_hydromancer_thespia()
|
||||||
{
|
{
|
||||||
|
using namespace SteamVault;
|
||||||
|
using namespace SteamVault::HydromancerThespia;
|
||||||
new boss_hydromancer_thespia();
|
new boss_hydromancer_thespia();
|
||||||
new npc_coilfang_waterelemental();
|
new npc_coilfang_waterelemental();
|
||||||
}
|
}
|
||||||
@@ -28,6 +28,8 @@ EndScriptData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "steam_vault.h"
|
#include "steam_vault.h"
|
||||||
|
|
||||||
|
namespace SteamVault::MekgineerSteamrigger
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_MECHANICS = 0,
|
SAY_MECHANICS = 0,
|
||||||
@@ -271,9 +273,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_mekgineer_steamrigger()
|
void AddSC_boss_mekgineer_steamrigger()
|
||||||
{
|
{
|
||||||
|
using namespace SteamVault;
|
||||||
|
using namespace SteamVault::MekgineerSteamrigger;
|
||||||
new boss_mekgineer_steamrigger();
|
new boss_mekgineer_steamrigger();
|
||||||
new npc_steamrigger_mechanic();
|
new npc_steamrigger_mechanic();
|
||||||
}
|
}
|
||||||
@@ -28,6 +28,8 @@ EndScriptData */
|
|||||||
#include "SpellInfo.h"
|
#include "SpellInfo.h"
|
||||||
#include "steam_vault.h"
|
#include "steam_vault.h"
|
||||||
|
|
||||||
|
namespace SteamVault::WarlordKalithresh
|
||||||
|
{
|
||||||
enum NagaDistiller
|
enum NagaDistiller
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -200,9 +202,12 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_warlord_kalithresh()
|
void AddSC_boss_warlord_kalithresh()
|
||||||
{
|
{
|
||||||
|
using namespace SteamVault;
|
||||||
|
using namespace SteamVault::WarlordKalithresh;
|
||||||
new npc_naga_distiller();
|
new npc_naga_distiller();
|
||||||
new boss_warlord_kalithresh();
|
new boss_warlord_kalithresh();
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,8 @@
|
|||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "steam_vault.h"
|
#include "steam_vault.h"
|
||||||
|
|
||||||
|
namespace SteamVault
|
||||||
|
{
|
||||||
class go_main_chambers_access_panel : public GameObjectScript
|
class go_main_chambers_access_panel : public GameObjectScript
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -190,9 +192,11 @@ class instance_steam_vault : public InstanceMapScript
|
|||||||
return new instance_steam_vault_InstanceMapScript(map);
|
return new instance_steam_vault_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_steam_vault()
|
void AddSC_instance_steam_vault()
|
||||||
{
|
{
|
||||||
|
using namespace SteamVault;
|
||||||
new go_main_chambers_access_panel();
|
new go_main_chambers_access_panel();
|
||||||
new instance_steam_vault();
|
new instance_steam_vault();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace SteamVault
|
||||||
|
{
|
||||||
#define SteamVaultScriptName "instance_steam_vault"
|
#define SteamVaultScriptName "instance_steam_vault"
|
||||||
#define DataHeader "SV"
|
#define DataHeader "SV"
|
||||||
|
|
||||||
@@ -56,5 +58,5 @@ inline AI* GetSteamVaultAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, SteamVaultScriptName);
|
return GetInstanceAI<AI>(obj, SteamVaultScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -33,6 +33,8 @@
|
|||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
#include "the_slave_pens.h"
|
#include "the_slave_pens.h"
|
||||||
|
|
||||||
|
namespace TheSlavePens::Ahune
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
// Ahune
|
// Ahune
|
||||||
@@ -1012,9 +1014,12 @@ public:
|
|||||||
return new spell_ice_bombardment_dest_picker_SpellScript();
|
return new spell_ice_bombardment_dest_picker_SpellScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_ahune()
|
void AddSC_boss_ahune()
|
||||||
{
|
{
|
||||||
|
using namespace TheSlavePens;
|
||||||
|
using namespace TheSlavePens::Ahune;
|
||||||
new boss_ahune();
|
new boss_ahune();
|
||||||
new npc_frozen_core();
|
new npc_frozen_core();
|
||||||
new npc_earthen_ring_flamecaller();
|
new npc_earthen_ring_flamecaller();
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ EndScriptData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "the_slave_pens.h"
|
#include "the_slave_pens.h"
|
||||||
|
|
||||||
|
namespace TheSlavePens::MennuTheBetrayer
|
||||||
|
{
|
||||||
enum Say
|
enum Say
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -137,8 +139,11 @@ class boss_mennu_the_betrayer : public CreatureScript
|
|||||||
return GetSlavePensAI<boss_mennu_the_betrayerAI>(creature);
|
return GetSlavePensAI<boss_mennu_the_betrayerAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_mennu_the_betrayer()
|
void AddSC_boss_mennu_the_betrayer()
|
||||||
{
|
{
|
||||||
|
using namespace TheSlavePens;
|
||||||
|
using namespace TheSlavePens::MennuTheBetrayer;
|
||||||
new boss_mennu_the_betrayer();
|
new boss_mennu_the_betrayer();
|
||||||
}
|
}
|
||||||
@@ -26,6 +26,8 @@ EndScriptData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "the_slave_pens.h"
|
#include "the_slave_pens.h"
|
||||||
|
|
||||||
|
namespace TheSlavePens::Quagmirran
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_ACID_SPRAY = 38153,
|
SPELL_ACID_SPRAY = 38153,
|
||||||
@@ -120,8 +122,11 @@ class boss_quagmirran : public CreatureScript
|
|||||||
return GetSlavePensAI<boss_quagmirranAI>(creature);
|
return GetSlavePensAI<boss_quagmirranAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_quagmirran()
|
void AddSC_boss_quagmirran()
|
||||||
{
|
{
|
||||||
|
using namespace TheSlavePens;
|
||||||
|
using namespace TheSlavePens::Quagmirran;
|
||||||
new boss_quagmirran();
|
new boss_quagmirran();
|
||||||
}
|
}
|
||||||
@@ -26,6 +26,8 @@ EndScriptData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "the_slave_pens.h"
|
#include "the_slave_pens.h"
|
||||||
|
|
||||||
|
namespace TheSlavePens::RokmarTheCrackler
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_GRIEVOUS_WOUND = 31956,
|
SPELL_GRIEVOUS_WOUND = 31956,
|
||||||
@@ -131,8 +133,11 @@ class boss_rokmar_the_crackler : public CreatureScript
|
|||||||
return GetSlavePensAI<boss_rokmar_the_cracklerAI>(creature);
|
return GetSlavePensAI<boss_rokmar_the_cracklerAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_rokmar_the_crackler()
|
void AddSC_boss_rokmar_the_crackler()
|
||||||
{
|
{
|
||||||
|
using namespace TheSlavePens;
|
||||||
|
using namespace TheSlavePens::RokmarTheCrackler;
|
||||||
new boss_rokmar_the_crackler();
|
new boss_rokmar_the_crackler();
|
||||||
}
|
}
|
||||||
+4
-1
@@ -27,6 +27,8 @@ gets instead the deserter debuff.
|
|||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "the_slave_pens.h"
|
#include "the_slave_pens.h"
|
||||||
|
|
||||||
|
namespace TheSlavePens
|
||||||
|
{
|
||||||
class instance_the_slave_pens : public InstanceMapScript
|
class instance_the_slave_pens : public InstanceMapScript
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -152,8 +154,9 @@ public:
|
|||||||
return new instance_the_slave_pens_InstanceMapScript(map);
|
return new instance_the_slave_pens_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
void AddSC_instance_the_slave_pens()
|
void AddSC_instance_the_slave_pens()
|
||||||
{
|
{
|
||||||
|
using namespace TheSlavePens;
|
||||||
new instance_the_slave_pens();
|
new instance_the_slave_pens();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace TheSlavePens
|
||||||
|
{
|
||||||
uint32 const EncounterCount = 3;
|
uint32 const EncounterCount = 3;
|
||||||
|
|
||||||
#define SPScriptName "instance_the_slave_pens"
|
#define SPScriptName "instance_the_slave_pens"
|
||||||
@@ -73,5 +75,5 @@ inline AI* GetSlavePensAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, SPScriptName);
|
return GetInstanceAI<AI>(obj, SPScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif // SLAVE_PENS_H
|
#endif // SLAVE_PENS_H
|
||||||
@@ -26,6 +26,8 @@ EndScriptData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "the_underbog.h"
|
#include "the_underbog.h"
|
||||||
|
|
||||||
|
namespace TheUnderbog::Hungarfen
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_FOUL_SPORES = 31673,
|
SPELL_FOUL_SPORES = 31673,
|
||||||
@@ -173,9 +175,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_hungarfen()
|
void AddSC_boss_hungarfen()
|
||||||
{
|
{
|
||||||
|
using namespace TheUnderbog;
|
||||||
|
using namespace TheUnderbog::Hungarfen;
|
||||||
new boss_hungarfen();
|
new boss_hungarfen();
|
||||||
new npc_underbog_mushroom();
|
new npc_underbog_mushroom();
|
||||||
}
|
}
|
||||||
@@ -27,6 +27,8 @@ EndScriptData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "the_underbog.h"
|
#include "the_underbog.h"
|
||||||
|
|
||||||
|
namespace TheUnderbog::TheBlackStalker
|
||||||
|
{
|
||||||
enum Spells
|
enum Spells
|
||||||
{
|
{
|
||||||
SPELL_LEVITATE = 31704,
|
SPELL_LEVITATE = 31704,
|
||||||
@@ -194,8 +196,11 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_the_black_stalker()
|
void AddSC_boss_the_black_stalker()
|
||||||
{
|
{
|
||||||
|
using namespace TheUnderbog;
|
||||||
|
using namespace TheUnderbog::TheBlackStalker;
|
||||||
new boss_the_black_stalker();
|
new boss_the_black_stalker();
|
||||||
}
|
}
|
||||||
@@ -26,6 +26,8 @@ gets instead the deserter debuff.
|
|||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "the_underbog.h"
|
#include "the_underbog.h"
|
||||||
|
|
||||||
|
namespace TheUnderbog
|
||||||
|
{
|
||||||
class instance_the_underbog : public InstanceMapScript
|
class instance_the_underbog : public InstanceMapScript
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -41,8 +43,10 @@ public:
|
|||||||
instance_the_underbog_InstanceMapScript(InstanceMap* map) : InstanceScript(map) { }
|
instance_the_underbog_InstanceMapScript(InstanceMap* map) : InstanceScript(map) { }
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_the_underbog()
|
void AddSC_instance_the_underbog()
|
||||||
{
|
{
|
||||||
|
using namespace TheUnderbog;
|
||||||
new instance_the_underbog();
|
new instance_the_underbog();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace TheUnderbog
|
||||||
|
{
|
||||||
#define TheUndebogScriptName "instance_the_underbog"
|
#define TheUndebogScriptName "instance_the_underbog"
|
||||||
|
|
||||||
template <class AI, class T>
|
template <class AI, class T>
|
||||||
@@ -27,5 +29,6 @@ inline AI* GetTheUnderbogAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, TheUndebogScriptName);
|
return GetInstanceAI<AI>(obj, TheUndebogScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif // the_underbog_h__
|
#endif // the_underbog_h__
|
||||||
@@ -29,6 +29,8 @@ EndScriptData */
|
|||||||
#include "SpellInfo.h"
|
#include "SpellInfo.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace GruulsLair::Gruul
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -330,9 +332,12 @@ class spell_gruul_shatter_effect : public SpellScriptLoader
|
|||||||
return new spell_gruul_shatter_effect_SpellScript();
|
return new spell_gruul_shatter_effect_SpellScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_gruul()
|
void AddSC_boss_gruul()
|
||||||
{
|
{
|
||||||
|
using namespace GruulsLair;
|
||||||
|
using namespace GruulsLair::Gruul;
|
||||||
new boss_gruul();
|
new boss_gruul();
|
||||||
new spell_gruul_shatter();
|
new spell_gruul_shatter();
|
||||||
new spell_gruul_shatter_effect();
|
new spell_gruul_shatter_effect();
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ EndScriptData */
|
|||||||
#include "ObjectAccessor.h"
|
#include "ObjectAccessor.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace GruulsLair::HighKingMaulgar
|
||||||
|
{
|
||||||
enum HighKingMaulgar
|
enum HighKingMaulgar
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -577,9 +579,12 @@ public:
|
|||||||
return GetGruulsLairAI<boss_krosh_firehandAI>(creature);
|
return GetGruulsLairAI<boss_krosh_firehandAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_high_king_maulgar()
|
void AddSC_boss_high_king_maulgar()
|
||||||
{
|
{
|
||||||
|
using namespace GruulsLair;
|
||||||
|
using namespace GruulsLair::HighKingMaulgar;
|
||||||
new boss_high_king_maulgar();
|
new boss_high_king_maulgar();
|
||||||
new boss_kiggler_the_crazed();
|
new boss_kiggler_the_crazed();
|
||||||
new boss_blindeye_the_seer();
|
new boss_blindeye_the_seer();
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace GruulsLair
|
||||||
|
{
|
||||||
#define GLScriptName "instance_gruuls_lair"
|
#define GLScriptName "instance_gruuls_lair"
|
||||||
#define DataHeader "GL"
|
#define DataHeader "GL"
|
||||||
|
|
||||||
@@ -52,5 +54,5 @@ inline AI* GetGruulsLairAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, GLScriptName);
|
return GetInstanceAI<AI>(obj, GLScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif // GRUULS_LAIR_H_
|
#endif // GRUULS_LAIR_H_
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
#include "gruuls_lair.h"
|
#include "gruuls_lair.h"
|
||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
|
|
||||||
|
namespace GruulsLair
|
||||||
|
{
|
||||||
DoorData const doorData[] =
|
DoorData const doorData[] =
|
||||||
{
|
{
|
||||||
{ GO_MAULGAR_DOOR, DATA_MAULGAR, DOOR_TYPE_PASSAGE },
|
{ GO_MAULGAR_DOOR, DATA_MAULGAR, DOOR_TYPE_PASSAGE },
|
||||||
@@ -86,8 +88,10 @@ class instance_gruuls_lair : public InstanceMapScript
|
|||||||
return new instance_gruuls_lair_InstanceMapScript(map);
|
return new instance_gruuls_lair_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_gruuls_lair()
|
void AddSC_instance_gruuls_lair()
|
||||||
{
|
{
|
||||||
|
using namespace GruulsLair;
|
||||||
new instance_gruuls_lair();
|
new instance_gruuls_lair();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace BloodFurnace
|
||||||
|
{
|
||||||
#define BFScriptName "instance_blood_furnace"
|
#define BFScriptName "instance_blood_furnace"
|
||||||
#define DataHeader "BF"
|
#define DataHeader "BF"
|
||||||
|
|
||||||
@@ -87,5 +89,6 @@ inline AI* GetBloodFurnaceAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, BFScriptName);
|
return GetInstanceAI<AI>(obj, BFScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif // BLOOD_FURNACE_H_
|
#endif // BLOOD_FURNACE_H_
|
||||||
@@ -25,6 +25,8 @@
|
|||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace BloodFurnace::Broggok
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0
|
SAY_AGGRO = 0
|
||||||
@@ -194,9 +196,12 @@ class spell_broggok_poison_cloud : public SpellScriptLoader
|
|||||||
return new spell_broggok_poison_cloud_AuraScript();
|
return new spell_broggok_poison_cloud_AuraScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_broggok()
|
void AddSC_boss_broggok()
|
||||||
{
|
{
|
||||||
|
using namespace BloodFurnace;
|
||||||
|
using namespace BloodFurnace::Broggok;
|
||||||
new boss_broggok();
|
new boss_broggok();
|
||||||
new go_broggok_lever();
|
new go_broggok_lever();
|
||||||
new spell_broggok_poison_cloud();
|
new spell_broggok_poison_cloud();
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#include "SpellAuras.h"
|
#include "SpellAuras.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace BloodFurnace::KelidanTheBreaker
|
||||||
|
{
|
||||||
enum Kelidan
|
enum Kelidan
|
||||||
{
|
{
|
||||||
SAY_WAKE = 0,
|
SAY_WAKE = 0,
|
||||||
@@ -367,9 +369,12 @@ class npc_shadowmoon_channeler : public CreatureScript
|
|||||||
return GetBloodFurnaceAI<npc_shadowmoon_channelerAI>(creature);
|
return GetBloodFurnaceAI<npc_shadowmoon_channelerAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_kelidan_the_breaker()
|
void AddSC_boss_kelidan_the_breaker()
|
||||||
{
|
{
|
||||||
|
using namespace BloodFurnace;
|
||||||
|
using namespace BloodFurnace::KelidanTheBreaker;
|
||||||
new boss_kelidan_the_breaker();
|
new boss_kelidan_the_breaker();
|
||||||
new npc_shadowmoon_channeler();
|
new npc_shadowmoon_channeler();
|
||||||
}
|
}
|
||||||
@@ -19,6 +19,8 @@
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "blood_furnace.h"
|
#include "blood_furnace.h"
|
||||||
|
|
||||||
|
namespace BloodFurnace::TheMaker
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -107,8 +109,11 @@ class boss_the_maker : public CreatureScript
|
|||||||
return GetBloodFurnaceAI<boss_the_makerAI>(creature);
|
return GetBloodFurnaceAI<boss_the_makerAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_the_maker()
|
void AddSC_boss_the_maker()
|
||||||
{
|
{
|
||||||
|
using namespace BloodFurnace;
|
||||||
|
using namespace BloodFurnace::TheMaker;
|
||||||
new boss_the_maker();
|
new boss_the_maker();
|
||||||
}
|
}
|
||||||
@@ -22,6 +22,8 @@
|
|||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace BloodFurnace
|
||||||
|
{
|
||||||
DoorData const doorData[] =
|
DoorData const doorData[] =
|
||||||
{
|
{
|
||||||
{ GO_PRISON_DOOR_01, DATA_KELIDAN_THE_BREAKER, DOOR_TYPE_PASSAGE },
|
{ GO_PRISON_DOOR_01, DATA_KELIDAN_THE_BREAKER, DOOR_TYPE_PASSAGE },
|
||||||
@@ -317,8 +319,10 @@ class instance_blood_furnace : public InstanceMapScript
|
|||||||
return new instance_blood_furnace_InstanceMapScript(map);
|
return new instance_blood_furnace_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_blood_furnace()
|
void AddSC_instance_blood_furnace()
|
||||||
{
|
{
|
||||||
|
using namespace BloodFurnace;
|
||||||
new instance_blood_furnace();
|
new instance_blood_furnace();
|
||||||
}
|
}
|
||||||
+5
@@ -28,6 +28,8 @@ EndScriptData */
|
|||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace HellfireRamparts::OmorTheUnscarred
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -233,8 +235,11 @@ class boss_omor_the_unscarred : public CreatureScript
|
|||||||
return GetHellfireRampartsAI<boss_omor_the_unscarredAI>(creature);
|
return GetHellfireRampartsAI<boss_omor_the_unscarredAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_omor_the_unscarred()
|
void AddSC_boss_omor_the_unscarred()
|
||||||
{
|
{
|
||||||
|
using namespace HellfireRamparts;
|
||||||
|
using namespace HellfireRamparts::OmorTheUnscarred;
|
||||||
new boss_omor_the_unscarred();
|
new boss_omor_the_unscarred();
|
||||||
}
|
}
|
||||||
+6
@@ -30,6 +30,8 @@ EndScriptData */
|
|||||||
#include "SpellInfo.h"
|
#include "SpellInfo.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace HellfireRamparts::VazrudenTheHerald
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -519,8 +521,12 @@ class npc_hellfire_sentry : public CreatureScript
|
|||||||
return GetHellfireRampartsAI<npc_hellfire_sentryAI>(creature);
|
return GetHellfireRampartsAI<npc_hellfire_sentryAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_vazruden_the_herald()
|
void AddSC_boss_vazruden_the_herald()
|
||||||
{
|
{
|
||||||
|
using namespace HellfireRamparts;
|
||||||
|
using namespace HellfireRamparts::VazrudenTheHerald;
|
||||||
new boss_vazruden_the_herald();
|
new boss_vazruden_the_herald();
|
||||||
new boss_vazruden();
|
new boss_vazruden();
|
||||||
new boss_nazan();
|
new boss_nazan();
|
||||||
|
|||||||
+5
@@ -26,6 +26,8 @@ EndScriptData */
|
|||||||
#include "hellfire_ramparts.h"
|
#include "hellfire_ramparts.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
namespace HellfireRamparts::WatchkeeperGargolmar
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_TAUNT = 0,
|
SAY_TAUNT = 0,
|
||||||
@@ -177,8 +179,11 @@ class boss_watchkeeper_gargolmar : public CreatureScript
|
|||||||
return GetHellfireRampartsAI<boss_watchkeeper_gargolmarAI>(creature);
|
return GetHellfireRampartsAI<boss_watchkeeper_gargolmarAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_watchkeeper_gargolmar()
|
void AddSC_boss_watchkeeper_gargolmar()
|
||||||
{
|
{
|
||||||
|
using namespace HellfireRamparts;
|
||||||
|
using namespace HellfireRamparts::WatchkeeperGargolmar;
|
||||||
new boss_watchkeeper_gargolmar();
|
new boss_watchkeeper_gargolmar();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace HellfireRamparts
|
||||||
|
{
|
||||||
#define HRScriptName "instance_ramparts"
|
#define HRScriptName "instance_ramparts"
|
||||||
#define DataHeader "HR"
|
#define DataHeader "HR"
|
||||||
|
|
||||||
@@ -53,5 +55,6 @@ inline AI* GetHellfireRampartsAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, HRScriptName);
|
return GetInstanceAI<AI>(obj, HRScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
+4
@@ -28,6 +28,8 @@ EndScriptData */
|
|||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
|
|
||||||
|
namespace HellfireRamparts
|
||||||
|
{
|
||||||
class instance_ramparts : public InstanceMapScript
|
class instance_ramparts : public InstanceMapScript
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -80,8 +82,10 @@ class instance_ramparts : public InstanceMapScript
|
|||||||
return new instance_ramparts_InstanceMapScript(map);
|
return new instance_ramparts_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_ramparts()
|
void AddSC_instance_ramparts()
|
||||||
{
|
{
|
||||||
|
using namespace HellfireRamparts;
|
||||||
new instance_ramparts;
|
new instance_ramparts;
|
||||||
}
|
}
|
||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "SpellInfo.h"
|
#include "SpellInfo.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|
||||||
|
namespace MagtheridonsLair::Magtheridon
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_TAUNT = 0,
|
SAY_TAUNT = 0,
|
||||||
@@ -594,9 +596,12 @@ class spell_magtheridon_shadow_grasp_visual : public SpellScriptLoader
|
|||||||
return new spell_magtheridon_shadow_grasp_visual_AuraScript();
|
return new spell_magtheridon_shadow_grasp_visual_AuraScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_magtheridon()
|
void AddSC_boss_magtheridon()
|
||||||
{
|
{
|
||||||
|
using namespace MagtheridonsLair;
|
||||||
|
using namespace MagtheridonsLair::Magtheridon;
|
||||||
new boss_magtheridon();
|
new boss_magtheridon();
|
||||||
new npc_hellfire_channeler();
|
new npc_hellfire_channeler();
|
||||||
new npc_magtheridon_room();
|
new npc_magtheridon_room();
|
||||||
|
|||||||
+4
@@ -24,6 +24,8 @@
|
|||||||
#include "magtheridons_lair.h"
|
#include "magtheridons_lair.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
|
|
||||||
|
namespace MagtheridonsLair
|
||||||
|
{
|
||||||
BossBoundaryData const boundaries =
|
BossBoundaryData const boundaries =
|
||||||
{
|
{
|
||||||
{ DATA_MAGTHERIDON, new CircleBoundary(Position(-18.70f, 2.24f), 52.30) }
|
{ DATA_MAGTHERIDON, new CircleBoundary(Position(-18.70f, 2.24f), 52.30) }
|
||||||
@@ -141,8 +143,10 @@ class instance_magtheridons_lair : public InstanceMapScript
|
|||||||
return new instance_magtheridons_lair_InstanceMapScript(map);
|
return new instance_magtheridons_lair_InstanceMapScript(map);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_magtheridons_lair()
|
void AddSC_instance_magtheridons_lair()
|
||||||
{
|
{
|
||||||
|
using namespace MagtheridonsLair;
|
||||||
new instance_magtheridons_lair();
|
new instance_magtheridons_lair();
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace MagtheridonsLair
|
||||||
|
{
|
||||||
#define MLScriptName "instance_magtheridons_lair"
|
#define MLScriptName "instance_magtheridons_lair"
|
||||||
#define DataHeader "ML"
|
#define DataHeader "ML"
|
||||||
|
|
||||||
@@ -79,5 +81,6 @@ inline AI* GetMagtheridonsLairAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, MLScriptName);
|
return GetInstanceAI<AI>(obj, MLScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -34,6 +34,8 @@ EndContentData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "shattered_halls.h"
|
#include "shattered_halls.h"
|
||||||
|
|
||||||
|
namespace ShatteredHalls::Nethekurse
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_INTRO = 0,
|
SAY_INTRO = 0,
|
||||||
@@ -396,9 +398,12 @@ class npc_lesser_shadow_fissure : public CreatureScript
|
|||||||
return GetShatteredHallsAI<npc_lesser_shadow_fissureAI>(creature);
|
return GetShatteredHallsAI<npc_lesser_shadow_fissureAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_grand_warlock_nethekurse()
|
void AddSC_boss_grand_warlock_nethekurse()
|
||||||
{
|
{
|
||||||
|
using namespace ShatteredHalls;
|
||||||
|
using namespace ShatteredHalls::Nethekurse;
|
||||||
new boss_grand_warlock_nethekurse();
|
new boss_grand_warlock_nethekurse();
|
||||||
new npc_fel_orc_convert();
|
new npc_fel_orc_convert();
|
||||||
new npc_lesser_shadow_fissure();
|
new npc_lesser_shadow_fissure();
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ EndContentData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "shattered_halls.h"
|
#include "shattered_halls.h"
|
||||||
|
|
||||||
|
namespace ShatteredHalls::WarbringerOmrogg
|
||||||
|
{
|
||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
YELL_DIE_L = 0,
|
YELL_DIE_L = 0,
|
||||||
@@ -447,9 +449,12 @@ class npc_omrogg_heads : public CreatureScript
|
|||||||
return GetShatteredHallsAI<npc_omrogg_headsAI>(creature);
|
return GetShatteredHallsAI<npc_omrogg_headsAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_warbringer_omrogg()
|
void AddSC_boss_warbringer_omrogg()
|
||||||
{
|
{
|
||||||
|
using namespace ShatteredHalls;
|
||||||
|
using namespace ShatteredHalls::WarbringerOmrogg;
|
||||||
new boss_warbringer_omrogg();
|
new boss_warbringer_omrogg();
|
||||||
new npc_omrogg_heads();
|
new npc_omrogg_heads();
|
||||||
}
|
}
|
||||||
+5
@@ -33,6 +33,8 @@ EndContentData */
|
|||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "shattered_halls.h"
|
#include "shattered_halls.h"
|
||||||
|
|
||||||
|
namespace ShatteredHalls::WarchiefKargathBladefist
|
||||||
|
{
|
||||||
enum Says
|
enum Says
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
@@ -336,8 +338,11 @@ class boss_warchief_kargath_bladefist : public CreatureScript
|
|||||||
return GetShatteredHallsAI<boss_warchief_kargath_bladefistAI>(creature);
|
return GetShatteredHallsAI<boss_warchief_kargath_bladefistAI>(creature);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_boss_warchief_kargath_bladefist()
|
void AddSC_boss_warchief_kargath_bladefist()
|
||||||
{
|
{
|
||||||
|
using namespace ShatteredHalls;
|
||||||
|
using namespace ShatteredHalls::WarchiefKargathBladefist;
|
||||||
new boss_warchief_kargath_bladefist();
|
new boss_warchief_kargath_bladefist();
|
||||||
}
|
}
|
||||||
@@ -32,6 +32,8 @@ EndScriptData */
|
|||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace ShatteredHalls
|
||||||
|
{
|
||||||
DoorData const doorData[] =
|
DoorData const doorData[] =
|
||||||
{
|
{
|
||||||
{ GO_GRAND_WARLOCK_CHAMBER_DOOR_1, DATA_NETHEKURSE, DOOR_TYPE_PASSAGE },
|
{ GO_GRAND_WARLOCK_CHAMBER_DOOR_1, DATA_NETHEKURSE, DOOR_TYPE_PASSAGE },
|
||||||
@@ -278,8 +280,10 @@ class instance_shattered_halls : public InstanceMapScript
|
|||||||
uint32 _team;
|
uint32 _team;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_instance_shattered_halls()
|
void AddSC_instance_shattered_halls()
|
||||||
{
|
{
|
||||||
|
using namespace ShatteredHalls;
|
||||||
new instance_shattered_halls();
|
new instance_shattered_halls();
|
||||||
}
|
}
|
||||||
@@ -25,6 +25,8 @@
|
|||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
|
|
||||||
|
namespace ShatteredHalls
|
||||||
|
{
|
||||||
class at_nethekurse_exit : public AreaTriggerScript
|
class at_nethekurse_exit : public AreaTriggerScript
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -245,9 +247,11 @@ class spell_remove_kargath_executioner : public SpellScriptLoader
|
|||||||
return new spell_remove_kargath_executioner_SpellScript();
|
return new spell_remove_kargath_executioner_SpellScript();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void AddSC_shattered_halls()
|
void AddSC_shattered_halls()
|
||||||
{
|
{
|
||||||
|
using namespace ShatteredHalls;
|
||||||
new at_nethekurse_exit();
|
new at_nethekurse_exit();
|
||||||
new boss_shattered_executioner();
|
new boss_shattered_executioner();
|
||||||
new spell_kargath_executioner();
|
new spell_kargath_executioner();
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
|
|
||||||
|
namespace ShatteredHalls
|
||||||
|
{
|
||||||
#define SHScriptName "instance_shattered_halls"
|
#define SHScriptName "instance_shattered_halls"
|
||||||
#define DataHeader "SH"
|
#define DataHeader "SH"
|
||||||
|
|
||||||
@@ -117,5 +119,6 @@ inline AI* GetShatteredHallsAI(T* obj)
|
|||||||
{
|
{
|
||||||
return GetInstanceAI<AI>(obj, SHScriptName);
|
return GetInstanceAI<AI>(obj, SHScriptName);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user