Core: Remove again whitespace (meh :/)

This commit is contained in:
Vincent-Michael
2014-09-07 04:06:50 +02:00
parent c585ce5b3c
commit c7e1eae2ce
11 changed files with 20 additions and 21 deletions

View File

@@ -239,7 +239,7 @@ public:
ticket->SetCompleted();
ticket->SaveToDB(trans);
std::string msg = ticket->FormatMessageString(*handler, NULL, NULL,
std::string msg = ticket->FormatMessageString(*handler, NULL, NULL,
NULL, NULL, handler->GetSession() ? handler->GetSession()->GetPlayer()->GetName().c_str() : "Console");
handler->SendGlobalGMSysMessage(msg.c_str());
sTicketMgr->UpdateLastChange();

View File

@@ -412,7 +412,7 @@ class npc_eye_of_acherus : public CreatureScript
{
if (movementType == WAYPOINT_MOTION_TYPE && pointId == POINT_EYE_MOVE_END - 1)
{
me->SetByteValue(UNIT_FIELD_BYTES_2, 0, SHEATH_STATE_MELEE);
me->SetByteValue(UNIT_FIELD_BYTES_2, 0, SHEATH_STATE_MELEE);
me->RemoveAllAuras();
if (Player* owner = me->GetCharmerOrOwner()->ToPlayer())

View File

@@ -105,7 +105,7 @@ public:
DoMeleeAttackIfReady();
}
private:
EventMap events;
SummonList Summons;

View File

@@ -151,18 +151,17 @@ class spell_kormok_summon_bone_mages : SpellScriptLoader
bool Validate(SpellInfo const* /*spell*/) override
{
for (int i = 0; i < 4; ++i)
for (uint32 i = 0; i < 4; ++i)
if (!sSpellMgr->GetSpellInfo(SummonMageSpells[i]))
return false;
return true;
return true;
}
void HandleScript(SpellEffIndex effIndex)
{
PreventHitDefaultEffect(effIndex);
for (int i = 0; i < 2; ++i)
GetCaster()->CastSpell(GetCaster(), SummonMageSpells[urand(0, 4)], true);
for (uint32 i = 0; i < 2; ++i)
GetCaster()->CastSpell(GetCaster(), SummonMageSpells[urand(0, 4)], true);
}
void Register() override
@@ -199,7 +198,7 @@ class spell_kormok_summon_bone_minions : SpellScriptLoader
PreventHitDefaultEffect(effIndex);
// Possible spells to handle this not found.
for (int i = 0; i < 4; ++i)
for (uint32 i = 0; i < 4; ++i)
GetCaster()->SummonCreature(NPC_BONE_MINION, GetCaster()->GetPositionX() + float(irand(-7, 7)), GetCaster()->GetPositionY() + float(irand(-7, 7)), GetCaster()->GetPositionZ(), 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 120000);
}

View File

@@ -53,8 +53,8 @@ public:
DoCast(me, SPELL_ICE_ARMOR);
}
void EnterCombat(Unit* /*who*/) override
{
void EnterCombat(Unit* /*who*/) override
{
events.ScheduleEvent(EVENT_ICE_ARMOR, 2000);
events.ScheduleEvent(EVENT_FROSTBOLT, 8000);
events.ScheduleEvent(EVENT_CHILL_NOVA, 12000);
@@ -108,7 +108,7 @@ public:
DoMeleeAttackIfReady();
}
private:
EventMap events;
};

View File

@@ -101,7 +101,7 @@ public:
DoMeleeAttackIfReady();
}
private:
EventMap events;
};

View File

@@ -204,7 +204,7 @@ public:
default:
break;
}
++BeamCount;
uint32 Beam = CurrentBeam;
if (BeamCount > 3)
@@ -265,7 +265,7 @@ public:
break;
}
}
private:
uint64 TargetGUID[3];
uint32 BeamCount;

View File

@@ -179,7 +179,7 @@ public:
break;
}
}
private:
uint64 SpineTargetGUID;
};

View File

@@ -587,7 +587,7 @@ class boss_taerar : public CreatureScript
void Reset() override
{
me->RemoveAurasDueToSpell(SPELL_SHADE);
Initialize();
emerald_dragonAI::Reset();