Scripts/Events: moved scripts into their respective namespace

This commit is contained in:
Ovahlord committed 2023-12-08 22:04:53 +01:00
1 parent 714d93c9da
commit 6d1eb573bc
2 files changed
+8

No files matched your search

@@ -22,6 +22,8 @@
#include "ScriptedCreature.h"
#include "SpellAuras.h"
namespace ChildrendsWeek
{
enum Orphans
{
ORPHAN_ORACLE = 33533,
@@ -1115,9 +1117,11 @@ class npc_grizzlemaw_cw_trigger : public CreatureScript
return new npc_grizzlemaw_cw_triggerAI(creature);
}
};
}
void AddSC_event_childrens_week()
{
using namespace ChildrendsWeek;
new npc_elder_kekek();
new npc_high_oracle_soo_roo();
new npc_winterfin_playmate();
@@ -24,6 +24,8 @@
#include "GameObjectAI.h"
#include "GameTime.h"
namespace FireworksShow
{
enum FireworksShowTypeObjects
{
FIREWORK_SHOW_TYPE_1_RED = 180703,
@@ -897,8 +899,10 @@ public:
return new go_cheer_speakerAI(go);
}
};
}
void AddSC_event_fireworks()
{
using namespace FireworksShow;
new go_cheer_speaker();
}