Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts

This commit is contained in:
Spp-
2011-06-30 14:24:56 +02:00
parent d12bb4a657
commit 6fd41ae50e
372 changed files with 1974 additions and 1968 deletions
@@ -88,7 +88,7 @@ public:
struct npc_lady_sylvanas_windrunnerAI : public ScriptedAI
{
npc_lady_sylvanas_windrunnerAI(Creature *c) : ScriptedAI(c) {}
npc_lady_sylvanas_windrunnerAI(Creature* c) : ScriptedAI(c) {}
uint32 LamentEvent_Timer;
bool LamentEvent;
@@ -103,11 +103,11 @@ public:
void EnterCombat(Unit* /*who*/) {}
void JustSummoned(Creature *summoned)
void JustSummoned(Creature* summoned)
{
if (summoned->GetEntry() == ENTRY_HIGHBORNE_BUNNY)
{
if (Unit *pTarget = Unit::GetUnit(*summoned, targetGUID))
if (Unit* pTarget = Unit::GetUnit(*summoned, targetGUID))
{
pTarget->SendMonsterMove(pTarget->GetPositionX(), pTarget->GetPositionY(), me->GetPositionZ()+15.0f, 0);
pTarget->GetMap()->CreatureRelocation(me, pTarget->GetPositionX(), pTarget->GetPositionY(), me->GetPositionZ()+15.0f, 0.0f);
@@ -162,7 +162,7 @@ public:
struct npc_highborne_lamenterAI : public ScriptedAI
{
npc_highborne_lamenterAI(Creature *c) : ScriptedAI(c) {}
npc_highborne_lamenterAI(Creature* c) : ScriptedAI(c) {}
uint32 EventMove_Timer;
uint32 EventCast_Timer;