aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/nagrand.cpp
diff options
context:
space:
mode:
authorSpp- <u84280@epreinf21.(none)>2011-06-30 14:24:56 +0200
committerSpp- <u84280@epreinf21.(none)>2011-06-30 14:24:56 +0200
commit6fd41ae50e5f988473f86ad8370b60a1e29eac5f (patch)
tree481e934be575ae4b0f44581e72e7ecc92d590ae1 /src/server/scripts/Outland/nagrand.cpp
parentd12bb4a657e4df5230ce06f9b082f176d9db0b85 (diff)
Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
Diffstat (limited to 'src/server/scripts/Outland/nagrand.cpp')
-rw-r--r--src/server/scripts/Outland/nagrand.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp
index e7f1f01b670..c9cfc7dc03a 100644
--- a/src/server/scripts/Outland/nagrand.cpp
+++ b/src/server/scripts/Outland/nagrand.cpp
@@ -56,7 +56,7 @@ public:
{
bool Spawn;
- mob_shattered_rumblerAI(Creature *c) : ScriptedAI(c) {}
+ mob_shattered_rumblerAI(Creature* c) : ScriptedAI(c) {}
void Reset()
{
@@ -65,7 +65,7 @@ public:
void EnterCombat(Unit* /*who*/) {}
- void SpellHit(Unit *Hitter, const SpellEntry *Spellkind)
+ void SpellHit(Unit* Hitter, const SpellEntry *Spellkind)
{
if (Spellkind->Id == 32001 && !Spawn)
{
@@ -149,7 +149,7 @@ public:
struct mob_lumpAI : public ScriptedAI
{
- mob_lumpAI(Creature *c) : ScriptedAI(c)
+ mob_lumpAI(Creature* c) : ScriptedAI(c)
{
bReset = false;
}
@@ -177,7 +177,7 @@ public:
AttackStart(pAttacker);
}
- void DamageTaken(Unit *done_by, uint32 & damage)
+ void DamageTaken(Unit* done_by, uint32 & damage)
{
if (done_by->GetTypeId() == TYPEID_PLAYER && me->HealthBelowPctDamaged(30, damage))
{
@@ -259,7 +259,7 @@ public:
struct mob_sunspring_villagerAI : public ScriptedAI
{
- mob_sunspring_villagerAI(Creature *c) : ScriptedAI(c) {}
+ mob_sunspring_villagerAI(Creature* c) : ScriptedAI(c) {}
void Reset()
{
@@ -762,7 +762,7 @@ public:
void EnterCombat(Unit* /*who*/) {}
- void MoveInLineOfSight(Unit *who)
+ void MoveInLineOfSight(Unit* who)
{
if (!who)
return;
@@ -805,7 +805,7 @@ public:
struct mob_sparrowhawkAI : public ScriptedAI
{
- mob_sparrowhawkAI(Creature *c) : ScriptedAI(c) {}
+ mob_sparrowhawkAI(Creature* c) : ScriptedAI(c) {}
uint32 Check_Timer;
uint64 PlayerGUID;
@@ -818,7 +818,7 @@ public:
PlayerGUID = 0;
fleeing = false;
}
- void AttackStart(Unit *who)
+ void AttackStart(Unit* who)
{
if (PlayerGUID)
return;
@@ -828,7 +828,7 @@ public:
void EnterCombat(Unit* /*who*/) {}
- void MoveInLineOfSight(Unit *who)
+ void MoveInLineOfSight(Unit* who)
{
if (!who || PlayerGUID)
return;
@@ -877,7 +877,7 @@ public:
ScriptedAI::UpdateAI(diff);
}
- void SpellHit(Unit *caster, const SpellEntry *spell)
+ void SpellHit(Unit* caster, const SpellEntry *spell)
{
if (caster->GetTypeId() == TYPEID_PLAYER)
{
@@ -964,7 +964,7 @@ class npc_corki : public CreatureScript
public:
npc_corki() : CreatureScript("npc_corki") { }
- CreatureAI *GetAI(Creature *creature) const
+ CreatureAI *GetAI(Creature* creature) const
{
return new npc_corkiAI(creature);
}