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
@@ -37,7 +37,7 @@ class go_blackfathom_altar : public GameObjectScript
public:
go_blackfathom_altar() : GameObjectScript("go_blackfathom_altar") { }
bool OnGossipHello(Player *pPlayer, GameObject* /*pGo*/)
bool OnGossipHello(Player* pPlayer, GameObject* /*pGo*/)
{
if (!pPlayer->HasAura(SPELL_BLESSING_OF_BLACKFATHOM))
pPlayer->AddAura(SPELL_BLESSING_OF_BLACKFATHOM, pPlayer);
@@ -36,7 +36,7 @@ public:
struct boss_aku_maiAI : public ScriptedAI
{
boss_aku_maiAI(Creature *c) : ScriptedAI(c)
boss_aku_maiAI(Creature* c) : ScriptedAI(c)
{
pInstance = c->GetInstanceScript();
}
@@ -35,7 +35,7 @@ public:
struct boss_gelihastAI : public ScriptedAI
{
boss_gelihastAI(Creature *c) : ScriptedAI(c)
boss_gelihastAI(Creature* c) : ScriptedAI(c)
{
pInstance = c->GetInstanceScript();
}
@@ -44,7 +44,7 @@ public:
struct boss_kelrisAI : public ScriptedAI
{
boss_kelrisAI(Creature *c) : ScriptedAI(c)
boss_kelrisAI(Creature* c) : ScriptedAI(c)
{
pInstance = c->GetInstanceScript();
}
@@ -89,7 +89,7 @@ public:
if (uiSleepTimer < diff)
{
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0, 100, true))
if (Unit* pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0, 100, true))
{
DoScriptText(SAY_SLEEP, me);
DoCast(pTarget, SPELL_SLEEP);