diff options
| author | click <clickvd@gonnamakeyou.com> | 2011-06-11 22:35:29 +0200 |
|---|---|---|
| committer | click <clickvd@gonnamakeyou.com> | 2011-06-11 22:35:29 +0200 |
| commit | 158966dc793f47dd4ada264da775f647601298aa (patch) | |
| tree | 8fa1dc1cc36d07123662c32eb5981cfac01e91b6 /src/server/scripts/Outland | |
| parent | 9ef8bd307200445f448a67d1bb26c3afee9b7051 (diff) | |
Core: Codestyle cleanup
Diffstat (limited to 'src/server/scripts/Outland')
58 files changed, 192 insertions, 192 deletions
diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp index 285a7e6ed81..378a60fbefa 100644 --- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp +++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp @@ -63,7 +63,7 @@ public: Class_Timer = 1000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } void SetMyClass(uint8 myclass) @@ -202,7 +202,7 @@ public: ScriptedAI::MoveInLineOfSight(who); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } @@ -328,7 +328,7 @@ public: Mortal_Strike_timer = 10000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp index 5371d8493e3..6aeb4bfc02f 100644 --- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp +++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp @@ -72,7 +72,7 @@ public: FocusedTargetGUID = 0; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } void JustSummoned(Creature *summoned) @@ -185,7 +185,7 @@ public: fiery1 = fiery2 = true; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } void UpdateAI(const uint32 diff) diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp index 42256b6a501..7d5c64ca182 100644 --- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp +++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp @@ -114,7 +114,7 @@ public: } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); @@ -253,7 +253,7 @@ public: Check_Timer = 1000; } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { // Send Shaffar to fight Creature* Shaffar = me->FindNearestCreature(NPC_SHAFFAR, 100); diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp index 586a8dcc96d..e79d712aef4 100644 --- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp +++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp @@ -78,7 +78,7 @@ public: DoScriptText(RAND(SAY_KILL_1, SAY_KILL_2), me); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } diff --git a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp index 5bafe396b0d..c0fd4433b16 100644 --- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp +++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp @@ -92,7 +92,7 @@ public: summon10 = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } @@ -220,7 +220,7 @@ public: flamebuffet_timer = 5000; } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void UpdateAI(const uint32 diff) { @@ -279,7 +279,7 @@ public: arcanebuffet_timer = 5000; } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void UpdateAI(const uint32 diff) { @@ -333,7 +333,7 @@ public: frostbuffet_timer = 5000; } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void UpdateAI(const uint32 diff) { @@ -388,7 +388,7 @@ public: shadowbuffet_timer = 5000; } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void UpdateAI(const uint32 diff) { diff --git a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp index c7ea5523dac..2dec3658b39 100644 --- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp +++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp @@ -113,7 +113,7 @@ public: } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp index 6be6824953c..40db25798b3 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp @@ -126,17 +126,17 @@ public: } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO1, SAY_AGGRO2, SAY_AGGRO3), me); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp index 17174439e58..1fbf91e8598 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp @@ -91,12 +91,12 @@ public: pInstance->SetData(DATA_BLACKHEARTTHEINCITEREVENT, NOT_STARTED); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); @@ -104,7 +104,7 @@ public: pInstance->SetData(DATA_BLACKHEARTTHEINCITEREVENT, DONE); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO1, SAY_AGGRO2, SAY_AGGRO3), me); diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp index c7954000934..70439bf9027 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp @@ -89,7 +89,7 @@ public: sacrificed = false; } - void EnterCombat(Unit * /*who*/){} + void EnterCombat(Unit* /*who*/){} void UpdateAI(const uint32 diff) { @@ -227,12 +227,12 @@ public: CAST_AI(mob_voidtraveler::mob_voidtravelerAI, summoned->AI())->VorpilGUID = me->GetGUID(); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); destroyPortals(); @@ -241,7 +241,7 @@ public: pInstance->SetData(DATA_GRANDMASTERVORPILEVENT, DONE); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO1, SAY_AGGRO2, SAY_AGGRO3), me); summonPortals(); diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp index 58859e0230d..a220531a929 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp @@ -95,7 +95,7 @@ public: } } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } // Sonic Boom instant damage (needs core fix instead of this) void SpellHitTarget(Unit *pTarget, const SpellEntry *spell) diff --git a/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp b/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp index d8c389eef1a..6bec350adfc 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp @@ -117,7 +117,7 @@ public: me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_ATTACK_ME, false); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoZoneInCombat(); DoScriptText(SAY_AGGRO, me); @@ -125,12 +125,12 @@ public: pInstance->SetData(DATA_GURTOGGBLOODBOILEVENT, IN_PROGRESS); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) pInstance->SetData(DATA_GURTOGGBLOODBOILEVENT, DONE); diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp index d357faee386..dad131eb6f5 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp @@ -388,7 +388,7 @@ public: GlaiveGUID = 0; } - void EnterCombat(Unit * /*who*/) {DoZoneInCombat();} + void EnterCombat(Unit* /*who*/) {DoZoneInCombat();} void ChargeCheck() { @@ -532,7 +532,7 @@ public: Timer[EVENT_FLIGHT_SEQUENCE] = 1000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { me->setActive(true); DoZoneInCombat(); @@ -551,7 +551,7 @@ public: void MoveInLineOfSight(Unit *) {} - void JustDied(Unit * /*killer*/) + void JustDied(Unit* /*killer*/) { me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); @@ -564,7 +564,7 @@ public: pInstance->HandleGameObject(pInstance->GetData64(i), true); } - void KilledUnit(Unit * victim) + void KilledUnit(Unit* victim) { if (victim == me) return; // TODO: Find better way to handle emote @@ -589,7 +589,7 @@ public: done_by->AddThreat(me, -(3*(float)damage)/4); // do not let maiev tank him } - void SpellHit(Unit * /*caster*/, const SpellEntry *spell) + void SpellHit(Unit* /*caster*/, const SpellEntry *spell) { if (spell->Id == SPELL_GLAIVE_RETURNS) // Re-equip our warblades! { @@ -1178,8 +1178,8 @@ public: me->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID + 2, 45738); } - void EnterCombat(Unit * /*who*/) {} - void MoveInLineOfSight(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} void EnterEvadeMode() {} void GetIllidanGUID(uint64 guid) { IllidanGUID = guid; } @@ -1457,7 +1457,7 @@ public: me->CombatStop(true); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void MoveInLineOfSight(Unit* /*who*/) {} void MovementInform(uint32 MovementType, uint32 /*Data*/) @@ -2037,7 +2037,7 @@ public: me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); } - void EnterCombat(Unit * /*who*/){} + void EnterCombat(Unit* /*who*/){} void MoveInLineOfSight(Unit *who) { @@ -2118,7 +2118,7 @@ public: uint64 TargetGUID; - void EnterCombat(Unit * /*who*/) {DoZoneInCombat();} + void EnterCombat(Unit* /*who*/) {DoZoneInCombat();} void Reset() { @@ -2126,7 +2126,7 @@ public: DoCast(me, SPELL_SHADOW_DEMON_PASSIVE, true); } - void JustDied(Unit * /*killer*/) + void JustDied(Unit* /*killer*/) { if (Unit *pTarget = Unit::GetUnit((*me), TargetGUID)) pTarget->RemoveAurasDueToSpell(SPELL_PARALYZE); @@ -2167,7 +2167,7 @@ public: { blade_of_azzinothAI(Creature* c) : NullCreatureAI(c) {} - void SpellHit(Unit * /*caster*/, const SpellEntry *spell) + void SpellHit(Unit* /*caster*/, const SpellEntry *spell) { if (spell->Id == SPELL_THROW_GLAIVE2 || spell->Id == SPELL_THROW_GLAIVE) me->SetDisplayId(21431);//appear when hit by Illidan's glaive diff --git a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp index 6eb6bb620c8..309b1884685 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp @@ -135,7 +135,7 @@ public: Enraged = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (pInstance) pInstance->SetData(DATA_MOTHERSHAHRAZEVENT, IN_PROGRESS); @@ -144,12 +144,12 @@ public: DoScriptText(SAY_AGGRO, me); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) pInstance->SetData(DATA_MOTHERSHAHRAZEVENT, DONE); diff --git a/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp b/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp index ae4d9790fca..4e545087303 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp @@ -125,7 +125,7 @@ public: DoZoneInCombat(); } - void JustDied(Unit * /*killer*/); + void JustDied(Unit* /*killer*/); }; }; @@ -358,7 +358,7 @@ public: }; -void npc_enslaved_soul::npc_enslaved_soulAI::JustDied(Unit * /*killer*/) +void npc_enslaved_soul::npc_enslaved_soulAI::JustDied(Unit* /*killer*/) { if (ReliquaryGUID) if (Creature *Reliquary = (Unit::GetCreature((*me), ReliquaryGUID))) @@ -400,7 +400,7 @@ public: AuraTimer = 5000; } - void DamageTaken(Unit * /*done_by*/, uint32 &damage) + void DamageTaken(Unit* /*done_by*/, uint32 &damage) { if (damage >= me->GetHealth()) { @@ -411,7 +411,7 @@ public: } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (!me->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE)) { @@ -424,7 +424,7 @@ public: else return; } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SUFF_SAY_SLAY1, SUFF_SAY_SLAY2, SUFF_SAY_SLAY3), me); } @@ -536,7 +536,7 @@ public: } } - void SpellHit(Unit * /*caster*/, const SpellEntry *spell) + void SpellHit(Unit* /*caster*/, const SpellEntry *spell) { if (me->GetCurrentSpell(CURRENT_GENERIC_SPELL)) for (uint8 i = 0; i < 3; ++i) @@ -546,14 +546,14 @@ public: me->InterruptSpell(CURRENT_GENERIC_SPELL, false); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(DESI_SAY_FREED, me); DoZoneInCombat(); DoCast(me, AURA_OF_DESIRE, true); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(DESI_SAY_SLAY1, DESI_SAY_SLAY2, DESI_SAY_SLAY3), me); } @@ -632,7 +632,7 @@ public: CheckedAggro = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(ANGER_SAY_FREED, ANGER_SAY_FREED2), me); @@ -640,12 +640,12 @@ public: DoCast(me, AURA_OF_ANGER, true); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(ANGER_SAY_DEATH, me); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(ANGER_SAY_SLAY1, ANGER_SAY_SLAY2), me); } diff --git a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp index 3a8f367bd43..e0b732b42c3 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp @@ -289,7 +289,7 @@ public: summons.Despawn(summon); } - void MoveInLineOfSight(Unit * /*who*/) + void MoveInLineOfSight(Unit* /*who*/) { if (!GridSearcherSucceeded) { diff --git a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp index fd741088ecc..49eaeea2767 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp @@ -119,7 +119,7 @@ public: summons.DespawnAll(); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (pInstance) pInstance->SetData(DATA_SUPREMUSEVENT, IN_PROGRESS); @@ -155,7 +155,7 @@ public: events.ScheduleEvent(EVENT_SWITCH_PHASE, 60000, GCD_CAST); } - void JustDied(Unit * /*killer*/) + void JustDied(Unit* /*killer*/) { if (pInstance) { @@ -275,9 +275,9 @@ public: } uint32 wait; - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} - void MoveInLineOfSight(Unit * /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} void DoAction(const int32 /*info*/) { diff --git a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp index 4153c4c234f..c5491ed2d0c 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp @@ -76,7 +76,7 @@ public: TeronGUID = 0; } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void AttackStart(Unit* /*who*/) {} void MoveInLineOfSight(Unit* /*who*/) {} @@ -263,7 +263,7 @@ public: Done = false; } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void MoveInLineOfSight(Unit* pWho) { @@ -286,12 +286,12 @@ public: ScriptedAI::MoveInLineOfSight(pWho); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) pInstance->SetData(DATA_TERONGOREFIENDEVENT, DONE); diff --git a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp index fb8711ec7ac..e3c59203903 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp @@ -92,13 +92,13 @@ public: pInstance->SetData(DATA_HIGHWARLORDNAJENTUSEVENT, NOT_STARTED); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(rand()%2 ? SAY_SLAY1 : SAY_SLAY2, me); events.DelayEvents(5000, GCD_YELL); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) pInstance->SetData(DATA_HIGHWARLORDNAJENTUSEVENT, DONE); @@ -106,7 +106,7 @@ public: DoScriptText(SAY_DEATH, me); } - void SpellHit(Unit * /*caster*/, const SpellEntry *spell) + void SpellHit(Unit* /*caster*/, const SpellEntry *spell) { if (spell->Id == SPELL_HURL_SPINE && me->HasAura(SPELL_TIDAL_SHIELD)) { @@ -116,7 +116,7 @@ public: } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (pInstance) pInstance->SetData(DATA_HIGHWARLORDNAJENTUSEVENT, IN_PROGRESS); diff --git a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp index 0ae6d62e175..fc3ac269260 100644 --- a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp +++ b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp @@ -271,7 +271,7 @@ public: me->SetDisplayId(11686); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void AttackStart(Unit* /*who*/) {} void MoveInLineOfSight(Unit* /*who*/) {} @@ -492,12 +492,12 @@ public: BlessingTimer = 60000; } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(SAY_GATH_SLAY, me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_GATH_DEATH, me); } @@ -621,12 +621,12 @@ public: Cooldown = 0; } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(SAY_ZERE_SLAY, me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_ZERE_DEATH, me); } @@ -721,12 +721,12 @@ public: ReflectiveShieldTimer = 0; } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(SAY_MALA_SLAY, me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_MALA_DEATH, me); } @@ -807,12 +807,12 @@ public: me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(SAY_VERA_SLAY, me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_VERA_DEATH, me); } @@ -891,14 +891,14 @@ public: { PrepareAuraScript(spell_boss_lady_malande_shield_AuraScript); - bool Validate(SpellEntry const * /*spellEntry*/) + bool Validate(SpellEntry const* /*spellEntry*/) { return sSpellStore.LookupEntry(SPELL_REFLECTIVE_SHIELD_T); } void Trigger(AuraEffect * aurEff, DamageInfo & dmgInfo, uint32 & absorbAmount) { - Unit * target = GetTarget(); + Unit* target = GetTarget(); if (dmgInfo.GetAttacker() == target) return; int32 bp = absorbAmount / 2; diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp index b5e0120d004..499652f6034 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp @@ -199,12 +199,12 @@ public: pInstance->SetData(DATA_KARATHRESSEVENT, IN_PROGRESS); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2, SAY_SLAY3), me); } - void JustDied(Unit * /*killer*/) + void JustDied(Unit* /*killer*/) { DoScriptText(SAY_DEATH, me); @@ -215,7 +215,7 @@ public: me->SummonCreature(SEER_OLUM, OLUM_X, OLUM_Y, OLUM_Z, OLUM_O, TEMPSUMMON_TIMED_DESPAWN, 3600000); } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { StartEvent(who); } @@ -354,7 +354,7 @@ public: pInstance->SetData(DATA_KARATHRESSEVENT, NOT_STARTED); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) { @@ -367,7 +367,7 @@ public: } } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (pInstance) { @@ -494,7 +494,7 @@ public: pInstance->SetData(DATA_KARATHRESSEVENT, NOT_STARTED); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) { @@ -507,7 +507,7 @@ public: } } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (pInstance) { @@ -621,7 +621,7 @@ public: pInstance->SetData(DATA_KARATHRESSEVENT, NOT_STARTED); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) { @@ -634,7 +634,7 @@ public: } } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (pInstance) { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp index 9c79808b589..520a22e414d 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp @@ -166,7 +166,7 @@ public: } } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); @@ -174,7 +174,7 @@ public: pInstance->SetData(DATA_HYDROSSTHEUNSTABLEEVENT, IN_PROGRESS); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { if (CorruptedForm) { @@ -207,7 +207,7 @@ public: Summons.Despawn(summon); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (CorruptedForm) DoScriptText(SAY_CORRUPT_DEATH, me); diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp index f9879dee03a..45b8b5d3590 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp @@ -226,12 +226,12 @@ public: if (TaintedElemental_Timer > 50000) TaintedElemental_Timer = 50000; } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2, SAY_SLAY3), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); @@ -249,7 +249,7 @@ public: pInstance->SetData(DATA_LADYVASHJEVENT, IN_PROGRESS); } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (pInstance) { @@ -630,9 +630,9 @@ public: VashjGUID = pInstance->GetData64(DATA_LADYVASHJ); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} - void MoveInLineOfSight(Unit * /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} void UpdateAI(const uint32 diff) { @@ -705,7 +705,7 @@ public: Despawn_Timer = 30000; } - void JustDied(Unit * /*killer*/) + void JustDied(Unit* /*killer*/) { if (pInstance) { @@ -717,7 +717,7 @@ public: } } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { me->AddThreat(who, 0.1f); } @@ -787,12 +787,12 @@ public: Check_Timer = 1000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } - void MoveInLineOfSight(Unit * /*who*/) + void MoveInLineOfSight(Unit* /*who*/) { } @@ -939,9 +939,9 @@ public: me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} - void MoveInLineOfSight(Unit * /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} void UpdateAI (const uint32 diff) { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp index d8e3b1158e9..f69a8cc7589 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp @@ -94,7 +94,7 @@ public: ShadowBolt_Timer = 10000; Link_Timer = 1000; } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { Unit* pUnit = Unit::GetUnit((*me), victimGUID); if (pUnit && pUnit->HasAura(SPELL_INSIDIOUS_WHISPER)) @@ -110,7 +110,7 @@ public: } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (!victimGUID) return; } @@ -367,7 +367,7 @@ public: } } - void KilledUnit(Unit * victim) + void KilledUnit(Unit* victim) { if (victim->GetTypeId() != TYPEID_PLAYER) return; @@ -382,7 +382,7 @@ public: } } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); @@ -396,7 +396,7 @@ public: pInstance->SetData(DATA_LEOTHERASTHEBLINDEVENT, DONE); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (me->HasAura(AURA_BANISH)) return; @@ -520,7 +520,7 @@ public: { if ((*itr) && (*itr)->isAlive()) { - Creature * demon = me->SummonCreature(INNER_DEMON_ID, (*itr)->GetPositionX()+10, (*itr)->GetPositionY()+10, (*itr)->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000); + Creature* demon = me->SummonCreature(INNER_DEMON_ID, (*itr)->GetPositionX()+10, (*itr)->GetPositionY()+10, (*itr)->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000); if (demon) { demon->AI()->AttackStart((*itr)); @@ -616,7 +616,7 @@ public: DoScriptText(SAY_FREE, me); } - void KilledUnit(Unit * victim) + void KilledUnit(Unit* victim) { if (victim->GetTypeId() != TYPEID_PLAYER) return; @@ -624,13 +624,13 @@ public: DoScriptText(RAND(SAY_DEMON_SLAY1, SAY_DEMON_SLAY2, SAY_DEMON_SLAY3), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { //invisibility (blizzlike, at the end of the fight he doesn't die, he disappears) DoCast(me, 8149, true); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { StartEvent(); } @@ -703,7 +703,7 @@ public: } } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { me->InterruptNonMeleeSpells(false); if (pInstance) @@ -792,7 +792,7 @@ public: DoMeleeAttackIfReady(); } - void JustDied(Unit * /*killer*/) {} + void JustDied(Unit* /*killer*/) {} }; }; diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp index 67cb8797593..51327f5d985 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp @@ -157,7 +157,7 @@ public: Summons.DespawnAll(); } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (pInstance) pInstance->SetData(DATA_THELURKERBELOWEVENT, IN_PROGRESS); @@ -425,7 +425,7 @@ public: } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp index 62b41cd4c0f..ce80a1b3ee7 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp @@ -135,12 +135,12 @@ public: pInstance->SetData(DATA_MOROGRIMTIDEWALKEREVENT, IN_PROGRESS); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2, SAY_SLAY3), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); @@ -148,7 +148,7 @@ public: pInstance->SetData(DATA_MOROGRIMTIDEWALKEREVENT, DONE); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { PlayerList = &me->GetMap()->GetPlayers(); Playercount = PlayerList->getSize(); @@ -309,7 +309,7 @@ public: me->setFaction(14); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void MoveInLineOfSight(Unit *who) { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp index dcc88ba5d78..e84ced2db5a 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp @@ -92,7 +92,7 @@ public: DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); @@ -167,7 +167,7 @@ public: WaterBoltVolley_Timer = 3000+rand()%3000; } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void UpdateAI(const uint32 diff) { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp index 6781e3562c2..4129438f140 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp @@ -101,7 +101,7 @@ public: DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2, SAY_SLAY_3), me); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); @@ -223,7 +223,7 @@ public: //react only if attacked } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void UpdateAI(const uint32 diff) { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp index d91750beaa3..ffe7265a566 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp @@ -77,9 +77,9 @@ public: } } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } - void StartRageGen(Unit * /*caster*/) + void StartRageGen(Unit* /*caster*/) { me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); @@ -90,7 +90,7 @@ public: pInstance->SetData(TYPE_DISTILLER, IN_PROGRESS); } - void DamageTaken(Unit * /*done_by*/, uint32 &damage) + void DamageTaken(Unit* /*done_by*/, uint32 &damage) { if (me->GetHealth() <= damage) if (pInstance) @@ -135,7 +135,7 @@ public: pInstance->SetData(TYPE_WARLORD_KALITHRESH, NOT_STARTED); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO1, SAY_AGGRO2, SAY_AGGRO3), me); @@ -148,7 +148,7 @@ public: DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me); } - void SpellHit(Unit * /*caster*/, const SpellEntry *spell) + void SpellHit(Unit* /*caster*/, const SpellEntry *spell) { //hack :( if (spell->Id == SPELL_WARLORDS_RAGE_PROC) diff --git a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp index 6ccce4646ba..d9a8b629d68 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp @@ -55,7 +55,7 @@ public: AcidGeyser_Timer = 10000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } @@ -128,7 +128,7 @@ public: DoCast(me, SPELL_SPORE_CLOUD, true); } - void MoveInLineOfSight(Unit * /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} void AttackStart(Unit* /*who*/) {} diff --git a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp index d77cdcf69f0..00559eeec99 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp @@ -73,7 +73,7 @@ public: Striders.clear(); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void JustSummoned(Creature *summon) { @@ -88,7 +88,7 @@ public: } } - void JustDied(Unit * /*who*/) + void JustDied(Unit* /*who*/) { for (std::list<uint64>::const_iterator i = Striders.begin(); i != Striders.end(); ++i) if (Creature *strider = Unit::GetCreature(*me, *i)) diff --git a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp index dad5f356a1c..67dfd42815b 100644 --- a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp +++ b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp @@ -96,7 +96,7 @@ public: pInstance->SetData(DATA_GRUULEVENT, NOT_STARTED); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); diff --git a/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp b/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp index 4d835a680c0..b1b19898161 100644 --- a/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp +++ b/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp @@ -589,7 +589,7 @@ public: pInstance->SetData(DATA_MAULGAREVENT, NOT_STARTED); } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (pInstance) { @@ -699,7 +699,7 @@ public: pInstance->SetData(DATA_MAULGAREVENT, NOT_STARTED); } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (pInstance) { diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp index a21ce8473b7..f07f559df8e 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp @@ -71,7 +71,7 @@ class boss_broggok : public CreatureScript } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); if (pInstance) diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp index 7f2b5f7bd78..2c559c9bf34 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp @@ -78,7 +78,7 @@ class boss_the_maker : public CreatureScript pInstance->HandleGameObject(pInstance->GetData64(DATA_DOOR2), true); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp index 6afbe18a78e..85f8c394fb2 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp @@ -90,7 +90,7 @@ class boss_omor_the_unscarred : public CreatureScript CanPullBack = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp index 6622c42827b..a8fe1458cf9 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp @@ -225,7 +225,7 @@ class boss_vazruden : public CreatureScript WipeSaid = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp index f1b21b1da69..c8163e19da5 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp @@ -78,7 +78,7 @@ class boss_watchkeeper_gargolmar : public CreatureScript YelledForHeal = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } diff --git a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp index d58cb83ce92..793d49e8cae 100644 --- a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp @@ -352,7 +352,7 @@ class boss_magtheridon : public CreatureScript ScriptedAI::AttackStart(who); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (pInstance) pInstance->SetData(DATA_MAGTHERIDON_EVENT, IN_PROGRESS); @@ -519,7 +519,7 @@ class mob_hellfire_channeler : public CreatureScript Check_Timer = 5000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (pInstance) pInstance->SetData(DATA_CHANNELER_EVENT, IN_PROGRESS); @@ -611,7 +611,7 @@ public: { } - bool OnGossipHello(Player *pPlayer, GameObject * pGO) + bool OnGossipHello(Player *pPlayer, GameObject* pGO) { InstanceScript* pInstance = pGO->GetInstanceScript(); diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp index 71c05cbf93a..b29d41070bc 100644 --- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp @@ -203,7 +203,7 @@ class boss_grand_warlock_nethekurse : public CreatureScript ScriptedAI::MoveInLineOfSight(who); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2, SAY_AGGRO_3), me); } @@ -332,7 +332,7 @@ class mob_fel_orc_convert : public CreatureScript Hemorrhage_Timer = 3000; } - void MoveInLineOfSight(Unit * /*who*/) + void MoveInLineOfSight(Unit* /*who*/) { } @@ -404,7 +404,7 @@ class mob_lesser_shadow_fissure : public CreatureScript mob_lesser_shadow_fissureAI(Creature* pCreature) : ScriptedAI(pCreature) {} void Reset() { } - void MoveInLineOfSight(Unit * /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} void AttackStart(Unit* /*who*/) {} void EnterCombat(Unit* /*who*/) {} }; diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp index 69e8c12ac41..44397fe4299 100644 --- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp @@ -237,7 +237,7 @@ class boss_warbringer_omrogg : public CreatureScript ThreatYell = true; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { me->SummonCreature(NPC_LEFT_HEAD, 0.0f, 0.0f, 0.0f, 0.0f, TEMPSUMMON_DEAD_DESPAWN, 0); me->SummonCreature(NPC_RIGHT_HEAD, 0.0f, 0.0f, 0.0f, 0.0f, TEMPSUMMON_DEAD_DESPAWN, 0); diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp index 417eb865b4d..018aefaa3d1 100644 --- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp @@ -108,7 +108,7 @@ class boss_warchief_kargath_bladefist : public CreatureScript resetcheck_timer = 5000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(RAND(SAY_AGGRO1, SAY_AGGRO2, SAY_AGGRO3), me); } diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp index 7eef901f83e..8fa39447198 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp @@ -135,7 +135,7 @@ class boss_alar : public CreatureScript me->setActive(false); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (pInstance) pInstance->SetData(DATA_ALAREVENT, IN_PROGRESS); @@ -145,7 +145,7 @@ class boss_alar : public CreatureScript me->setActive(true); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { if (pInstance) pInstance->SetData(DATA_ALAREVENT, DONE); @@ -158,7 +158,7 @@ class boss_alar : public CreatureScript summon->AI()->AttackStart(pTarget); } - void MoveInLineOfSight(Unit * /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} void AttackStart(Unit* who) { @@ -481,7 +481,7 @@ class mob_ember_of_alar : public CreatureScript { toDie = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoZoneInCombat(); } @@ -548,7 +548,7 @@ class mob_flame_patch_alar : public CreatureScript { mob_flame_patch_alarAI(Creature* pCreature) : ScriptedAI(pCreature) {} void Reset() {} - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void AttackStart(Unit* /*who*/) {} void MoveInLineOfSight(Unit* /*who*/) {} void UpdateAI(const uint32 /*diff*/) {} diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp index d50ac198eff..e894cd2be78 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp @@ -143,12 +143,12 @@ class boss_high_astromancer_solarian : public CreatureScript Summons.DespawnAll(); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_KILL1, SAY_KILL2, SAY_KILL3), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { me->SetFloatValue(OBJECT_FIELD_SCALE_X, defaultsize); me->SetDisplayId(MODEL_HUMAN); @@ -157,7 +157,7 @@ class boss_high_astromancer_solarian : public CreatureScript pInstance->SetData(DATA_HIGHASTROMANCERSOLARIANEVENT, DONE); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); DoZoneInCombat(); @@ -435,7 +435,7 @@ class mob_solarium_priest : public CreatureScript aoesilenceTimer = 15000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp index 95e6a52db2b..5c4f3cb959a 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp @@ -423,7 +423,7 @@ class boss_kaelthas : public CreatureScript } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (m_pInstance && !m_pInstance->GetData(DATA_KAELTHASEVENT) && !Phase) StartEvent(); @@ -1425,9 +1425,9 @@ class mob_kael_flamestrike : public CreatureScript me->setFaction(14); } - void MoveInLineOfSight(Unit * /*who*/) {} + void MoveInLineOfSight(Unit* /*who*/) {} - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void UpdateAI(const uint32 diff) { diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp index 988524b35f3..e348ac5aab4 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp @@ -80,12 +80,12 @@ class boss_void_reaver : public CreatureScript pInstance->SetData(DATA_VOIDREAVEREVENT, NOT_STARTED); } - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2, SAY_SLAY3), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); DoZoneInCombat(); @@ -94,7 +94,7 @@ class boss_void_reaver : public CreatureScript pInstance->SetData(DATA_VOIDREAVEREVENT, DONE); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); diff --git a/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp b/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp index a0b954870df..12f95fdb4aa 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp @@ -57,7 +57,7 @@ class mob_crystalcore_devastator : public CreatureScript Knockaway_Timer = 25000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp index 2b575d2b499..b81b74a7fa9 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp @@ -73,7 +73,7 @@ class boss_gatewatcher_iron_hand : public CreatureScript Stream_of_Machine_Fluid_Timer = 55000; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO_1, me); } diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp index ecaf72d8567..f4eacb9bf3c 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp @@ -93,7 +93,7 @@ class boss_pathaleon_the_calculator : public CreatureScript Counter = 0; summons.DespawnAll(); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); } diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp index c67e70a8614..57d9cacd5a6 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp @@ -122,14 +122,14 @@ class npc_millhouse_manastorm : public CreatureScript } } - void EnterCombat(Unit * /*who*/){} + void EnterCombat(Unit* /*who*/){} - void KilledUnit(Unit * /*victim*/) + void KilledUnit(Unit* /*victim*/) { DoScriptText(RAND(SAY_KILL_1, SAY_KILL_2), me); } - void JustDied(Unit * /*victim*/) + void JustDied(Unit* /*victim*/) { DoScriptText(SAY_DEATH, me); @@ -328,7 +328,7 @@ class npc_warden_mellichar : public CreatureScript } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(YELL_INTRO1, me); DoCast(me, SPELL_BUBBLE_VISUAL); diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp index 040b1469130..75a1d3b51a0 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp @@ -110,7 +110,7 @@ class boss_harbinger_skyriss : public CreatureScript ScriptedAI::MoveInLineOfSight(who); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void JustDied(Unit* /*Killer*/) { @@ -294,7 +294,7 @@ class boss_harbinger_skyriss_illusion : public CreatureScript void Reset() { } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } }; CreatureAI* GetAI(Creature* creature) const diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp index 4d031be1195..56377818eae 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp @@ -80,7 +80,7 @@ class boss_high_botanist_freywinn : public CreatureScript MoveFree = true; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); } diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp index eaaaaec92cd..6e2ba1ad4d7 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp @@ -155,7 +155,7 @@ class boss_laj : public CreatureScript CanSummon = false; } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { } diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp index ac69e21a30b..2fccfd0eddc 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp @@ -86,7 +86,7 @@ class mob_warp_splinter_treant : public CreatureScript check_Timer = 0; } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void MoveInLineOfSight(Unit* /*who*/) {} @@ -159,7 +159,7 @@ class boss_warp_splinter : public CreatureScript me->SetSpeed(MOVE_RUN, 0.7f, true); } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { DoScriptText(SAY_AGGRO, me); } diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp index 54ff410a2ca..e7f1f01b670 100644 --- a/src/server/scripts/Outland/nagrand.cpp +++ b/src/server/scripts/Outland/nagrand.cpp @@ -200,7 +200,7 @@ public: } } - void EnterCombat(Unit * /*who*/) + void EnterCombat(Unit* /*who*/) { if (me->HasAura(SPELL_VISUAL_SLEEP)) me->RemoveAura(SPELL_VISUAL_SLEEP); @@ -267,9 +267,9 @@ public: me->SetStandState(UNIT_STAND_STATE_DEAD); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} - void SpellHit(Unit * /*caster*/, const SpellEntry *spell) + void SpellHit(Unit* /*caster*/, const SpellEntry *spell) { if (spell->Id == 32146) { @@ -301,7 +301,7 @@ class npc_altruis_the_sufferer : public CreatureScript public: npc_altruis_the_sufferer() : CreatureScript("npc_altruis_the_sufferer") { } - bool OnQuestAccept(Player* pPlayer, Creature* /*pCreature*/, Quest const * /*quest*/) + bool OnQuestAccept(Player* pPlayer, Creature* /*pCreature*/, Quest const* /*quest*/) { if (!pPlayer->GetQuestRewardStatus(9991)) //Survey the Land, q-id 9991 { diff --git a/src/server/scripts/Outland/netherstorm.cpp b/src/server/scripts/Outland/netherstorm.cpp index 6bd250dd171..3e801bd1eed 100644 --- a/src/server/scripts/Outland/netherstorm.cpp +++ b/src/server/scripts/Outland/netherstorm.cpp @@ -98,7 +98,7 @@ public: add = NULL; } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} /*void SpellHit(Unit *caster, const SpellEntry *spell) { @@ -421,7 +421,7 @@ public: isEvent = false; } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void JustSummoned(Creature *summoned) { @@ -776,13 +776,13 @@ public: me->UpdateEntry(NPC_PHASE_HUNTER_ENTRY); } - void EnterCombat(Unit * who) + void EnterCombat(Unit* who) { if (who->GetTypeId() == TYPEID_PLAYER) PlayerGUID = who->GetGUID(); } - void SpellHit(Unit * /*caster*/, const SpellEntry * /*spell*/) + void SpellHit(Unit* /*caster*/, const SpellEntry * /*spell*/) { DoCast(me, SPELL_DE_MATERIALIZE); } diff --git a/src/server/scripts/Outland/shadowmoon_valley.cpp b/src/server/scripts/Outland/shadowmoon_valley.cpp index 8eda56d77e1..7b571c5874c 100644 --- a/src/server/scripts/Outland/shadowmoon_valley.cpp +++ b/src/server/scripts/Outland/shadowmoon_valley.cpp @@ -1495,7 +1495,7 @@ public: } void EnterCombat(Unit* /*who*/) {} - void JustDied(Unit * /*slayer*/) + void JustDied(Unit* /*slayer*/) { me->RemoveCorpse(); if (Creature* LordIllidan = (Unit::GetCreature(*me, LordIllidanGUID))) @@ -1739,7 +1739,7 @@ public: void Reset() { } - void EnterCombat(Unit * /*who*/){} + void EnterCombat(Unit* /*who*/){} void JustDied(Unit* /*killer*/) { diff --git a/src/server/scripts/Outland/terokkar_forest.cpp b/src/server/scripts/Outland/terokkar_forest.cpp index 0bf7e99ad80..92765ec61de 100644 --- a/src/server/scripts/Outland/terokkar_forest.cpp +++ b/src/server/scripts/Outland/terokkar_forest.cpp @@ -77,7 +77,7 @@ public: me->setFaction(FACTION_HOSTILE); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void DoNice() { @@ -172,7 +172,7 @@ public: mob_infested_root_walkerAI(Creature *c) : ScriptedAI(c) {} void Reset() { } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void DamageTaken(Unit *done_by, uint32 &damage) { @@ -267,7 +267,7 @@ public: mob_rotting_forest_ragerAI(Creature *c) : ScriptedAI(c) {} void Reset() { } - void EnterCombat(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } void DamageTaken(Unit *done_by, uint32 &damage) { @@ -307,8 +307,8 @@ public: mob_netherweb_victimAI(Creature *c) : ScriptedAI(c) {} void Reset() { } - void EnterCombat(Unit * /*who*/) { } - void MoveInLineOfSight(Unit * /*who*/) { } + void EnterCombat(Unit* /*who*/) { } + void MoveInLineOfSight(Unit* /*who*/) { } void JustDied(Unit* Killer) { @@ -411,7 +411,7 @@ public: me->setFaction(m_uiNormFaction); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void UpdateAI(const uint32 diff) { diff --git a/src/server/scripts/Outland/zangarmarsh.cpp b/src/server/scripts/Outland/zangarmarsh.cpp index 32095a26140..3c2f4c991ee 100644 --- a/src/server/scripts/Outland/zangarmarsh.cpp +++ b/src/server/scripts/Outland/zangarmarsh.cpp @@ -164,7 +164,7 @@ public: me->setFaction(m_uiNormFaction); } - void EnterCombat(Unit * /*who*/) {} + void EnterCombat(Unit* /*who*/) {} void UpdateAI(const uint32 diff) { |
