Core: Codestyle cleanup
This commit is contained in:
@@ -107,7 +107,7 @@ public:
|
||||
if (instance)
|
||||
instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEV_TIMED_START_EVENT);
|
||||
}
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
DoScriptText(SAY_AGGRO, me);
|
||||
|
||||
@@ -315,7 +315,7 @@ public:
|
||||
DoScriptText(SAY_DEATH[id], me);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
BossAI::MoveInLineOfSight(who);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
events.ScheduleEvent(EVENT_WOUND, 10000);
|
||||
|
||||
@@ -182,7 +182,7 @@ class boss_gothik : public CreatureScript
|
||||
thirtyPercentReached = false;
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
for (uint32 i = 0; i < POS_LIVE; ++i)
|
||||
if (Creature* trigger = DoSummon(WORLD_TRIGGER, PosSummonLive[i]))
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
me->ApplySpellImmune(0, IMMUNITY_ID, SPELL_POISON_CLOUD_ADD, true);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
events.ScheduleEvent(EVENT_CLOUD, 15000);
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
DoScriptText(SAY_DEATH, me);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
DoScriptText(SAY_AGGRO, me);
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
{
|
||||
boss_loathebAI(Creature *c) : BossAI(c, BOSS_LOATHEB) {}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
events.ScheduleEvent(EVENT_AURA, 10000);
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
bool enraged;
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
enraged = false;
|
||||
@@ -171,7 +171,7 @@ public:
|
||||
victim->CastSpell(victim, me->m_spells[0], true, NULL, NULL, me->GetGUID());
|
||||
}
|
||||
|
||||
void JustDied(Unit * /*killer*/)
|
||||
void JustDied(Unit* /*killer*/)
|
||||
{
|
||||
if (me->m_spells[0] && victimGUID)
|
||||
if (Unit *victim = Unit::GetUnit(*me, victimGUID))
|
||||
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
_Reset();
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
DoScriptText(SAY_AGGRO, me);
|
||||
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
DoScriptText(SAY_DEATH, me);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
Enraged = false;
|
||||
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
me->CastSpell(me, SPELL_HOPELESS, true); // TODO: this may affect other creatures
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
DoPlaySoundToSet(me, SOUND_AGGRO);
|
||||
|
||||
@@ -120,7 +120,7 @@ public:
|
||||
CheckFrostResistTimer = 5000;
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
|
||||
|
||||
@@ -180,7 +180,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*who*/)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me);
|
||||
@@ -189,7 +189,7 @@ public:
|
||||
events.ScheduleEvent(EVENT_BERSERK, 360000);
|
||||
}
|
||||
|
||||
void DamageTaken(Unit * /*pDoneBy*/, uint32 & /*uiDamage*/)
|
||||
void DamageTaken(Unit* /*pDoneBy*/, uint32 & /*uiDamage*/)
|
||||
{
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
}
|
||||
@@ -286,12 +286,12 @@ public:
|
||||
magneticPullTimer = 20000;
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*pWho*/)
|
||||
void EnterCombat(Unit* /*pWho*/)
|
||||
{
|
||||
DoCast(SPELL_STALAGG_TESLA);
|
||||
}
|
||||
|
||||
void JustDied(Unit * /*killer*/)
|
||||
void JustDied(Unit* /*killer*/)
|
||||
{
|
||||
if (pInstance)
|
||||
if (Creature *pThaddius = me->GetCreature(*me, pInstance->GetData64(DATA_THADDIUS)))
|
||||
@@ -370,12 +370,12 @@ public:
|
||||
staticFieldTimer = 5000;
|
||||
}
|
||||
|
||||
void EnterCombat(Unit * /*pWho*/)
|
||||
void EnterCombat(Unit* /*pWho*/)
|
||||
{
|
||||
DoCast(SPELL_FEUGEN_TESLA);
|
||||
}
|
||||
|
||||
void JustDied(Unit * /*killer*/)
|
||||
void JustDied(Unit* /*killer*/)
|
||||
{
|
||||
if (pInstance)
|
||||
if (Creature *pThaddius = me->GetCreature(*me, pInstance->GetData64(DATA_THADDIUS)))
|
||||
|
||||
Reference in New Issue
Block a user