Scripts/Outland: moved scripts into their respectice namespace (part 1)
This commit is contained in:
1 parent
c1ac99cc5d
commit
cf80433af8
38 files changed
+170
No files matched your search
@@ -31,6 +31,8 @@ EndScriptData */
|
||||
#include "TemporarySummon.h"
|
||||
#include "the_eye.h"
|
||||
|
||||
namespace Eye::Alar
|
||||
{
|
||||
enum Spells
|
||||
{
|
||||
SPELL_FLAME_BUFFET = 34121, // Flame Buffet - every 1, 5 secs in phase 1 if there is no victim in melee range and after Dive Bomb in phase 2 with same conditions
|
||||
@@ -557,9 +559,12 @@ class npc_flame_patch_alar : public CreatureScript
|
||||
return GetTheEyeAI<npc_flame_patch_alarAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_alar()
|
||||
{
|
||||
using namespace Eye;
|
||||
using namespace Eye::Alar;
|
||||
new boss_alar();
|
||||
new npc_ember_of_alar();
|
||||
new npc_flame_patch_alar();
|
||||
|
||||
@@ -32,6 +32,8 @@ EndScriptData */
|
||||
#include "TemporarySummon.h"
|
||||
#include "the_eye.h"
|
||||
|
||||
namespace Eye::Astromancer
|
||||
{
|
||||
enum Yells
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -536,9 +538,12 @@ class spell_astromancer_wrath_of_the_astromancer : public SpellScriptLoader
|
||||
return new spell_astromancer_wrath_of_the_astromancer_AuraScript();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_high_astromancer_solarian()
|
||||
{
|
||||
using namespace Eye;
|
||||
using namespace Eye::Astromancer;
|
||||
new boss_high_astromancer_solarian();
|
||||
new npc_solarium_priest();
|
||||
new spell_astromancer_wrath_of_the_astromancer();
|
||||
|
||||
@@ -33,6 +33,8 @@ EndScriptData */
|
||||
#include "SpellScript.h"
|
||||
#include "the_eye.h"
|
||||
|
||||
namespace Eye::Kaelthas
|
||||
{
|
||||
enum Yells
|
||||
{
|
||||
// Kael'thas Speech
|
||||
@@ -1486,9 +1488,12 @@ class spell_kael_gravity_lapse : public SpellScriptLoader
|
||||
return new spell_kael_gravity_lapse_SpellScript();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_kaelthas()
|
||||
{
|
||||
using namespace Eye;
|
||||
using namespace Eye::Kaelthas;
|
||||
new boss_kaelthas();
|
||||
new boss_thaladred_the_darkener();
|
||||
new boss_lord_sanguinar();
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "ScriptedCreature.h"
|
||||
#include "the_eye.h"
|
||||
|
||||
namespace Eye::Voidreaver
|
||||
{
|
||||
enum Yells
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -166,8 +168,11 @@ class boss_void_reaver : public CreatureScript
|
||||
return GetTheEyeAI<boss_void_reaverAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_void_reaver()
|
||||
{
|
||||
using namespace Eye;
|
||||
using namespace Eye::Voidreaver;
|
||||
new boss_void_reaver();
|
||||
}
|
||||
@@ -34,6 +34,8 @@ EndScriptData */
|
||||
3 - Void Reaver event
|
||||
*/
|
||||
|
||||
namespace Eye
|
||||
{
|
||||
DoorData const doorData[] =
|
||||
{
|
||||
{ GO_ARCANE_DOOR_LEFT, DATA_KAELTHAS, DOOR_TYPE_ROOM/*, BOUNDARY_SW */ },
|
||||
@@ -123,7 +125,10 @@ class instance_the_eye : public InstanceMapScript
|
||||
return new instance_the_eye_InstanceMapScript(map);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_instance_the_eye()
|
||||
{
|
||||
using namespace Eye;
|
||||
new instance_the_eye;
|
||||
}
|
||||
@@ -30,6 +30,8 @@ EndContentData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "the_eye.h"
|
||||
|
||||
namespace Eye
|
||||
{
|
||||
enum Spells
|
||||
{
|
||||
SPELL_COUNTERCHARGE = 35035,
|
||||
@@ -107,7 +109,10 @@ class npc_crystalcore_devastator : public CreatureScript
|
||||
return GetTheEyeAI<npc_crystalcore_devastatorAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_the_eye()
|
||||
{
|
||||
using namespace Eye;
|
||||
new npc_crystalcore_devastator();
|
||||
}
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "CreatureAIImpl.h"
|
||||
|
||||
namespace Eye
|
||||
{
|
||||
#define TheEyeScriptName "instance_the_eye"
|
||||
#define DataHeader "TE"
|
||||
|
||||
@@ -70,5 +72,6 @@ inline AI* GetTheEyeAI(T* obj)
|
||||
{
|
||||
return GetInstanceAI<AI>(obj, TheEyeScriptName);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -26,6 +26,8 @@ EndScriptData */
|
||||
#include "mechanar.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Mechanar::GatewatcherGyrokill
|
||||
{
|
||||
enum Say
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -123,8 +125,11 @@ class boss_gatewatcher_gyrokill : public CreatureScript
|
||||
return GetMechanarAI<boss_gatewatcher_gyrokillAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_gatewatcher_gyrokill()
|
||||
{
|
||||
using namespace Mechanar;
|
||||
using namespace Mechanar::GatewatcherGyrokill;
|
||||
new boss_gatewatcher_gyrokill();
|
||||
}
|
||||
@@ -26,6 +26,8 @@ EndScriptData */
|
||||
#include "mechanar.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Mechanar::GatewatcherIronhand
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -129,8 +131,11 @@ class boss_gatewatcher_iron_hand : public CreatureScript
|
||||
return GetMechanarAI<boss_gatewatcher_iron_handAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_gatewatcher_iron_hand()
|
||||
{
|
||||
using namespace Mechanar;
|
||||
using namespace Mechanar::GatewatcherIronhand;
|
||||
new boss_gatewatcher_iron_hand();
|
||||
}
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "SpellInfo.h"
|
||||
#include "SpellScript.h"
|
||||
|
||||
namespace Mechanar::MechanoLordCapacitus
|
||||
{
|
||||
enum Spells
|
||||
{
|
||||
SPELL_HEADCRACK = 35161,
|
||||
@@ -255,9 +257,12 @@ class spell_capacitus_polarity_shift : public SpellScriptLoader
|
||||
return new spell_capacitus_polarity_shift_SpellScript();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_mechano_lord_capacitus()
|
||||
{
|
||||
using namespace Mechanar;
|
||||
using namespace Mechanar::MechanoLordCapacitus;
|
||||
new boss_mechano_lord_capacitus();
|
||||
new spell_capacitus_polarity_charge();
|
||||
new spell_capacitus_polarity_shift();
|
||||
|
||||
@@ -28,6 +28,8 @@ EndScriptData */
|
||||
#include "MotionMaster.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Mechanar::NethermancerSepethrea
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -232,9 +234,12 @@ class npc_ragin_flames : public CreatureScript
|
||||
return GetMechanarAI<npc_ragin_flamesAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_nethermancer_sepethrea()
|
||||
{
|
||||
using namespace Mechanar;
|
||||
using namespace Mechanar::NethermancerSepethrea;
|
||||
new boss_nethermancer_sepethrea();
|
||||
new npc_ragin_flames();
|
||||
}
|
||||
@@ -27,6 +27,8 @@ EndScriptData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
namespace Mechanar::PathaleonTheCalculator
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -246,9 +248,12 @@ class npc_nether_wraith : public CreatureScript
|
||||
return GetMechanarAI<npc_nether_wraithAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_pathaleon_the_calculator()
|
||||
{
|
||||
using namespace Mechanar;
|
||||
using namespace Mechanar::PathaleonTheCalculator;
|
||||
new boss_pathaleon_the_calculator();
|
||||
new npc_nether_wraith();
|
||||
}
|
||||
@@ -19,6 +19,8 @@
|
||||
#include "InstanceScript.h"
|
||||
#include "mechanar.h"
|
||||
|
||||
namespace Mechanar
|
||||
{
|
||||
static DoorData const doorData[] =
|
||||
{
|
||||
{ GO_DOOR_MOARG_1, DATA_GATEWATCHER_IRON_HAND, DOOR_TYPE_PASSAGE },
|
||||
@@ -67,8 +69,10 @@ class instance_mechanar : public InstanceMapScript
|
||||
return new instance_mechanar_InstanceMapScript(map);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_instance_mechanar()
|
||||
{
|
||||
using namespace Mechanar;
|
||||
new instance_mechanar();
|
||||
}
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "CreatureAIImpl.h"
|
||||
|
||||
namespace Mechanar
|
||||
{
|
||||
#define MechanarScriptName "instance_mechanar"
|
||||
#define DataHeader "MR"
|
||||
|
||||
@@ -46,5 +48,6 @@ inline AI* GetMechanarAI(T* obj)
|
||||
{
|
||||
return GetInstanceAI<AI>(obj, MechanarScriptName);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -34,6 +34,8 @@ EndContentData */
|
||||
#include "MotionMaster.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Arcatraz
|
||||
{
|
||||
/*#####
|
||||
# npc_millhouse_manastorm
|
||||
#####*/
|
||||
@@ -556,9 +558,11 @@ class npc_zerekethvoidzone : public CreatureScript
|
||||
return GetArcatrazAI<npc_zerekethvoidzoneAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_arcatraz()
|
||||
{
|
||||
using namespace Arcatraz;
|
||||
new npc_millhouse_manastorm();
|
||||
new npc_warden_mellichar();
|
||||
new npc_zerekethvoidzone();
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
|
||||
#include "CreatureAIImpl.h"
|
||||
|
||||
namespace Arcatraz
|
||||
{
|
||||
|
||||
#define ArcatrazScriptName "instance_arcatraz"
|
||||
#define DataHeader "AZ"
|
||||
|
||||
@@ -75,5 +78,6 @@ inline AI* GetArcatrazAI(T* obj)
|
||||
{
|
||||
return GetInstanceAI<AI>(obj, ArcatrazScriptName);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // ARCATRAZ_H
|
||||
@@ -21,6 +21,8 @@
|
||||
#include "ObjectAccessor.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Arcatraz::DalliahTheDoomsayer
|
||||
{
|
||||
enum Say
|
||||
{
|
||||
// Dalliah the Doomsayer
|
||||
@@ -197,8 +199,11 @@ class boss_dalliah_the_doomsayer : public CreatureScript
|
||||
return GetArcatrazAI<boss_dalliah_the_doomsayerAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_dalliah_the_doomsayer()
|
||||
{
|
||||
using namespace Arcatraz;
|
||||
using namespace Arcatraz::DalliahTheDoomsayer;
|
||||
new boss_dalliah_the_doomsayer();
|
||||
}
|
||||
@@ -33,6 +33,8 @@ EndContentData */
|
||||
#include "ObjectAccessor.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Arcatraz::HarbingerSkyriss
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_INTRO = 0,
|
||||
@@ -301,9 +303,12 @@ class boss_harbinger_skyriss_illusion : public CreatureScript
|
||||
return GetArcatrazAI<boss_harbinger_skyriss_illusionAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_harbinger_skyriss()
|
||||
{
|
||||
using namespace Arcatraz;
|
||||
using namespace Arcatraz::HarbingerSkyriss;
|
||||
new boss_harbinger_skyriss();
|
||||
new boss_harbinger_skyriss_illusion();
|
||||
}
|
||||
@@ -29,6 +29,8 @@ EndScriptData */
|
||||
#include "ObjectAccessor.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Arcatraz::WrathScyrerSoccothrates
|
||||
{
|
||||
enum Say
|
||||
{
|
||||
// Wrath-Scryer Soccothrates
|
||||
@@ -287,8 +289,11 @@ class boss_wrath_scryer_soccothrates : public CreatureScript
|
||||
return GetArcatrazAI<boss_wrath_scryer_soccothratesAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_wrath_scryer_soccothrates()
|
||||
{
|
||||
using namespace Arcatraz;
|
||||
using namespace Arcatraz::WrathScyrerSoccothrates;
|
||||
new boss_wrath_scryer_soccothrates();
|
||||
}
|
||||
@@ -19,6 +19,8 @@
|
||||
#include "ScriptedCreature.h"
|
||||
#include "arcatraz.h"
|
||||
|
||||
namespace Arcatraz::ZerekethTheUnbound
|
||||
{
|
||||
enum Say
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -121,8 +123,11 @@ class boss_zereketh_the_unbound : public CreatureScript
|
||||
return GetArcatrazAI<boss_zereketh_the_unboundAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_zereketh_the_unbound()
|
||||
{
|
||||
using namespace Arcatraz;
|
||||
using namespace Arcatraz::ZerekethTheUnbound;
|
||||
new boss_zereketh_the_unbound();
|
||||
}
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
|
||||
namespace Arcatraz
|
||||
{
|
||||
DoorData const doorData[] =
|
||||
{
|
||||
{ GO_CONTAINMENT_CORE_SECURITY_FIELD_ALPHA, DATA_SOCCOTHRATES, DOOR_TYPE_PASSAGE },
|
||||
@@ -205,8 +207,10 @@ class instance_arcatraz : public InstanceMapScript
|
||||
return new instance_arcatraz_InstanceMapScript(map);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_instance_arcatraz()
|
||||
{
|
||||
using namespace Arcatraz;
|
||||
new instance_arcatraz();
|
||||
}
|
||||
@@ -21,6 +21,8 @@
|
||||
#include "SpellScript.h"
|
||||
#include "the_botanica.h"
|
||||
|
||||
namespace Botanica::CommanderSarannis
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -188,9 +190,12 @@ class spell_commander_sarannis_summon_reinforcements : public SpellScriptLoader
|
||||
return new spell_commander_sarannis_summon_reinforcements_SpellScript();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_commander_sarannis()
|
||||
{
|
||||
using namespace Botanica;
|
||||
using namespace Botanica::CommanderSarannis;
|
||||
new boss_commander_sarannis();
|
||||
new spell_commander_sarannis_summon_reinforcements();
|
||||
}
|
||||
@@ -28,6 +28,8 @@ EndScriptData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "the_botanica.h"
|
||||
|
||||
namespace Botanica::HighBotanistFreywinn
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -214,8 +216,11 @@ class boss_high_botanist_freywinn : public CreatureScript
|
||||
return GetBotanicaAI<boss_high_botanist_freywinnAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_high_botanist_freywinn()
|
||||
{
|
||||
using namespace Botanica;
|
||||
using namespace Botanica::HighBotanistFreywinn;
|
||||
new boss_high_botanist_freywinn();
|
||||
}
|
||||
@@ -26,6 +26,8 @@ EndScriptData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "the_botanica.h"
|
||||
|
||||
namespace Botanica::Laj
|
||||
{
|
||||
enum Spells
|
||||
{
|
||||
SPELL_ALLERGIC_REACTION = 34697,
|
||||
@@ -225,8 +227,11 @@ class boss_laj : public CreatureScript
|
||||
return GetBotanicaAI<boss_lajAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_laj()
|
||||
{
|
||||
using namespace Botanica;
|
||||
using namespace Botanica::Laj;
|
||||
new boss_laj();
|
||||
}
|
||||
@@ -19,6 +19,8 @@
|
||||
#include "ScriptedCreature.h"
|
||||
#include "the_botanica.h"
|
||||
|
||||
namespace Botanica::ThorngrinTheTender
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -155,8 +157,11 @@ class boss_thorngrin_the_tender : public CreatureScript
|
||||
return GetBotanicaAI<boss_thorngrin_the_tenderAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_thorngrin_the_tender()
|
||||
{
|
||||
using namespace Botanica;
|
||||
using namespace Botanica::ThorngrinTheTender;
|
||||
new boss_thorngrin_the_tender();
|
||||
}
|
||||
@@ -29,6 +29,8 @@ EndScriptData */
|
||||
#include "TemporarySummon.h"
|
||||
#include "the_botanica.h"
|
||||
|
||||
namespace Botanica::WarpSplinter
|
||||
{
|
||||
enum Says
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -243,9 +245,12 @@ class boss_warp_splinter : public CreatureScript
|
||||
return GetBotanicaAI<boss_warp_splinterAI>(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_warp_splinter()
|
||||
{
|
||||
using namespace Botanica;
|
||||
using namespace Botanica::WarpSplinter;
|
||||
new boss_warp_splinter();
|
||||
new npc_warp_splinter_treant();
|
||||
}
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "InstanceScript.h"
|
||||
#include "the_botanica.h"
|
||||
|
||||
namespace Botanica
|
||||
{
|
||||
class instance_the_botanica : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
@@ -110,8 +112,10 @@ class instance_the_botanica : public InstanceMapScript
|
||||
return new instance_the_botanica_InstanceMapScript(map);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_instance_the_botanica()
|
||||
{
|
||||
using namespace Botanica;
|
||||
new instance_the_botanica;
|
||||
}
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "CreatureAIImpl.h"
|
||||
|
||||
namespace Botanica
|
||||
{
|
||||
#define BotanicaScriptName "instance_the_botanica"
|
||||
#define DataHeader "BC"
|
||||
|
||||
@@ -48,5 +50,6 @@ inline AI* GetBotanicaAI(T* obj)
|
||||
{
|
||||
return GetInstanceAI<AI>(obj, BotanicaScriptName);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellScript.h"
|
||||
|
||||
namespace DoomlordKazzak
|
||||
{
|
||||
enum Texts
|
||||
{
|
||||
SAY_INTRO = 0,
|
||||
@@ -251,9 +253,11 @@ class spell_twisted_reflection : public SpellScriptLoader
|
||||
return new spell_twisted_reflection_AuraScript();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_doomlordkazzak()
|
||||
{
|
||||
using namespace DoomlordKazzak;
|
||||
new boss_doomlord_kazzak();
|
||||
new spell_mark_of_kazzak();
|
||||
new spell_twisted_reflection();
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
namespace Doomwalker
|
||||
{
|
||||
enum Texts
|
||||
{
|
||||
SAY_AGGRO = 0,
|
||||
@@ -169,8 +171,10 @@ class boss_doomwalker : public CreatureScript
|
||||
return new boss_doomwalkerAI(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_boss_doomwalker()
|
||||
{
|
||||
using namespace Doomwalker;
|
||||
new boss_doomwalker();
|
||||
}
|
||||
@@ -41,6 +41,8 @@ EndContentData */
|
||||
#include "SpellScript.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
namespace BladesEdgeMountains
|
||||
{
|
||||
/*######
|
||||
## npc_nether_drake
|
||||
######*/
|
||||
@@ -1051,9 +1053,11 @@ class spell_oscillating_field : public SpellScriptLoader
|
||||
return new spell_oscillating_field_SpellScript();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_blades_edge_mountains()
|
||||
{
|
||||
using namespace BladesEdgeMountains;
|
||||
new npc_nether_drake();
|
||||
new npc_daranelle();
|
||||
new go_legion_obelisk();
|
||||
|
||||
@@ -40,6 +40,9 @@ EndContentData */
|
||||
#include "ScriptedGossip.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
namespace HellfirePeninsula
|
||||
{
|
||||
|
||||
/*######
|
||||
## npc_aeranas
|
||||
######*/
|
||||
@@ -1243,9 +1246,11 @@ struct npc_fear_controller : public ScriptedAI
|
||||
private:
|
||||
EventMap _events;
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_hellfire_peninsula()
|
||||
{
|
||||
using namespace HellfirePeninsula;
|
||||
new npc_aeranas();
|
||||
new npc_ancestral_wolf();
|
||||
new npc_wounded_blood_elf();
|
||||
|
||||
@@ -36,6 +36,8 @@ EndContentData */
|
||||
#include "SpellInfo.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
namespace Nagrand
|
||||
{
|
||||
/*######
|
||||
## npc_maghar_captive
|
||||
#####*/
|
||||
@@ -632,9 +634,11 @@ class go_warmaul_prison : public GameObjectScript
|
||||
return new go_warmaul_prisonAI(go);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_nagrand()
|
||||
{
|
||||
using namespace Nagrand;
|
||||
new npc_maghar_captive();
|
||||
new npc_creditmarker_visit_with_ancestors();
|
||||
new npc_corki();
|
||||
|
||||
@@ -37,6 +37,8 @@ EndContentData */
|
||||
#include "Player.h"
|
||||
#include "ScriptedEscortAI.h"
|
||||
|
||||
namespace Netherstorm
|
||||
{
|
||||
/*######
|
||||
## npc_commander_dawnforge
|
||||
######*/
|
||||
@@ -697,9 +699,11 @@ class go_captain_tyralius_prison : public GameObjectScript
|
||||
return new go_captain_tyralius_prisonAI(go);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_netherstorm()
|
||||
{
|
||||
using namespace Netherstorm;
|
||||
new npc_commander_dawnforge();
|
||||
new at_commander_dawnforge();
|
||||
new npc_phase_hunter();
|
||||
|
||||
@@ -48,6 +48,8 @@ EndContentData */
|
||||
#include "SpellScript.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
namespace ShadowmoonValley
|
||||
{
|
||||
/*#####
|
||||
# npc_invis_infernal_caster
|
||||
#####*/
|
||||
@@ -1675,9 +1677,11 @@ public:
|
||||
return new npc_shadowmoon_tuber_nodeAI(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_shadowmoon_valley()
|
||||
{
|
||||
using namespace ShadowmoonValley;
|
||||
new npc_invis_infernal_caster();
|
||||
new npc_infernal_attacker();
|
||||
new npc_mature_netherwing_drake();
|
||||
|
||||
@@ -32,6 +32,8 @@ EndContentData */
|
||||
#include "Player.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
namespace ShattrathCity
|
||||
{
|
||||
/*######
|
||||
# npc_kservant
|
||||
######*/
|
||||
@@ -176,8 +178,10 @@ public:
|
||||
void Reset() override { }
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_shattrath_city()
|
||||
{
|
||||
using namespace ShattrathCity;
|
||||
new npc_kservant();
|
||||
}
|
||||
@@ -40,6 +40,8 @@ EndContentData */
|
||||
#include "ScriptedGossip.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
namespace TerokkarForest
|
||||
{
|
||||
/*######
|
||||
## npc_unkor_the_ruthless
|
||||
######*/
|
||||
@@ -589,9 +591,11 @@ enum Akuno
|
||||
QUEST_ESCAPING_THE_TOMB = 10887,
|
||||
NPC_CABAL_SKRIMISHER = 21661
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_terokkar_forest()
|
||||
{
|
||||
using namespace TerokkarForest;
|
||||
new npc_unkor_the_ruthless();
|
||||
new npc_infested_root_walker();
|
||||
new npc_rotting_forest_rager();
|
||||
|
||||
@@ -34,6 +34,8 @@ EndContentData */
|
||||
#include "Player.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
namespace Zangarmarsh
|
||||
{
|
||||
/*######
|
||||
## npcs_ashyen_and_keleth
|
||||
######*/
|
||||
@@ -231,6 +233,7 @@ class npc_kayra_longmane : public CreatureScript
|
||||
return new npc_kayra_longmaneAI(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/*######
|
||||
## AddSC
|
||||
@@ -238,6 +241,7 @@ class npc_kayra_longmane : public CreatureScript
|
||||
|
||||
void AddSC_zangarmarsh()
|
||||
{
|
||||
using namespace Zangarmarsh;
|
||||
new npcs_ashyen_and_keleth();
|
||||
new npc_kayra_longmane();
|
||||
}
|
||||
Reference in new issue
Block a user