aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGyx <2359980687@qq.com>2012-03-14 09:20:36 +0800
committerGyx <2359980687@qq.com>2012-03-14 09:20:36 +0800
commite8f414e143d9f716298a18f0c290149d2a154229 (patch)
tree224939a88c4a700db74c74487ccab106d028ceb5 /src
parent1dde22394c880a0839ced6bb70f778340800ec1c (diff)
Core/Script: Clean-Up in Scripts.
Creature* c -> Creature* creature Signed-off-by: Gyx <2359980687@qq.com>
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp10
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp11
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp36
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_death_knight_darkreaver.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_doctor_theolen_krastinov.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_illucia_barov.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_instructor_malicia.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_kormok.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_lord_alexei_barov.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_ras_frostwhisper.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_the_ravenian.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_vectus.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_cannon_master_willey.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_dathrohan_balnazzar.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_magistrate_barthilas.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_maleki_the_pallid.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_nerubenkan.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_postmaster_malown.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_ramstein_the_gorger.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_timmy_the_cruel.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp10
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp28
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp20
-rw-r--r--src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/arathi_highlands.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/boss_kruul.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/burning_steppes.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/duskwood.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/eastern_plaguelands.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/eversong_woods.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/ghostlands.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/isle_of_queldanas.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/silvermoon_city.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/silverpine_forest.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/stormwind_city.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/stranglethorn_vale.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/undercity.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/western_plaguelands.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/westfall.cpp2
-rw-r--r--src/server/scripts/Examples/example_creature.cpp2
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp8
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp12
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp8
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h2
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp42
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h2
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_aeonus.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_chrono_lord_deja.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_temporus.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/dark_portal.cpp8
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp4
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_leutenant_drake.cpp2
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp8
-rw-r--r--src/server/scripts/Kalimdor/RazorfenDowns/boss_amnennar_the_coldbringer.cpp2
-rw-r--r--src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp2
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp12
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp18
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp2
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp2
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp2
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp4
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp2
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp4
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp2
-rw-r--r--src/server/scripts/Kalimdor/WailingCaverns/wailing_caverns.cpp4
-rw-r--r--src/server/scripts/Kalimdor/ashenvale.cpp2
-rw-r--r--src/server/scripts/Kalimdor/azshara.cpp6
-rw-r--r--src/server/scripts/Kalimdor/azuremyst_isle.cpp18
-rw-r--r--src/server/scripts/Kalimdor/bloodmyst_isle.cpp2
-rw-r--r--src/server/scripts/Kalimdor/boss_azuregos.cpp2
-rw-r--r--src/server/scripts/Kalimdor/durotar.cpp2
-rw-r--r--src/server/scripts/Kalimdor/moonglade.cpp2
-rw-r--r--src/server/scripts/Kalimdor/mulgore.cpp4
-rw-r--r--src/server/scripts/Kalimdor/orgrimmar.cpp4
-rw-r--r--src/server/scripts/Kalimdor/silithus.cpp6
-rw-r--r--src/server/scripts/Kalimdor/stonetalon_mountains.cpp2
-rw-r--r--src/server/scripts/Kalimdor/tanaris.cpp6
-rw-r--r--src/server/scripts/Kalimdor/the_barrens.cpp6
-rw-r--r--src/server/scripts/Kalimdor/thousand_needles.cpp4
-rw-r--r--src/server/scripts/Kalimdor/thunder_bluff.cpp2
-rw-r--r--src/server/scripts/Kalimdor/ungoro_crater.cpp2
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp6
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp6
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp12
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp8
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp4
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp18
-rw-r--r--src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp12
-rw-r--r--src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp4
-rw-r--r--src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp4
-rw-r--r--src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp10
-rw-r--r--src/server/scripts/Northrend/Gundrak/boss_eck.cpp8
-rw-r--r--src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp4
-rw-r--r--src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp8
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp8
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp4
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp4
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp8
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/commander_kolurg.cpp2
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/commander_stoutbeard.cpp2
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp4
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp2
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp10
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp8
-rw-r--r--src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon.cpp4
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp6
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp8
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp4
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp24
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp4
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp4
-rw-r--r--src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp2
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp4
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_erekem.cpp8
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp4
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_moragg.cpp4
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp4
-rw-r--r--src/server/scripts/Northrend/VioletHold/violet_hold.cpp44
-rw-r--r--src/server/scripts/Northrend/borean_tundra.cpp20
-rw-r--r--src/server/scripts/Northrend/grizzly_hills.cpp4
-rw-r--r--src/server/scripts/Northrend/sholazar_basin.cpp2
-rwxr-xr-xsrc/server/scripts/OutdoorPvP/OutdoorPvPZM.h2
-rw-r--r--src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp6
-rw-r--r--src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp4
-rw-r--r--src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp6
-rw-r--r--src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp2
-rw-r--r--src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp10
-rw-r--r--src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp4
-rw-r--r--src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp4
-rw-r--r--src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp6
-rw-r--r--src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp2
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp4
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_illidan.cpp20
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp4
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp12
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp12
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_supremus.cpp6
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp8
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp4
-rw-r--r--src/server/scripts/Outland/BlackTemple/illidari_council.cpp10
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp16
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp4
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp22
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp14
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp6
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp6
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp6
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp8
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp8
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp4
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp2
-rw-r--r--src/server/scripts/Outland/GruulsLair/boss_gruul.cpp4
-rw-r--r--src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp20
-rw-r--r--src/server/scripts/Outland/blades_edge_mountains.cpp6
-rw-r--r--src/server/scripts/Outland/hellfire_peninsula.cpp4
-rw-r--r--src/server/scripts/Outland/nagrand.cpp2
-rw-r--r--src/server/scripts/Outland/netherstorm.cpp8
-rw-r--r--src/server/scripts/Outland/shadowmoon_valley.cpp16
-rw-r--r--src/server/scripts/Outland/shattrath_city.cpp10
-rw-r--r--src/server/scripts/Outland/terokkar_forest.cpp18
-rw-r--r--src/server/scripts/Outland/zangarmarsh.cpp6
-rw-r--r--src/server/scripts/World/mob_generic_creature.cpp2
-rw-r--r--src/server/scripts/World/npcs_special.cpp26
216 files changed, 687 insertions, 688 deletions
diff --git a/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp b/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
index 15c418d2919..8edf6260f58 100644
--- a/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
+++ b/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
@@ -355,7 +355,7 @@ public:
struct mob_phalanxAI : public ScriptedAI
{
- mob_phalanxAI(Creature* c) : ScriptedAI(c) {}
+ mob_phalanxAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ThunderClap_Timer;
uint32 FireballVolley_Timer;
@@ -609,7 +609,7 @@ public:
struct npc_dughal_stormwingAI : public npc_escortAI
{
- npc_dughal_stormwingAI(Creature* c) : npc_escortAI(c) {}
+ npc_dughal_stormwingAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
@@ -725,9 +725,9 @@ public:
struct npc_marshal_windsorAI : public npc_escortAI
{
- npc_marshal_windsorAI(Creature* c) : npc_escortAI(c)
+ npc_marshal_windsorAI(Creature* creature) : npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
void WaypointReached(uint32 i)
@@ -896,7 +896,7 @@ public:
struct npc_marshal_reginald_windsorAI : public npc_escortAI
{
- npc_marshal_reginald_windsorAI(Creature* c) : npc_escortAI(c)
+ npc_marshal_reginald_windsorAI(Creature* creature) : npc_escortAI(creature)
{
}
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp
index b1fa4d54eb6..6de67e9371f 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp
@@ -55,7 +55,7 @@ public:
struct boss_curatorAI : public ScriptedAI
{
- boss_curatorAI(Creature* c) : ScriptedAI(c) {}
+ boss_curatorAI(Creature* creature) : ScriptedAI(creature) {}
uint32 AddTimer;
uint32 HatefulBoltTimer;
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp
index 66de84abbc2..5446f4c0158 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp
@@ -51,7 +51,7 @@ public:
struct boss_maiden_of_virtueAI : public ScriptedAI
{
- boss_maiden_of_virtueAI(Creature* c) : ScriptedAI(c) {}
+ boss_maiden_of_virtueAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Repentance_Timer;
uint32 Holyfire_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp
index 65b758b55e7..4e04284354e 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp
@@ -58,7 +58,7 @@ public:
struct boss_attumenAI : public ScriptedAI
{
- boss_attumenAI(Creature* c) : ScriptedAI(c)
+ boss_attumenAI(Creature* creature) : ScriptedAI(creature)
{
Phase = 1;
@@ -119,7 +119,7 @@ public:
struct boss_midnightAI : public ScriptedAI
{
- boss_midnightAI(Creature* c) : ScriptedAI(c) {}
+ boss_midnightAI(Creature* creature) : ScriptedAI(creature) {}
uint64 Attumen;
uint8 Phase;
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp
index 484515be0f8..ec80ae02ca9 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp
@@ -72,13 +72,12 @@ public:
struct boss_moroesAI : public ScriptedAI
{
- boss_moroesAI(Creature* c) : ScriptedAI(c)
+ boss_moroesAI(Creature* creature) : ScriptedAI(creature)
{
for (uint8 i = 0; i < 4; ++i)
- {
AddId[i] = 0;
- }
- instance = c->GetInstanceScript();
+
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -322,12 +321,12 @@ struct boss_moroes_guestAI : public ScriptedAI
uint64 GuestGUID[4];
- boss_moroes_guestAI(Creature* c) : ScriptedAI(c)
+ boss_moroes_guestAI(Creature* creature) : ScriptedAI(creature)
{
for (uint8 i = 0; i < 4; ++i)
GuestGUID[i] = 0;
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
void Reset()
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp
index c1fe9c9c56c..f89abca76cf 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp
@@ -70,9 +70,9 @@ public:
struct boss_netherspiteAI : public ScriptedAI
{
- boss_netherspiteAI(Creature* c) : ScriptedAI(c)
+ boss_netherspiteAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
for (int i=0; i<3; ++i)
{
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp
index 0cf68852041..ded5e6903a5 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp
@@ -70,9 +70,9 @@ public:
struct boss_nightbaneAI : public ScriptedAI
{
- boss_nightbaneAI(Creature* c) : ScriptedAI(c)
+ boss_nightbaneAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
Intro = true;
}
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp
index 35a9f854d58..596f07fec64 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp
@@ -108,7 +108,7 @@ public:
struct netherspite_infernalAI : public ScriptedAI
{
- netherspite_infernalAI(Creature* c) : ScriptedAI(c),
+ netherspite_infernalAI(Creature* creature) : ScriptedAI(creature),
HellfireTimer(0), CleanupTimer(0), malchezaar(0), point(NULL) {}
uint32 HellfireTimer;
@@ -183,9 +183,9 @@ public:
struct boss_malchezaarAI : public ScriptedAI
{
- boss_malchezaarAI(Creature* c) : ScriptedAI(c)
+ boss_malchezaarAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
index d3d8ad38a43..120bd03b719 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
@@ -92,9 +92,9 @@ public:
struct boss_aranAI : public ScriptedAI
{
- boss_aranAI(Creature* c) : ScriptedAI(c)
+ boss_aranAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -522,7 +522,7 @@ public:
struct water_elementalAI : public ScriptedAI
{
- water_elementalAI(Creature* c) : ScriptedAI(c) {}
+ water_elementalAI(Creature* creature) : ScriptedAI(creature) {}
uint32 CastTimer;
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
index 15750c5b9c5..d0716a0b565 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
@@ -68,9 +68,9 @@ public:
struct mob_kilrekAI : public ScriptedAI
{
- mob_kilrekAI(Creature* c) : ScriptedAI(c)
+ mob_kilrekAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -140,7 +140,7 @@ public:
struct mob_demon_chainAI : public ScriptedAI
{
- mob_demon_chainAI(Creature* c) : ScriptedAI(c) {}
+ mob_demon_chainAI(Creature* creature) : ScriptedAI(creature) {}
uint64 SacrificeGUID;
@@ -215,7 +215,7 @@ public:
struct mob_fiendish_impAI : public ScriptedAI
{
- mob_fiendish_impAI(Creature* c) : ScriptedAI(c) {}
+ mob_fiendish_impAI(Creature* creature) : ScriptedAI(creature) {}
uint32 FireboltTimer;
@@ -258,11 +258,11 @@ public:
struct boss_terestianAI : public ScriptedAI
{
- boss_terestianAI(Creature* c) : ScriptedAI(c)
+ boss_terestianAI(Creature* creature) : ScriptedAI(creature)
{
for (uint8 i = 0; i < 2; ++i)
PortalGUID[i] = 0;
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp
index 39be500e487..c2aeedbd1d3 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp
@@ -114,9 +114,9 @@ public:
struct boss_dorotheeAI : public ScriptedAI
{
- boss_dorotheeAI(Creature* c) : ScriptedAI(c)
+ boss_dorotheeAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -229,7 +229,7 @@ public:
struct mob_titoAI : public ScriptedAI
{
- mob_titoAI(Creature* c) : ScriptedAI(c) {}
+ mob_titoAI(Creature* creature) : ScriptedAI(creature) {}
uint64 DorotheeGUID;
uint32 YipTimer;
@@ -296,9 +296,9 @@ public:
struct boss_strawmanAI : public ScriptedAI
{
- boss_strawmanAI(Creature* c) : ScriptedAI(c)
+ boss_strawmanAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -411,9 +411,9 @@ public:
struct boss_tinheadAI : public ScriptedAI
{
- boss_tinheadAI(Creature* c) : ScriptedAI(c)
+ boss_tinheadAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -521,9 +521,9 @@ public:
struct boss_roarAI : public ScriptedAI
{
- boss_roarAI(Creature* c) : ScriptedAI(c)
+ boss_roarAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -630,9 +630,9 @@ public:
struct boss_croneAI : public ScriptedAI
{
- boss_croneAI(Creature* c) : ScriptedAI(c)
+ boss_croneAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -712,7 +712,7 @@ public:
struct mob_cycloneAI : public ScriptedAI
{
- mob_cycloneAI(Creature* c) : ScriptedAI(c) {}
+ mob_cycloneAI(Creature* creature) : ScriptedAI(creature) {}
uint32 MoveTimer;
@@ -805,9 +805,9 @@ public:
struct boss_bigbadwolfAI : public ScriptedAI
{
- boss_bigbadwolfAI(Creature* c) : ScriptedAI(c)
+ boss_bigbadwolfAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -1004,9 +1004,9 @@ public:
struct boss_julianneAI : public ScriptedAI
{
- boss_julianneAI(Creature* c) : ScriptedAI(c)
+ boss_julianneAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
EntryYellTimer = 1000;
AggroYellTimer = 10000;
IsFakingDeath = false;
@@ -1127,9 +1127,9 @@ public:
struct boss_romuloAI : public ScriptedAI
{
- boss_romuloAI(Creature* c) : ScriptedAI(c)
+ boss_romuloAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
EntryYellTimer = 8000;
AggroYellTimer = 15000;
}
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp
index fd5a77fb816..a61fd235753 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp
@@ -109,11 +109,11 @@ public:
struct npc_barnesAI : public npc_escortAI
{
- npc_barnesAI(Creature* c) : npc_escortAI(c)
+ npc_barnesAI(Creature* creature) : npc_escortAI(creature)
{
RaidWiped = false;
m_uiEventId = 0;
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -474,9 +474,9 @@ public:
struct npc_image_of_medivhAI : public ScriptedAI
{
- npc_image_of_medivhAI(Creature* c) : ScriptedAI(c)
+ npc_image_of_medivhAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
index 0c1017edfdb..31f6d1cb2af 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
@@ -89,9 +89,9 @@ public:
struct boss_felblood_kaelthasAI : public ScriptedAI
{
- boss_felblood_kaelthasAI(Creature* c) : ScriptedAI(c)
+ boss_felblood_kaelthasAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -441,7 +441,7 @@ public:
struct mob_felkael_flamestrikeAI : public ScriptedAI
{
- mob_felkael_flamestrikeAI(Creature* c) : ScriptedAI(c)
+ mob_felkael_flamestrikeAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -483,9 +483,9 @@ public:
struct mob_felkael_phoenixAI : public ScriptedAI
{
- mob_felkael_phoenixAI(Creature* c) : ScriptedAI(c)
+ mob_felkael_phoenixAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -603,7 +603,7 @@ public:
struct mob_felkael_phoenix_eggAI : public ScriptedAI
{
- mob_felkael_phoenix_eggAI(Creature* c) : ScriptedAI(c) {}
+ mob_felkael_phoenix_eggAI(Creature* creature) : ScriptedAI(creature) {}
uint32 HatchTimer;
@@ -640,7 +640,7 @@ public:
struct mob_arcane_sphereAI : public ScriptedAI
{
- mob_arcane_sphereAI(Creature* c) : ScriptedAI(c) { Reset(); }
+ mob_arcane_sphereAI(Creature* creature) : ScriptedAI(creature) { Reset(); }
uint32 DespawnTimer;
uint32 ChangeTargetTimer;
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
index b9d4f600329..9984554208f 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
@@ -99,9 +99,9 @@ public:
struct boss_priestess_delrissaAI : public ScriptedAI
{
- boss_priestess_delrissaAI(Creature* c) : ScriptedAI(c)
+ boss_priestess_delrissaAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
memset(&m_auiLackeyGUID, 0, sizeof(m_auiLackeyGUID));
LackeyEntryList.clear();
}
@@ -341,9 +341,9 @@ enum eHealingPotion
//all 8 possible lackey use this common
struct boss_priestess_lackey_commonAI : public ScriptedAI
{
- boss_priestess_lackey_commonAI(Creature* c) : ScriptedAI(c)
+ boss_priestess_lackey_commonAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
memset(&m_auiLackeyGUIDs, 0, sizeof(m_auiLackeyGUIDs));
AcquireGUIDs();
}
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
index 62acd96d0a9..af7deda4545 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
@@ -63,9 +63,9 @@ public:
struct boss_selin_fireheartAI : public ScriptedAI
{
- boss_selin_fireheartAI(Creature* c) : ScriptedAI(c)
+ boss_selin_fireheartAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
Crystals.clear();
//GUIDs per instance is static, so we only need to load them once.
@@ -333,7 +333,7 @@ public:
struct mob_fel_crystalAI : public ScriptedAI
{
- mob_fel_crystalAI(Creature* c) : ScriptedAI(c) {}
+ mob_fel_crystalAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
index 5f3716d9dea..bae2dd71b6d 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
@@ -71,9 +71,9 @@ public:
struct boss_vexallusAI : public ScriptedAI
{
- boss_vexallusAI(Creature* c) : ScriptedAI(c)
+ boss_vexallusAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -206,7 +206,7 @@ public:
struct mob_pure_energyAI : public ScriptedAI
{
- mob_pure_energyAI(Creature* c) : ScriptedAI(c) {}
+ mob_pure_energyAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
diff --git a/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp b/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp
index 47d50925d56..f3797f0feb3 100644
--- a/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp
+++ b/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp
@@ -316,7 +316,7 @@ class mob_son_of_flame : public CreatureScript
struct mob_son_of_flameAI : public ScriptedAI //didnt work correctly in EAI for me...
{
- mob_son_of_flameAI(Creature* c) : ScriptedAI(c)
+ mob_son_of_flameAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
index a55694ad419..0b45144f51b 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
@@ -102,7 +102,7 @@ public:
struct npc_unworthy_initiateAI : public ScriptedAI
{
- npc_unworthy_initiateAI(Creature* c) : ScriptedAI(c)
+ npc_unworthy_initiateAI(Creature* creature) : ScriptedAI(creature)
{
me->SetReactState(REACT_PASSIVE);
if (!me->GetEquipmentId())
@@ -531,7 +531,7 @@ public:
struct npc_dark_rider_of_acherusAI : public ScriptedAI
{
- npc_dark_rider_of_acherusAI(Creature* c) : ScriptedAI(c) {}
+ npc_dark_rider_of_acherusAI(Creature* creature) : ScriptedAI(creature) {}
uint32 PhaseTimer;
uint32 Phase;
@@ -623,7 +623,7 @@ public:
struct npc_salanar_the_horsemanAI : public ScriptedAI
{
- npc_salanar_the_horsemanAI(Creature* c) : ScriptedAI(c) {}
+ npc_salanar_the_horsemanAI(Creature* creature) : ScriptedAI(creature) {}
void SpellHit(Unit* caster, const SpellInfo* spell)
{
@@ -692,7 +692,7 @@ public:
struct npc_ros_dark_riderAI : public ScriptedAI
{
- npc_ros_dark_riderAI(Creature* c) : ScriptedAI(c) {}
+ npc_ros_dark_riderAI(Creature* creature) : ScriptedAI(creature) {}
void EnterCombat(Unit* /*who*/)
{
@@ -743,7 +743,7 @@ public:
struct npc_dkc1_gothikAI : public ScriptedAI
{
- npc_dkc1_gothikAI(Creature* c) : ScriptedAI(c) {}
+ npc_dkc1_gothikAI(Creature* creature) : ScriptedAI(creature) {}
void MoveInLineOfSight(Unit* who)
{
@@ -785,7 +785,7 @@ public:
struct npc_scarlet_ghoulAI : public ScriptedAI
{
- npc_scarlet_ghoulAI(Creature* c) : ScriptedAI(c)
+ npc_scarlet_ghoulAI(Creature* creature) : ScriptedAI(creature)
{
// Ghouls should display their Birth Animation
// Crawling out of the ground
@@ -931,7 +931,7 @@ public:
struct npc_scarlet_minerAI : public npc_escortAI
{
- npc_scarlet_minerAI(Creature* c) : npc_escortAI(c)
+ npc_scarlet_minerAI(Creature* creature) : npc_escortAI(creature)
{
me->SetReactState(REACT_PASSIVE);
}
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp
index 4ddc240a03c..2bc0320b81d 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp
@@ -62,7 +62,7 @@ public:
struct boss_darkmaster_gandlingAI : public ScriptedAI
{
- boss_darkmaster_gandlingAI(Creature* c) : ScriptedAI(c)
+ boss_darkmaster_gandlingAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_death_knight_darkreaver.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_death_knight_darkreaver.cpp
index 693cad06bd5..967f771fe7a 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_death_knight_darkreaver.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_death_knight_darkreaver.cpp
@@ -37,7 +37,7 @@ public:
struct boss_death_knight_darkreaverAI : public ScriptedAI
{
- boss_death_knight_darkreaverAI(Creature* c) : ScriptedAI(c) {}
+ boss_death_knight_darkreaverAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_doctor_theolen_krastinov.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_doctor_theolen_krastinov.cpp
index 05d662c4fe3..82f4dc85060 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_doctor_theolen_krastinov.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_doctor_theolen_krastinov.cpp
@@ -45,7 +45,7 @@ public:
struct boss_theolenkrastinovAI : public ScriptedAI
{
- boss_theolenkrastinovAI(Creature* c) : ScriptedAI(c) {}
+ boss_theolenkrastinovAI(Creature* creature) : ScriptedAI(creature) {}
uint32 m_uiRend_Timer;
uint32 m_uiBackhand_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_illucia_barov.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_illucia_barov.cpp
index 92f0fcd25c4..e438ae56a2b 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_illucia_barov.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_illucia_barov.cpp
@@ -43,7 +43,7 @@ public:
struct boss_illuciabarovAI : public ScriptedAI
{
- boss_illuciabarovAI(Creature* c) : ScriptedAI(c) {}
+ boss_illuciabarovAI(Creature* creature) : ScriptedAI(creature) {}
uint32 CurseOfAgony_Timer;
uint32 ShadowShock_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_instructor_malicia.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_instructor_malicia.cpp
index 295d9440d2e..498e6596b06 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_instructor_malicia.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_instructor_malicia.cpp
@@ -44,7 +44,7 @@ public:
struct boss_instructormaliciaAI : public ScriptedAI
{
- boss_instructormaliciaAI(Creature* c) : ScriptedAI(c) {}
+ boss_instructormaliciaAI(Creature* creature) : ScriptedAI(creature) {}
uint32 CallOfGraves_Timer;
uint32 Corruption_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
index 48bf000745c..064faa5643d 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
@@ -43,7 +43,7 @@ public:
struct boss_jandicebarovAI : public ScriptedAI
{
- boss_jandicebarovAI(Creature* c) : ScriptedAI(c) {}
+ boss_jandicebarovAI(Creature* creature) : ScriptedAI(creature) {}
uint32 CurseOfBlood_Timer;
uint32 Illusion_Timer;
@@ -165,7 +165,7 @@ public:
struct mob_illusionofjandicebarovAI : public ScriptedAI
{
- mob_illusionofjandicebarovAI(Creature* c) : ScriptedAI(c) {}
+ mob_illusionofjandicebarovAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Cleave_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_kormok.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_kormok.cpp
index 7c279e726a6..5fd5a96d605 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_kormok.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_kormok.cpp
@@ -40,7 +40,7 @@ public:
struct boss_kormokAI : public ScriptedAI
{
- boss_kormokAI(Creature* c) : ScriptedAI(c) {}
+ boss_kormokAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ShadowVolley_Timer;
uint32 BoneShield_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_lord_alexei_barov.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_lord_alexei_barov.cpp
index 5109e6e1468..327c1df921d 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_lord_alexei_barov.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_lord_alexei_barov.cpp
@@ -41,7 +41,7 @@ public:
struct boss_lordalexeibarovAI : public ScriptedAI
{
- boss_lordalexeibarovAI(Creature* c) : ScriptedAI(c) {}
+ boss_lordalexeibarovAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Immolate_Timer;
uint32 VeilofShadow_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp
index 754640bff9e..1919a1ba099 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp
@@ -43,7 +43,7 @@ public:
struct boss_lorekeeperpolkeltAI : public ScriptedAI
{
- boss_lorekeeperpolkeltAI(Creature* c) : ScriptedAI(c) {}
+ boss_lorekeeperpolkeltAI(Creature* creature) : ScriptedAI(creature) {}
uint32 VolatileInfection_Timer;
uint32 Darkplague_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_ras_frostwhisper.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_ras_frostwhisper.cpp
index 902838da152..fd10c6374a6 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_ras_frostwhisper.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_ras_frostwhisper.cpp
@@ -44,7 +44,7 @@ public:
struct boss_rasfrostAI : public ScriptedAI
{
- boss_rasfrostAI(Creature* c) : ScriptedAI(c) {}
+ boss_rasfrostAI(Creature* creature) : ScriptedAI(creature) {}
uint32 IceArmor_Timer;
uint32 Frostbolt_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_the_ravenian.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_the_ravenian.cpp
index 13fa450f5ee..a28cecf3772 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_the_ravenian.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_the_ravenian.cpp
@@ -43,7 +43,7 @@ public:
struct boss_theravenianAI : public ScriptedAI
{
- boss_theravenianAI(Creature* c) : ScriptedAI(c) {}
+ boss_theravenianAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Trample_Timer;
uint32 Cleave_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_vectus.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_vectus.cpp
index 657b458e148..f5f453c30bd 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_vectus.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_vectus.cpp
@@ -45,7 +45,7 @@ public:
struct boss_vectusAI : public ScriptedAI
{
- boss_vectusAI(Creature* c) : ScriptedAI(c) {}
+ boss_vectusAI(Creature* creature) : ScriptedAI(creature) {}
uint32 m_uiFireShield_Timer;
uint32 m_uiBlastWave_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
index 9cb30eda060..09832007a0b 100644
--- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
+++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
@@ -90,10 +90,10 @@ public:
struct npc_shadowfang_prisonerAI : public npc_escortAI
{
- npc_shadowfang_prisonerAI(Creature* c) : npc_escortAI(c)
+ npc_shadowfang_prisonerAI(Creature* creature) : npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
- uiNpcEntry = c->GetEntry();
+ instance = creature->GetInstanceScript();
+ uiNpcEntry = creature->GetEntry();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
index 0c659117f5d..32da9334adf 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
@@ -89,7 +89,7 @@ public:
struct boss_baron_rivendareAI : public ScriptedAI
{
- boss_baron_rivendareAI(Creature* c) : ScriptedAI(c)
+ boss_baron_rivendareAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp
index a01846cb862..46aa3c96176 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp
@@ -43,7 +43,7 @@ public:
struct boss_baroness_anastariAI : public ScriptedAI
{
- boss_baroness_anastariAI(Creature* c) : ScriptedAI(c)
+ boss_baroness_anastariAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_cannon_master_willey.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_cannon_master_willey.cpp
index d84bd489dab..2e97281b98f 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_cannon_master_willey.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_cannon_master_willey.cpp
@@ -88,7 +88,7 @@ public:
struct boss_cannon_master_willeyAI : public ScriptedAI
{
- boss_cannon_master_willeyAI(Creature* c) : ScriptedAI(c) {}
+ boss_cannon_master_willeyAI(Creature* creature) : ScriptedAI(creature) {}
uint32 KnockAway_Timer;
uint32 Pummel_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_dathrohan_balnazzar.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_dathrohan_balnazzar.cpp
index 8a14f1e2401..b2637c496b2 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_dathrohan_balnazzar.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_dathrohan_balnazzar.cpp
@@ -77,7 +77,7 @@ public:
struct boss_dathrohan_balnazzarAI : public ScriptedAI
{
- boss_dathrohan_balnazzarAI(Creature* c) : ScriptedAI(c) {}
+ boss_dathrohan_balnazzarAI(Creature* creature) : ScriptedAI(creature) {}
uint32 m_uiCrusadersHammer_Timer;
uint32 m_uiCrusaderStrike_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_magistrate_barthilas.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_magistrate_barthilas.cpp
index 48b1fc2acc7..b9b1ea6458f 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_magistrate_barthilas.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_magistrate_barthilas.cpp
@@ -46,7 +46,7 @@ public:
struct boss_magistrate_barthilasAI : public ScriptedAI
{
- boss_magistrate_barthilasAI(Creature* c) : ScriptedAI(c) {}
+ boss_magistrate_barthilasAI(Creature* creature) : ScriptedAI(creature) {}
uint32 DrainingBlow_Timer;
uint32 CrowdPummel_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_maleki_the_pallid.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_maleki_the_pallid.cpp
index 1dc22a20d08..61f1a100cfe 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_maleki_the_pallid.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_maleki_the_pallid.cpp
@@ -43,7 +43,7 @@ public:
struct boss_maleki_the_pallidAI : public ScriptedAI
{
- boss_maleki_the_pallidAI(Creature* c) : ScriptedAI(c)
+ boss_maleki_the_pallidAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_nerubenkan.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_nerubenkan.cpp
index a7c91c3636d..e8030248f43 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_nerubenkan.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_nerubenkan.cpp
@@ -43,7 +43,7 @@ public:
struct boss_nerubenkanAI : public ScriptedAI
{
- boss_nerubenkanAI(Creature* c) : ScriptedAI(c)
+ boss_nerubenkanAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
index 3393b9e5797..99806e6cfdf 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
@@ -54,9 +54,9 @@ public:
struct boss_silver_hand_bossesAI : public ScriptedAI
{
- boss_silver_hand_bossesAI(Creature* c) : ScriptedAI(c)
+ boss_silver_hand_bossesAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_postmaster_malown.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_postmaster_malown.cpp
index 869a82011ad..cf8b10a2ee5 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_postmaster_malown.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_postmaster_malown.cpp
@@ -48,7 +48,7 @@ public:
struct boss_postmaster_malownAI : public ScriptedAI
{
- boss_postmaster_malownAI(Creature* c) : ScriptedAI(c) {}
+ boss_postmaster_malownAI(Creature* creature) : ScriptedAI(creature) {}
uint32 WailingDead_Timer;
uint32 Backhand_Timer;
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_ramstein_the_gorger.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_ramstein_the_gorger.cpp
index f35bcc05ec2..a2fe87beb04 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_ramstein_the_gorger.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_ramstein_the_gorger.cpp
@@ -43,7 +43,7 @@ public:
struct boss_ramstein_the_gorgerAI : public ScriptedAI
{
- boss_ramstein_the_gorgerAI(Creature* c) : ScriptedAI(c)
+ boss_ramstein_the_gorgerAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_timmy_the_cruel.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_timmy_the_cruel.cpp
index 405527ab383..a281c1b59c6 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_timmy_the_cruel.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_timmy_the_cruel.cpp
@@ -41,7 +41,7 @@ public:
struct boss_timmy_the_cruelAI : public ScriptedAI
{
- boss_timmy_the_cruelAI(Creature* c) : ScriptedAI(c) {}
+ boss_timmy_the_cruelAI(Creature* creature) : ScriptedAI(creature) {}
uint32 RavenousClaw_Timer;
bool HasYelled;
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp b/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp
index 5b2b2fd46c1..48bf4ae2305 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp
@@ -99,7 +99,7 @@ public:
struct mob_freed_soulAI : public ScriptedAI
{
- mob_freed_soulAI(Creature* c) : ScriptedAI(c) {}
+ mob_freed_soulAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
@@ -133,7 +133,7 @@ public:
struct mob_restless_soulAI : public ScriptedAI
{
- mob_restless_soulAI(Creature* c) : ScriptedAI(c) {}
+ mob_restless_soulAI(Creature* creature) : ScriptedAI(creature) {}
uint64 Tagger;
uint32 Die_Timer;
@@ -211,7 +211,7 @@ public:
struct mobs_spectral_ghostly_citizenAI : public ScriptedAI
{
- mobs_spectral_ghostly_citizenAI(Creature* c) : ScriptedAI(c) {}
+ mobs_spectral_ghostly_citizenAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Die_Timer;
bool Tagged;
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp
index 5089c3b8074..3352c4c06d2 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp
@@ -78,9 +78,9 @@ public:
struct boss_brutallusAI : public ScriptedAI
{
- boss_brutallusAI(Creature* c) : ScriptedAI(c)
+ boss_brutallusAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
Intro = true;
}
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
index 56d7909336c..086a927d07d 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
@@ -97,9 +97,9 @@ public:
struct boss_sacrolashAI : public ScriptedAI
{
- boss_sacrolashAI(Creature* c) : ScriptedAI(c)
+ boss_sacrolashAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -355,9 +355,9 @@ public:
struct boss_alythessAI : public Scripted_NoMovementAI
{
- boss_alythessAI(Creature* c) : Scripted_NoMovementAI(c)
+ boss_alythessAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
IntroStepCounter = 10;
}
@@ -684,7 +684,7 @@ public:
struct mob_shadow_imageAI : public ScriptedAI
{
- mob_shadow_imageAI(Creature* c) : ScriptedAI(c) {}
+ mob_shadow_imageAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ShadowfuryTimer;
uint32 KillTimer;
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
index b3ea89c1d66..2fb50fec89e 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
@@ -115,9 +115,9 @@ public:
struct boss_felmystAI : public ScriptedAI
{
- boss_felmystAI(Creature* c) : ScriptedAI(c)
+ boss_felmystAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -522,7 +522,7 @@ public:
struct mob_felmyst_vaporAI : public ScriptedAI
{
- mob_felmyst_vaporAI(Creature* c) : ScriptedAI(c)
+ mob_felmyst_vaporAI(Creature* creature) : ScriptedAI(creature)
{
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
me->SetSpeed(MOVE_RUN, 0.8f);
@@ -555,7 +555,7 @@ public:
struct mob_felmyst_trailAI : public ScriptedAI
{
- mob_felmyst_trailAI(Creature* c) : ScriptedAI(c)
+ mob_felmyst_trailAI(Creature* creature) : ScriptedAI(creature)
{
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
DoCast(me, SPELL_TRAIL_TRIGGER, true);
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
index 45153c21ea6..7ac42ff8193 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
@@ -115,9 +115,9 @@ public:
struct boss_kalecgosAI : public ScriptedAI
{
- boss_kalecgosAI(Creature* c) : ScriptedAI(c)
+ boss_kalecgosAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
SathGUID = 0;
DoorGUID = 0;
bJustReset = false;
@@ -456,9 +456,9 @@ public:
bool isEnraged; // if demon is enraged
- boss_kalecAI(Creature* c) : ScriptedAI(c)
+ boss_kalecAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
void Reset()
@@ -575,9 +575,9 @@ public:
struct boss_sathrovarrAI : public ScriptedAI
{
- boss_sathrovarrAI(Creature* c) : ScriptedAI(c)
+ boss_sathrovarrAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
KalecGUID = 0;
KalecgosGUID = 0;
}
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
index e9101d123dc..30a2da32ef3 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
@@ -251,9 +251,9 @@ public:
struct boss_kalecgos_kjAI : public ScriptedAI
{
- boss_kalecgos_kjAI(Creature* c) : ScriptedAI(c)
+ boss_kalecgos_kjAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -406,9 +406,9 @@ public:
struct mob_kiljaeden_controllerAI : public Scripted_NoMovementAI
{
- mob_kiljaeden_controllerAI(Creature* c) : Scripted_NoMovementAI(c), summons(me)
+ mob_kiljaeden_controllerAI(Creature* creature) : Scripted_NoMovementAI(creature), summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -506,9 +506,9 @@ public:
struct boss_kiljaedenAI : public Scripted_NoMovementAI
{
- boss_kiljaedenAI(Creature* c) : Scripted_NoMovementAI(c), summons(me)
+ boss_kiljaedenAI(Creature* creature) : Scripted_NoMovementAI(creature), summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -914,9 +914,9 @@ public:
struct mob_hand_of_the_deceiverAI : public ScriptedAI
{
- mob_hand_of_the_deceiverAI(Creature* c) : ScriptedAI(c)
+ mob_hand_of_the_deceiverAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -1015,7 +1015,7 @@ public:
struct mob_felfire_portalAI : public Scripted_NoMovementAI
{
- mob_felfire_portalAI(Creature* c) : Scripted_NoMovementAI(c) {}
+ mob_felfire_portalAI(Creature* creature) : Scripted_NoMovementAI(creature) {}
uint32 uiSpawnFiendTimer;
@@ -1060,7 +1060,7 @@ public:
struct mob_volatile_felfire_fiendAI : public ScriptedAI
{
- mob_volatile_felfire_fiendAI(Creature* c) : ScriptedAI(c) {}
+ mob_volatile_felfire_fiendAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiExplodeTimer;
@@ -1118,7 +1118,7 @@ public:
struct mob_armageddonAI : public Scripted_NoMovementAI
{
- mob_armageddonAI(Creature* c) : Scripted_NoMovementAI(c) {}
+ mob_armageddonAI(Creature* creature) : Scripted_NoMovementAI(creature) {}
uint8 spell;
uint32 uiTimer;
@@ -1173,9 +1173,9 @@ public:
struct mob_shield_orbAI : public ScriptedAI
{
- mob_shield_orbAI(Creature* c) : ScriptedAI(c)
+ mob_shield_orbAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -1261,7 +1261,7 @@ public:
struct mob_sinster_reflectionAI : public ScriptedAI
{
- mob_sinster_reflectionAI(Creature* c) : ScriptedAI(c) {}
+ mob_sinster_reflectionAI(Creature* creature) : ScriptedAI(creature) {}
uint8 victimClass;
uint32 uiTimer[3];
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp
index 9b5d941589b..66030a1c78c 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp
@@ -113,9 +113,9 @@ public:
struct boss_entropiusAI : public ScriptedAI
{
- boss_entropiusAI(Creature* c) : ScriptedAI(c), Summons(me)
+ boss_entropiusAI(Creature* creature) : ScriptedAI(creature), Summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -213,9 +213,9 @@ public:
struct boss_muruAI : public Scripted_NoMovementAI
{
- boss_muruAI(Creature* c) : Scripted_NoMovementAI(c), Summons(me)
+ boss_muruAI(Creature* creature) : Scripted_NoMovementAI(creature), Summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -378,9 +378,9 @@ public:
struct npc_muru_portalAI : public Scripted_NoMovementAI
{
- npc_muru_portalAI(Creature* c) : Scripted_NoMovementAI(c), Summons(me)
+ npc_muru_portalAI(Creature* creature) : Scripted_NoMovementAI(creature), Summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -462,7 +462,7 @@ public:
struct npc_dark_fiendAI : public ScriptedAI
{
- npc_dark_fiendAI(Creature* c) : ScriptedAI(c) {}
+ npc_dark_fiendAI(Creature* creature) : ScriptedAI(creature) {}
uint32 WaitTimer;
bool InAction;
@@ -525,7 +525,7 @@ public:
struct npc_void_sentinelAI : public ScriptedAI
{
- npc_void_sentinelAI(Creature* c) : ScriptedAI(c){}
+ npc_void_sentinelAI(Creature* creature) : ScriptedAI(creature){}
uint32 PulseTimer;
uint32 VoidBlastTimer;
@@ -581,9 +581,9 @@ public:
struct npc_blackholeAI : public ScriptedAI
{
- npc_blackholeAI(Creature* c) : ScriptedAI(c)
+ npc_blackholeAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp b/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp
index 0872ac9adca..4e7192e966c 100644
--- a/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp
+++ b/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp
@@ -232,7 +232,7 @@ class mob_archaedas_minions : public CreatureScript
struct mob_archaedas_minionsAI : public ScriptedAI
{
- mob_archaedas_minionsAI(Creature* c) : ScriptedAI(c)
+ mob_archaedas_minionsAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
index df8d9bb83f8..a5eb76545ee 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
@@ -72,9 +72,9 @@ class boss_akilzon : public CreatureScript
struct boss_akilzonAI : public ScriptedAI
{
- boss_akilzonAI(Creature* c) : ScriptedAI(c)
+ boss_akilzonAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -398,7 +398,7 @@ class mob_akilzon_eagle : public CreatureScript
struct mob_akilzon_eagleAI : public ScriptedAI
{
- mob_akilzon_eagleAI(Creature* c) : ScriptedAI(c) {}
+ mob_akilzon_eagleAI(Creature* creature) : ScriptedAI(creature) {}
uint32 EagleSwoop_Timer;
bool arrived;
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
index db0e201298c..3d53274a0db 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
@@ -83,9 +83,9 @@ class boss_halazzi : public CreatureScript
struct boss_halazziAI : public ScriptedAI
{
- boss_halazziAI(Creature* c) : ScriptedAI(c)
+ boss_halazziAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -352,7 +352,7 @@ class mob_halazzi_lynx : public CreatureScript
struct mob_halazzi_lynxAI : public ScriptedAI
{
- mob_halazzi_lynxAI(Creature* c) : ScriptedAI(c) {}
+ mob_halazzi_lynxAI(Creature* creature) : ScriptedAI(creature) {}
uint32 FrenzyTimer;
uint32 shredder_timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
index 5efd4af55ea..944d13cc1be 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
@@ -179,9 +179,9 @@ struct boss_hexlord_addAI : public ScriptedAI
{
InstanceScript* instance;
- boss_hexlord_addAI(Creature* c) : ScriptedAI(c)
+ boss_hexlord_addAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
void Reset() {}
@@ -211,9 +211,9 @@ class boss_hexlord_malacrass : public CreatureScript
struct boss_hex_lord_malacrassAI : public ScriptedAI
{
- boss_hex_lord_malacrassAI(Creature* c) : ScriptedAI(c)
+ boss_hex_lord_malacrassAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
SelectAddEntry();
for (uint8 i = 0; i < 4; ++i)
AddGUID[i] = 0;
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
index 8d29cfefc6e..3cf4f315cad 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
@@ -113,9 +113,9 @@ class boss_janalai : public CreatureScript
struct boss_janalaiAI : public ScriptedAI
{
- boss_janalaiAI(Creature* c) : ScriptedAI(c)
+ boss_janalaiAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -448,7 +448,7 @@ class mob_janalai_firebomb : public CreatureScript
struct mob_janalai_firebombAI : public ScriptedAI
{
- mob_janalai_firebombAI(Creature* c) : ScriptedAI(c){}
+ mob_janalai_firebombAI(Creature* creature) : ScriptedAI(creature){}
void Reset() {}
@@ -484,9 +484,9 @@ class mob_janalai_hatcher : public CreatureScript
struct mob_janalai_hatcherAI : public ScriptedAI
{
- mob_janalai_hatcherAI(Creature* c) : ScriptedAI(c)
+ mob_janalai_hatcherAI(Creature* creature) : ScriptedAI(creature)
{
- instance =c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -616,9 +616,9 @@ class mob_janalai_hatchling : public CreatureScript
struct mob_janalai_hatchlingAI : public ScriptedAI
{
- mob_janalai_hatchlingAI(Creature* c) : ScriptedAI(c)
+ mob_janalai_hatchlingAI(Creature* creature) : ScriptedAI(creature)
{
- instance =c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
index a6b74ddf06e..2a2fdf1346e 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
@@ -101,11 +101,11 @@ class boss_nalorakk : public CreatureScript
struct boss_nalorakkAI : public ScriptedAI
{
- boss_nalorakkAI(Creature* c) : ScriptedAI(c)
+ boss_nalorakkAI(Creature* creature) : ScriptedAI(creature)
{
MoveEvent = true;
MovePhase = 0;
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
index b5130630d05..f7d5ae25e7a 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
@@ -151,9 +151,9 @@ class boss_zuljin : public CreatureScript
struct boss_zuljinAI : public ScriptedAI
{
- boss_zuljinAI(Creature* c) : ScriptedAI(c), Summons(me)
+ boss_zuljinAI(Creature* creature) : ScriptedAI(creature), Summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -604,7 +604,7 @@ class mob_zuljin_vortex : public CreatureScript
struct mob_zuljin_vortexAI : public ScriptedAI
{
- mob_zuljin_vortexAI(Creature* c) : ScriptedAI(c) {}
+ mob_zuljin_vortexAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
index df90f80db4c..a78ec29be99 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
@@ -49,9 +49,9 @@ class npc_forest_frog : public CreatureScript
struct npc_forest_frogAI : public ScriptedAI
{
- npc_forest_frogAI(Creature* c) : ScriptedAI(c)
+ npc_forest_frogAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -128,7 +128,7 @@ class npc_zulaman_hostage : public CreatureScript
struct npc_zulaman_hostageAI : public ScriptedAI
{
- npc_zulaman_hostageAI(Creature* c) : ScriptedAI(c) {IsLoot = false;}
+ npc_zulaman_hostageAI(Creature* creature) : ScriptedAI(creature) {IsLoot = false;}
bool IsLoot;
uint64 PlayerGUID;
void Reset() {}
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp
index a944a857f74..84e3de71b1d 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp
@@ -40,7 +40,7 @@ class boss_gahzranka : public CreatureScript
struct boss_gahzrankaAI : public ScriptedAI
{
- boss_gahzrankaAI(Creature* c) : ScriptedAI(c) {}
+ boss_gahzrankaAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Frostbreath_Timer;
uint32 MassiveGeyser_Timer;
uint32 Slam_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp
index 68ae6dbbf0c..19d0a04b9a6 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp
@@ -40,7 +40,7 @@ class boss_grilek : public CreatureScript
struct boss_grilekAI : public ScriptedAI
{
- boss_grilekAI(Creature* c) : ScriptedAI(c) {}
+ boss_grilekAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Avartar_Timer;
uint32 GroundTremor_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp
index 6a1309983c3..b3dcfb5112b 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp
@@ -55,9 +55,9 @@ class boss_hakkar : public CreatureScript
struct boss_hakkarAI : public ScriptedAI
{
- boss_hakkarAI(Creature* c) : ScriptedAI(c)
+ boss_hakkarAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
InstanceScript* m_instance;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp
index 69a4f5dbab5..27c46b8e0f2 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp
@@ -40,7 +40,7 @@ class boss_hazzarah : public CreatureScript
struct boss_hazzarahAI : public ScriptedAI
{
- boss_hazzarahAI(Creature* c) : ScriptedAI(c) {}
+ boss_hazzarahAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ManaBurn_Timer;
uint32 Sleep_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
index d2ac4f3bceb..15933e3ed4d 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
@@ -54,9 +54,9 @@ class boss_jeklik : public CreatureScript
struct boss_jeklikAI : public ScriptedAI
{
- boss_jeklikAI(Creature* c) : ScriptedAI(c)
+ boss_jeklikAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
InstanceScript* m_instance;
@@ -236,9 +236,9 @@ class mob_batrider : public CreatureScript
struct mob_batriderAI : public ScriptedAI
{
- mob_batriderAI(Creature* c) : ScriptedAI(c)
+ mob_batriderAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
InstanceScript* m_instance;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
index 132812c932a..d7901d663f3 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
@@ -52,7 +52,7 @@ class boss_jindo : public CreatureScript
struct boss_jindoAI : public ScriptedAI
{
- boss_jindoAI(Creature* c) : ScriptedAI(c) {}
+ boss_jindoAI(Creature* creature) : ScriptedAI(creature) {}
uint32 BrainWashTotem_Timer;
uint32 HealingWard_Timer;
@@ -187,9 +187,9 @@ class mob_healing_ward : public CreatureScript
struct mob_healing_wardAI : public ScriptedAI
{
- mob_healing_wardAI(Creature* c) : ScriptedAI(c)
+ mob_healing_wardAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 Heal_Timer;
@@ -241,7 +241,7 @@ class mob_shade_of_jindo : public CreatureScript
struct mob_shade_of_jindoAI : public ScriptedAI
{
- mob_shade_of_jindoAI(Creature* c) : ScriptedAI(c) {}
+ mob_shade_of_jindoAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ShadowShock_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
index 10708cd7f95..6b8d4b11439 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
@@ -55,9 +55,9 @@ class boss_mandokir : public CreatureScript
struct boss_mandokirAI : public ScriptedAI
{
- boss_mandokirAI(Creature* c) : ScriptedAI(c)
+ boss_mandokirAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
uint32 KillCount;
@@ -294,9 +294,9 @@ class mob_ohgan : public CreatureScript
struct mob_ohganAI : public ScriptedAI
{
- mob_ohganAI(Creature* c) : ScriptedAI(c)
+ mob_ohganAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
uint32 SunderArmor_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
index d0f1aea21ba..2016fe4cb5d 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
@@ -51,9 +51,9 @@ class boss_marli : public CreatureScript
struct boss_marliAI : public ScriptedAI
{
- boss_marliAI(Creature* c) : ScriptedAI(c)
+ boss_marliAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
InstanceScript* m_instance;
@@ -230,7 +230,7 @@ class mob_spawn_of_marli : public CreatureScript
struct mob_spawn_of_marliAI : public ScriptedAI
{
- mob_spawn_of_marliAI(Creature* c) : ScriptedAI(c) {}
+ mob_spawn_of_marliAI(Creature* creature) : ScriptedAI(creature) {}
uint32 LevelUp_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp
index f988d0df77a..81260c28d73 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp
@@ -42,7 +42,7 @@ class boss_renataki : public CreatureScript
struct boss_renatakiAI : public ScriptedAI
{
- boss_renatakiAI(Creature* c) : ScriptedAI(c) {}
+ boss_renatakiAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Invisible_Timer;
uint32 Ambush_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
index dc9521b028b..a58c66c8584 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
@@ -66,9 +66,9 @@ class boss_thekal : public CreatureScript
struct boss_thekalAI : public ScriptedAI
{
- boss_thekalAI(Creature* c) : ScriptedAI(c)
+ boss_thekalAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
uint32 MortalCleave_Timer;
@@ -277,9 +277,9 @@ class mob_zealot_lorkhan : public CreatureScript
struct mob_zealot_lorkhanAI : public ScriptedAI
{
- mob_zealot_lorkhanAI(Creature* c) : ScriptedAI(c)
+ mob_zealot_lorkhanAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
uint32 Shield_Timer;
@@ -437,9 +437,9 @@ class mob_zealot_zath : public CreatureScript
struct mob_zealot_zathAI : public ScriptedAI
{
- mob_zealot_zathAI(Creature* c) : ScriptedAI(c)
+ mob_zealot_zathAI(Creature* creature) : ScriptedAI(creature)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
uint32 SweepingStrikes_Timer;
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp
index 702a69207ba..b22630f51bb 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp
@@ -40,7 +40,7 @@ class boss_wushoolay : public CreatureScript
struct boss_wushoolayAI : public ScriptedAI
{
- boss_wushoolayAI(Creature* c) : ScriptedAI(c) {}
+ boss_wushoolayAI(Creature* creature) : ScriptedAI(creature) {}
uint32 LightningCloud_Timer;
uint32 LightningWave_Timer;
diff --git a/src/server/scripts/EasternKingdoms/arathi_highlands.cpp b/src/server/scripts/EasternKingdoms/arathi_highlands.cpp
index 82b09b9dc18..4e0a942b7e8 100644
--- a/src/server/scripts/EasternKingdoms/arathi_highlands.cpp
+++ b/src/server/scripts/EasternKingdoms/arathi_highlands.cpp
@@ -62,7 +62,7 @@ class npc_professor_phizzlethorpe : public CreatureScript
struct npc_professor_phizzlethorpeAI : public npc_escortAI
{
- npc_professor_phizzlethorpeAI(Creature* c) : npc_escortAI(c) {}
+ npc_professor_phizzlethorpeAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 uiPointId)
{
diff --git a/src/server/scripts/EasternKingdoms/boss_kruul.cpp b/src/server/scripts/EasternKingdoms/boss_kruul.cpp
index 810875abf0c..8749c943a6f 100644
--- a/src/server/scripts/EasternKingdoms/boss_kruul.cpp
+++ b/src/server/scripts/EasternKingdoms/boss_kruul.cpp
@@ -45,7 +45,7 @@ public:
struct boss_kruulAI : public ScriptedAI
{
- boss_kruulAI(Creature* c) : ScriptedAI(c) {}
+ boss_kruulAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ShadowVolley_Timer;
uint32 Cleave_Timer;
diff --git a/src/server/scripts/EasternKingdoms/burning_steppes.cpp b/src/server/scripts/EasternKingdoms/burning_steppes.cpp
index fb6024f1cb5..b526246f670 100644
--- a/src/server/scripts/EasternKingdoms/burning_steppes.cpp
+++ b/src/server/scripts/EasternKingdoms/burning_steppes.cpp
@@ -127,7 +127,7 @@ public:
struct npc_ragged_johnAI : public ScriptedAI
{
- npc_ragged_johnAI(Creature* c) : ScriptedAI(c) {}
+ npc_ragged_johnAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
diff --git a/src/server/scripts/EasternKingdoms/duskwood.cpp b/src/server/scripts/EasternKingdoms/duskwood.cpp
index a9f413268c2..10cb5987ce5 100644
--- a/src/server/scripts/EasternKingdoms/duskwood.cpp
+++ b/src/server/scripts/EasternKingdoms/duskwood.cpp
@@ -82,7 +82,7 @@ public:
struct boss_twilight_corrupterAI : public ScriptedAI
{
- boss_twilight_corrupterAI(Creature* c) : ScriptedAI(c) {}
+ boss_twilight_corrupterAI(Creature* creature) : ScriptedAI(creature) {}
uint32 SoulCorruption_Timer;
uint32 CreatureOfNightmare_Timer;
diff --git a/src/server/scripts/EasternKingdoms/eastern_plaguelands.cpp b/src/server/scripts/EasternKingdoms/eastern_plaguelands.cpp
index 451648a0da9..9fa8dad116e 100644
--- a/src/server/scripts/EasternKingdoms/eastern_plaguelands.cpp
+++ b/src/server/scripts/EasternKingdoms/eastern_plaguelands.cpp
@@ -48,7 +48,7 @@ public:
struct mobs_ghoul_flayerAI : public ScriptedAI
{
- mobs_ghoul_flayerAI(Creature* c) : ScriptedAI(c) {}
+ mobs_ghoul_flayerAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
@@ -118,7 +118,7 @@ public:
struct npc_darrowshire_spiritAI : public ScriptedAI
{
- npc_darrowshire_spiritAI(Creature* c) : ScriptedAI(c) {}
+ npc_darrowshire_spiritAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
diff --git a/src/server/scripts/EasternKingdoms/eversong_woods.cpp b/src/server/scripts/EasternKingdoms/eversong_woods.cpp
index b0ced22bd8b..49fd582a662 100644
--- a/src/server/scripts/EasternKingdoms/eversong_woods.cpp
+++ b/src/server/scripts/EasternKingdoms/eversong_woods.cpp
@@ -293,7 +293,7 @@ public:
struct master_kelerun_bloodmournAI : public ScriptedAI
{
- master_kelerun_bloodmournAI(Creature* c) : ScriptedAI(c) {}
+ master_kelerun_bloodmournAI(Creature* creature) : ScriptedAI(creature) {}
uint8 questPhase;
uint8 paladinPhase;
@@ -457,7 +457,7 @@ public:
struct npc_apprentice_mirvedaAI : public ScriptedAI
{
- npc_apprentice_mirvedaAI(Creature* c) : ScriptedAI(c), Summons(me) {}
+ npc_apprentice_mirvedaAI(Creature* creature) : ScriptedAI(creature), Summons(me) {}
uint32 KillCount;
uint64 PlayerGUID;
@@ -547,7 +547,7 @@ public:
struct npc_infused_crystalAI : public Scripted_NoMovementAI
{
- npc_infused_crystalAI(Creature* c) : Scripted_NoMovementAI(c) {}
+ npc_infused_crystalAI(Creature* creature) : Scripted_NoMovementAI(creature) {}
uint32 EndTimer;
uint32 WaveTimer;
diff --git a/src/server/scripts/EasternKingdoms/ghostlands.cpp b/src/server/scripts/EasternKingdoms/ghostlands.cpp
index 3bd781ce6f9..02bfcef45a3 100644
--- a/src/server/scripts/EasternKingdoms/ghostlands.cpp
+++ b/src/server/scripts/EasternKingdoms/ghostlands.cpp
@@ -128,7 +128,7 @@ public:
struct npc_ranger_lilathaAI : public npc_escortAI
{
- npc_ranger_lilathaAI(Creature* c) : npc_escortAI(c) {}
+ npc_ranger_lilathaAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/EasternKingdoms/isle_of_queldanas.cpp b/src/server/scripts/EasternKingdoms/isle_of_queldanas.cpp
index 109f4ba1729..98ac2ff4cc1 100644
--- a/src/server/scripts/EasternKingdoms/isle_of_queldanas.cpp
+++ b/src/server/scripts/EasternKingdoms/isle_of_queldanas.cpp
@@ -51,7 +51,7 @@ public:
struct npc_converted_sentryAI : public ScriptedAI
{
- npc_converted_sentryAI(Creature* c) : ScriptedAI(c) {}
+ npc_converted_sentryAI(Creature* creature) : ScriptedAI(creature) {}
bool Credit;
uint32 Timer;
@@ -108,7 +108,7 @@ public:
struct npc_greengill_slaveAI : public ScriptedAI
{
- npc_greengill_slaveAI(Creature* c) : ScriptedAI(c) {}
+ npc_greengill_slaveAI(Creature* creature) : ScriptedAI(creature) {}
uint64 PlayerGUID;
diff --git a/src/server/scripts/EasternKingdoms/silvermoon_city.cpp b/src/server/scripts/EasternKingdoms/silvermoon_city.cpp
index de14416483c..e6595a83b66 100644
--- a/src/server/scripts/EasternKingdoms/silvermoon_city.cpp
+++ b/src/server/scripts/EasternKingdoms/silvermoon_city.cpp
@@ -53,7 +53,7 @@ public:
struct npc_blood_knight_stillbladeAI : public ScriptedAI
{
- npc_blood_knight_stillbladeAI(Creature* c) : ScriptedAI(c) {}
+ npc_blood_knight_stillbladeAI(Creature* creature) : ScriptedAI(creature) {}
uint32 lifeTimer;
bool spellHit;
diff --git a/src/server/scripts/EasternKingdoms/silverpine_forest.cpp b/src/server/scripts/EasternKingdoms/silverpine_forest.cpp
index 558b02fc675..ad76f29a634 100644
--- a/src/server/scripts/EasternKingdoms/silverpine_forest.cpp
+++ b/src/server/scripts/EasternKingdoms/silverpine_forest.cpp
@@ -64,7 +64,7 @@ public:
struct npc_deathstalker_erlandAI : public npc_escortAI
{
- npc_deathstalker_erlandAI(Creature* c) : npc_escortAI(c) {}
+ npc_deathstalker_erlandAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
@@ -175,7 +175,7 @@ public:
struct pyrewood_ambushAI : public ScriptedAI
{
- pyrewood_ambushAI(Creature* c) : ScriptedAI(c), Summons(me)
+ pyrewood_ambushAI(Creature* creature) : ScriptedAI(creature), Summons(me)
{
QuestInProgress = false;
}
diff --git a/src/server/scripts/EasternKingdoms/stormwind_city.cpp b/src/server/scripts/EasternKingdoms/stormwind_city.cpp
index ea62014f8a8..3852a1de3b0 100644
--- a/src/server/scripts/EasternKingdoms/stormwind_city.cpp
+++ b/src/server/scripts/EasternKingdoms/stormwind_city.cpp
@@ -105,9 +105,9 @@ public:
struct npc_bartlebyAI : public ScriptedAI
{
- npc_bartlebyAI(Creature* c) : ScriptedAI(c)
+ npc_bartlebyAI(Creature* creature) : ScriptedAI(creature)
{
- m_uiNormalFaction = c->getFaction();
+ m_uiNormalFaction = creature->getFaction();
}
uint32 m_uiNormalFaction;
diff --git a/src/server/scripts/EasternKingdoms/stranglethorn_vale.cpp b/src/server/scripts/EasternKingdoms/stranglethorn_vale.cpp
index 2862ba18bca..03f92ce6d61 100644
--- a/src/server/scripts/EasternKingdoms/stranglethorn_vale.cpp
+++ b/src/server/scripts/EasternKingdoms/stranglethorn_vale.cpp
@@ -45,7 +45,7 @@ public:
struct mob_yennikuAI : public ScriptedAI
{
- mob_yennikuAI(Creature* c) : ScriptedAI(c)
+ mob_yennikuAI(Creature* creature) : ScriptedAI(creature)
{
bReset = false;
}
diff --git a/src/server/scripts/EasternKingdoms/undercity.cpp b/src/server/scripts/EasternKingdoms/undercity.cpp
index 3f088bf00b9..0522e214012 100644
--- a/src/server/scripts/EasternKingdoms/undercity.cpp
+++ b/src/server/scripts/EasternKingdoms/undercity.cpp
@@ -88,7 +88,7 @@ public:
struct npc_lady_sylvanas_windrunnerAI : public ScriptedAI
{
- npc_lady_sylvanas_windrunnerAI(Creature* c) : ScriptedAI(c) {}
+ npc_lady_sylvanas_windrunnerAI(Creature* creature) : ScriptedAI(creature) {}
uint32 LamentEvent_Timer;
bool LamentEvent;
@@ -161,7 +161,7 @@ public:
struct npc_highborne_lamenterAI : public ScriptedAI
{
- npc_highborne_lamenterAI(Creature* c) : ScriptedAI(c) {}
+ npc_highborne_lamenterAI(Creature* creature) : ScriptedAI(creature) {}
uint32 EventMove_Timer;
uint32 EventCast_Timer;
diff --git a/src/server/scripts/EasternKingdoms/western_plaguelands.cpp b/src/server/scripts/EasternKingdoms/western_plaguelands.cpp
index 1a31c29f5bb..f36f5b5950e 100644
--- a/src/server/scripts/EasternKingdoms/western_plaguelands.cpp
+++ b/src/server/scripts/EasternKingdoms/western_plaguelands.cpp
@@ -166,7 +166,7 @@ public:
struct npc_the_scourge_cauldronAI : public ScriptedAI
{
- npc_the_scourge_cauldronAI(Creature* c) : ScriptedAI(c) {}
+ npc_the_scourge_cauldronAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
@@ -250,7 +250,7 @@ public:
struct npc_andorhal_towerAI : public Scripted_NoMovementAI
{
- npc_andorhal_towerAI(Creature* c) : Scripted_NoMovementAI(c) {}
+ npc_andorhal_towerAI(Creature* creature) : Scripted_NoMovementAI(creature) {}
void MoveInLineOfSight(Unit* who)
{
diff --git a/src/server/scripts/EasternKingdoms/westfall.cpp b/src/server/scripts/EasternKingdoms/westfall.cpp
index f5a0f0e85c4..2285d3877e4 100644
--- a/src/server/scripts/EasternKingdoms/westfall.cpp
+++ b/src/server/scripts/EasternKingdoms/westfall.cpp
@@ -224,7 +224,7 @@ public:
struct npc_defias_traitorAI : public npc_escortAI
{
- npc_defias_traitorAI(Creature* c) : npc_escortAI(c) { Reset(); }
+ npc_defias_traitorAI(Creature* creature) : npc_escortAI(creature) { Reset(); }
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/Examples/example_creature.cpp b/src/server/scripts/Examples/example_creature.cpp
index 412211bd280..7f75a0fb481 100644
--- a/src/server/scripts/Examples/example_creature.cpp
+++ b/src/server/scripts/Examples/example_creature.cpp
@@ -90,7 +90,7 @@ class example_creature : public CreatureScript
{
// *** HANDLED FUNCTION ***
//This is the constructor, called only once when the Creature is first created
- example_creatureAI(Creature* c) : ScriptedAI(c) {}
+ example_creatureAI(Creature* creature) : ScriptedAI(creature) {}
// *** CUSTOM VARIABLES ****
//These variables are for use only by this individual script.
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp
index 6bc179bba40..e4fa3804b9b 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp
@@ -64,9 +64,9 @@ public:
struct boss_anetheronAI : public hyjal_trashAI
{
- boss_anetheronAI(Creature* c) : hyjal_trashAI(c)
+ boss_anetheronAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
}
@@ -248,9 +248,9 @@ public:
struct mob_towering_infernalAI : public ScriptedAI
{
- mob_towering_infernalAI(Creature* c) : ScriptedAI(c)
+ mob_towering_infernalAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
if (instance)
AnetheronGUID = instance->GetData64(DATA_ANETHERON);
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
index a5239e5a649..8419ce50fc7 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
@@ -86,9 +86,9 @@ public:
struct mob_ancient_wispAI : public ScriptedAI
{
- mob_ancient_wispAI(Creature* c) : ScriptedAI(c)
+ mob_ancient_wispAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
ArchimondeGUID = 0;
}
@@ -142,7 +142,7 @@ public:
struct mob_doomfireAI : public ScriptedAI
{
- mob_doomfireAI(Creature* c) : ScriptedAI(c) {}
+ mob_doomfireAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
@@ -167,7 +167,7 @@ public:
struct mob_doomfire_targettingAI : public ScriptedAI
{
- mob_doomfire_targettingAI(Creature* c) : ScriptedAI(c) {}
+ mob_doomfire_targettingAI(Creature* creature) : ScriptedAI(creature) {}
uint64 TargetGUID;
uint32 ChangeTargetTimer;
@@ -233,9 +233,9 @@ public:
struct boss_archimondeAI : public hyjal_trashAI
{
- boss_archimondeAI(Creature* c) : hyjal_trashAI(c)
+ boss_archimondeAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp
index 2885276f2b6..96a9d3b8bb6 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp
@@ -55,9 +55,9 @@ public:
struct boss_azgalorAI : public hyjal_trashAI
{
- boss_azgalorAI(Creature* c) : hyjal_trashAI(c)
+ boss_azgalorAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
}
@@ -215,9 +215,9 @@ public:
struct mob_lesser_doomguardAI : public hyjal_trashAI
{
- mob_lesser_doomguardAI(Creature* c) : hyjal_trashAI(c)
+ mob_lesser_doomguardAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
if (instance)
AzgalorGUID = instance->GetData64(DATA_AZGALOR);
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp
index 7d1b292fd12..fa475da24a1 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp
@@ -52,9 +52,9 @@ public:
struct boss_kazrogalAI : public hyjal_trashAI
{
- boss_kazrogalAI(Creature* c) : hyjal_trashAI(c)
+ boss_kazrogalAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp
index 3f39b61192a..f6578c5bf6e 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp
@@ -58,9 +58,9 @@ public:
struct boss_rage_winterchillAI : public hyjal_trashAI
{
- boss_rage_winterchillAI(Creature* c) : hyjal_trashAI(c)
+ boss_rage_winterchillAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp
index 8a0ea30ca6a..0bcf33229f1 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp
@@ -310,9 +310,9 @@ float HordeFirePos[65][8]=//spawn points for the fire visuals (GO) in the horde
{5545.43f, -2647.82f, 1483.05f, 5.38848f, 0, 0, 0.432578f, -0.901596f}
};
-hyjalAI::hyjalAI(Creature* c) : npc_escortAI(c), Summons(me)
+hyjalAI::hyjalAI(Creature* creature) : npc_escortAI(creature), Summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
VeinsSpawned[0] = false;
VeinsSpawned[1] = false;
for (uint8 i=0; i<14; ++i)
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h
index d91c2ead123..6abd5dd7e03 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h
@@ -171,7 +171,7 @@ const Yells ThrallQuotes[]=
struct hyjalAI : public npc_escortAI
{
- hyjalAI(Creature* c);
+ hyjalAI(Creature* creature);
void Reset(); // Generically used to reset our variables. Do *not* call in EnterEvadeMode as this may make problems if the raid is still in combat
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp
index e1d7d97e0b8..496e720fb31 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp
@@ -155,9 +155,9 @@ float HordeOverrunWP[21][3]=//waypoints in the horde base used in the end in the
{5429.91f, -2718.44f, 1493.42f}//20 end 2
};
-hyjal_trashAI::hyjal_trashAI(Creature* c) : npc_escortAI(c)
+hyjal_trashAI::hyjal_trashAI(Creature* creature) : npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
IsEvent = false;
Delay = 0;
LastOverronPos = 0;
@@ -395,9 +395,9 @@ public:
struct mob_giant_infernalAI : public hyjal_trashAI
{
- mob_giant_infernalAI(Creature* c) : hyjal_trashAI(c)
+ mob_giant_infernalAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
meteor = false;//call once!
CanMove = false;
Delay = rand()%30000;
@@ -539,9 +539,9 @@ public:
struct mob_abominationAI : public hyjal_trashAI
{
- mob_abominationAI(Creature* c) : hyjal_trashAI(c)
+ mob_abominationAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
Reset();
@@ -640,9 +640,9 @@ public:
struct mob_ghoulAI : public hyjal_trashAI
{
- mob_ghoulAI(Creature* c) : hyjal_trashAI(c)
+ mob_ghoulAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
Reset();
@@ -749,9 +749,9 @@ public:
struct mob_necromancerAI : public hyjal_trashAI
{
- mob_necromancerAI(Creature* c) : hyjal_trashAI(c), summons(me)
+ mob_necromancerAI(Creature* creature) : hyjal_trashAI(creature), summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
Reset();
@@ -870,9 +870,9 @@ public:
struct mob_bansheeAI : public hyjal_trashAI
{
- mob_bansheeAI(Creature* c) : hyjal_trashAI(c)
+ mob_bansheeAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
Reset();
@@ -975,9 +975,9 @@ public:
struct mob_crypt_fiendAI : public hyjal_trashAI
{
- mob_crypt_fiendAI(Creature* c) : hyjal_trashAI(c)
+ mob_crypt_fiendAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
Reset();
@@ -1067,9 +1067,9 @@ public:
struct mob_fel_stalkerAI : public hyjal_trashAI
{
- mob_fel_stalkerAI(Creature* c) : hyjal_trashAI(c)
+ mob_fel_stalkerAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
Reset();
@@ -1159,9 +1159,9 @@ public:
struct mob_frost_wyrmAI : public hyjal_trashAI
{
- mob_frost_wyrmAI(Creature* c) : hyjal_trashAI(c)
+ mob_frost_wyrmAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
Reset();
@@ -1276,9 +1276,9 @@ public:
struct mob_gargoyleAI : public hyjal_trashAI
{
- mob_gargoyleAI(Creature* c) : hyjal_trashAI(c)
+ mob_gargoyleAI(Creature* creature) : hyjal_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
go = false;
pos = 0;
DummyTarget[0] = 0;DummyTarget[1] = 0;DummyTarget[2] = 0;
@@ -1416,7 +1416,7 @@ public:
struct alliance_riflemanAI : public Scripted_NoMovementAI
{
- alliance_riflemanAI(Creature* c) : Scripted_NoMovementAI(c)
+ alliance_riflemanAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
Reset();
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h
index 047c0dc308e..cb994167641 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h
@@ -25,7 +25,7 @@
struct hyjal_trashAI : public npc_escortAI
{
- hyjal_trashAI(Creature* c);
+ hyjal_trashAI(Creature* creature);
void UpdateAI(const uint32 diff);
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp
index 35c1848456b..b2853f25a33 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp
@@ -60,9 +60,9 @@ public:
struct boss_epochAI : public ScriptedAI
{
- boss_epochAI(Creature* c) : ScriptedAI(c)
+ boss_epochAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint8 uiStep;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp
index 7947c9be48d..ccf60f9bd0b 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp
@@ -43,9 +43,9 @@ public:
struct boss_infinite_corruptorAI : public ScriptedAI
{
- boss_infinite_corruptorAI(Creature* c) : ScriptedAI(c)
+ boss_infinite_corruptorAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp
index b61838a253a..a038a06f815 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp
@@ -77,9 +77,9 @@ public:
struct boss_mal_ganisAI : public ScriptedAI
{
- boss_mal_ganisAI(Creature* c) : ScriptedAI(c)
+ boss_mal_ganisAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiCarrionSwarmTimer;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp
index c36b98ed510..d5dd597960f 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp
@@ -57,9 +57,9 @@ public:
struct boss_meathookAI : public ScriptedAI
{
- boss_meathookAI(Creature* c) : ScriptedAI(c)
+ boss_meathookAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
if (instance)
DoScriptText(SAY_SPAWN, me);
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp
index 7a5e0d06158..7828d172e1e 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp
@@ -66,9 +66,9 @@ public:
struct boss_salrammAI : public ScriptedAI
{
- boss_salrammAI(Creature* c) : ScriptedAI(c)
+ boss_salrammAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
if (instance)
DoScriptText(SAY_SPAWN, me);
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_aeonus.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_aeonus.cpp
index b895b56379c..5d1c65c63ea 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_aeonus.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_aeonus.cpp
@@ -55,9 +55,9 @@ public:
struct boss_aeonusAI : public ScriptedAI
{
- boss_aeonusAI(Creature* c) : ScriptedAI(c)
+ boss_aeonusAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_chrono_lord_deja.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_chrono_lord_deja.cpp
index 99e43495c96..caf2a225e79 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_chrono_lord_deja.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_chrono_lord_deja.cpp
@@ -55,9 +55,9 @@ public:
struct boss_chrono_lord_dejaAI : public ScriptedAI
{
- boss_chrono_lord_dejaAI(Creature* c) : ScriptedAI(c)
+ boss_chrono_lord_dejaAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_temporus.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_temporus.cpp
index 9b272491717..93fb6153b76 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_temporus.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/boss_temporus.cpp
@@ -54,9 +54,9 @@ public:
struct boss_temporusAI : public ScriptedAI
{
- boss_temporusAI(Creature* c) : ScriptedAI(c)
+ boss_temporusAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/dark_portal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/dark_portal.cpp
index 63035ef2699..7625d22119f 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/dark_portal.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/dark_portal.cpp
@@ -68,9 +68,9 @@ public:
struct npc_medivh_bmAI : public ScriptedAI
{
- npc_medivh_bmAI(Creature* c) : ScriptedAI(c)
+ npc_medivh_bmAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -261,9 +261,9 @@ public:
struct npc_time_riftAI : public ScriptedAI
{
- npc_time_riftAI(Creature* c) : ScriptedAI(c)
+ npc_time_riftAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp
index 89877f2cc7b..ab03d8895f8 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp
@@ -52,9 +52,9 @@ public:
struct boss_captain_skarlocAI : public ScriptedAI
{
- boss_captain_skarlocAI(Creature* c) : ScriptedAI(c)
+ boss_captain_skarlocAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp
index 8307eb44013..cd49a2470e3 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp
@@ -54,9 +54,9 @@ public:
struct boss_epoch_hunterAI : public ScriptedAI
{
- boss_epoch_hunterAI(Creature* c) : ScriptedAI(c)
+ boss_epoch_hunterAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_leutenant_drake.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_leutenant_drake.cpp
index 1f0ba93645f..b18cee43664 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_leutenant_drake.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_leutenant_drake.cpp
@@ -111,7 +111,7 @@ public:
struct boss_lieutenant_drakeAI : public ScriptedAI
{
- boss_lieutenant_drakeAI(Creature* c) : ScriptedAI(c) {}
+ boss_lieutenant_drakeAI(Creature* creature) : ScriptedAI(creature) {}
bool CanPatrol;
uint32 wpId;
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp
index 71945f649cb..195e402e7a0 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp
@@ -282,9 +282,9 @@ public:
struct npc_thrall_old_hillsbradAI : public npc_escortAI
{
- npc_thrall_old_hillsbradAI(Creature* c) : npc_escortAI(c)
+ npc_thrall_old_hillsbradAI(Creature* creature) : npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
HadMount = false;
me->setActive(true);
}
@@ -624,9 +624,9 @@ public:
struct npc_tarethaAI : public npc_escortAI
{
- npc_tarethaAI(Creature* c) : npc_escortAI(c)
+ npc_tarethaAI(Creature* creature) : npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/RazorfenDowns/boss_amnennar_the_coldbringer.cpp b/src/server/scripts/Kalimdor/RazorfenDowns/boss_amnennar_the_coldbringer.cpp
index d0da864809c..bda5267713d 100644
--- a/src/server/scripts/Kalimdor/RazorfenDowns/boss_amnennar_the_coldbringer.cpp
+++ b/src/server/scripts/Kalimdor/RazorfenDowns/boss_amnennar_the_coldbringer.cpp
@@ -48,7 +48,7 @@ public:
struct boss_amnennar_the_coldbringerAI : public ScriptedAI
{
- boss_amnennar_the_coldbringerAI(Creature* c) : ScriptedAI(c) {}
+ boss_amnennar_the_coldbringerAI(Creature* creature) : ScriptedAI(creature) {}
uint32 AmnenarsWrath_Timer;
uint32 FrostBolt_Timer;
diff --git a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
index 1bc0a3b7a19..747a2f2880f 100644
--- a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
+++ b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
@@ -70,7 +70,7 @@ public:
struct npc_willixAI : public npc_escortAI
{
- npc_willixAI(Creature* c) : npc_escortAI(c) {}
+ npc_willixAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp
index eaeec50ef7b..41e0e0f2a06 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp
@@ -49,9 +49,9 @@ public:
struct boss_kriAI : public ScriptedAI
{
- boss_kriAI(Creature* c) : ScriptedAI(c)
+ boss_kriAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -146,9 +146,9 @@ public:
struct boss_vemAI : public ScriptedAI
{
- boss_vemAI(Creature* c) : ScriptedAI(c)
+ boss_vemAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -239,9 +239,9 @@ public:
struct boss_yaujAI : public ScriptedAI
{
- boss_yaujAI(Creature* c) : ScriptedAI(c)
+ boss_yaujAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
index a6409ca056f..4935fb6b906 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
@@ -176,9 +176,9 @@ public:
struct eye_of_cthunAI : public Scripted_NoMovementAI
{
- eye_of_cthunAI(Creature* c) : Scripted_NoMovementAI(c)
+ eye_of_cthunAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
if (!instance)
sLog->outError("TSCR: No Instance eye_of_cthunAI");
}
@@ -480,11 +480,11 @@ public:
struct cthunAI : public Scripted_NoMovementAI
{
- cthunAI(Creature* c) : Scripted_NoMovementAI(c)
+ cthunAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
SetCombatMovement(false);
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
if (!instance)
sLog->outError("TSCR: No Instance eye_of_cthunAI");
}
@@ -935,7 +935,7 @@ public:
struct eye_tentacleAI : public Scripted_NoMovementAI
{
- eye_tentacleAI(Creature* c) : Scripted_NoMovementAI(c)
+ eye_tentacleAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
if (Creature* pPortal = me->SummonCreature(MOB_SMALL_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
{
@@ -1008,7 +1008,7 @@ public:
struct claw_tentacleAI : public Scripted_NoMovementAI
{
- claw_tentacleAI(Creature* c) : Scripted_NoMovementAI(c)
+ claw_tentacleAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
SetCombatMovement(false);
@@ -1118,7 +1118,7 @@ public:
struct giant_claw_tentacleAI : public Scripted_NoMovementAI
{
- giant_claw_tentacleAI(Creature* c) : Scripted_NoMovementAI(c)
+ giant_claw_tentacleAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
SetCombatMovement(false);
@@ -1237,7 +1237,7 @@ public:
struct giant_eye_tentacleAI : public Scripted_NoMovementAI
{
- giant_eye_tentacleAI(Creature* c) : Scripted_NoMovementAI(c)
+ giant_eye_tentacleAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
SetCombatMovement(false);
@@ -1301,7 +1301,7 @@ public:
struct flesh_tentacleAI : public Scripted_NoMovementAI
{
- flesh_tentacleAI(Creature* c) : Scripted_NoMovementAI(c)
+ flesh_tentacleAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
SetCombatMovement(false);
}
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp
index 9ccff0bff48..613bc91182b 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp
@@ -49,7 +49,7 @@ public:
struct boss_fankrissAI : public ScriptedAI
{
- boss_fankrissAI(Creature* c) : ScriptedAI(c) {}
+ boss_fankrissAI(Creature* creature) : ScriptedAI(creature) {}
uint32 MortalWound_Timer;
uint32 SpawnHatchlings_Timer;
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp
index c0ccd55f219..53fac3ee3ec 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp
@@ -47,7 +47,7 @@ public:
struct boss_huhuranAI : public ScriptedAI
{
- boss_huhuranAI(Creature* c) : ScriptedAI(c) {}
+ boss_huhuranAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Frenzy_Timer;
uint32 Wyvern_Timer;
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp
index b0e5112aa6b..81205780e7d 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp
@@ -45,7 +45,7 @@ public:
struct boss_ouroAI : public ScriptedAI
{
- boss_ouroAI(Creature* c) : ScriptedAI(c) {}
+ boss_ouroAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Sweep_Timer;
uint32 SandBlast_Timer;
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp
index 4d5aff16770..0d934305ba7 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp
@@ -49,7 +49,7 @@ public:
struct boss_sarturaAI : public ScriptedAI
{
- boss_sarturaAI(Creature* c) : ScriptedAI(c) {}
+ boss_sarturaAI(Creature* creature) : ScriptedAI(creature) {}
uint32 WhirlWind_Timer;
uint32 WhirlWindRandom_Timer;
@@ -192,7 +192,7 @@ public:
struct mob_sartura_royal_guardAI : public ScriptedAI
{
- mob_sartura_royal_guardAI(Creature* c) : ScriptedAI(c) {}
+ mob_sartura_royal_guardAI(Creature* creature) : ScriptedAI(creature) {}
uint32 WhirlWind_Timer;
uint32 WhirlWindRandom_Timer;
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp
index 7f3c19ac69c..3f91ba62f0c 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp
@@ -63,7 +63,7 @@ public:
struct boss_skeramAI : public ScriptedAI
{
- boss_skeramAI(Creature* c) : ScriptedAI(c)
+ boss_skeramAI(Creature* creature) : ScriptedAI(creature)
{
IsImage = false;
}
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp
index b03d2dc3a4a..6578680fd8b 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp
@@ -61,9 +61,9 @@ EndScriptData */
struct boss_twinemperorsAI : public ScriptedAI
{
- boss_twinemperorsAI(Creature* c): ScriptedAI(c)
+ boss_twinemperorsAI(Creature* creature): ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp
index 45e9797328e..558b634b8de 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp
@@ -86,7 +86,7 @@ public:
}
}
- aqsentinelAI(Creature* c) : ScriptedAI(c)
+ aqsentinelAI(Creature* creature) : ScriptedAI(creature)
{
ClearBuddyList();
abselected = 0; // just initialization of variable
diff --git a/src/server/scripts/Kalimdor/WailingCaverns/wailing_caverns.cpp b/src/server/scripts/Kalimdor/WailingCaverns/wailing_caverns.cpp
index 23e64d756f5..cabddc3b6d9 100644
--- a/src/server/scripts/Kalimdor/WailingCaverns/wailing_caverns.cpp
+++ b/src/server/scripts/Kalimdor/WailingCaverns/wailing_caverns.cpp
@@ -136,9 +136,9 @@ public:
struct npc_disciple_of_naralexAI : public npc_escortAI
{
- npc_disciple_of_naralexAI(Creature* c) : npc_escortAI(c)
+ npc_disciple_of_naralexAI(Creature* creature) : npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
eventTimer = 0;
currentEvent = 0;
eventProgress = 0;
diff --git a/src/server/scripts/Kalimdor/ashenvale.cpp b/src/server/scripts/Kalimdor/ashenvale.cpp
index 5d26653a1a8..9d0423181de 100644
--- a/src/server/scripts/Kalimdor/ashenvale.cpp
+++ b/src/server/scripts/Kalimdor/ashenvale.cpp
@@ -185,7 +185,7 @@ class npc_ruul_snowhoof : public CreatureScript
struct npc_ruul_snowhoofAI : public npc_escortAI
{
- npc_ruul_snowhoofAI(Creature* c) : npc_escortAI(c) {}
+ npc_ruul_snowhoofAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/Kalimdor/azshara.cpp b/src/server/scripts/Kalimdor/azshara.cpp
index 802867f4171..2b74420ff3a 100644
--- a/src/server/scripts/Kalimdor/azshara.cpp
+++ b/src/server/scripts/Kalimdor/azshara.cpp
@@ -50,7 +50,7 @@ public:
struct mobs_spitelashesAI : public ScriptedAI
{
- mobs_spitelashesAI(Creature* c) : ScriptedAI(c) {}
+ mobs_spitelashesAI(Creature* creature) : ScriptedAI(creature) {}
uint32 morphtimer;
bool spellhit;
@@ -296,7 +296,7 @@ public:
struct mob_rizzle_sprysprocketAI : public ScriptedAI
{
- mob_rizzle_sprysprocketAI(Creature* c) : ScriptedAI(c) {}
+ mob_rizzle_sprysprocketAI(Creature* creature) : ScriptedAI(creature) {}
uint32 spellEscape_Timer;
uint32 Teleport_Timer;
@@ -470,7 +470,7 @@ public:
struct mob_depth_chargeAI : public ScriptedAI
{
- mob_depth_chargeAI(Creature* c) : ScriptedAI(c) {}
+ mob_depth_chargeAI(Creature* creature) : ScriptedAI(creature) {}
bool we_must_die;
uint32 must_die_timer;
diff --git a/src/server/scripts/Kalimdor/azuremyst_isle.cpp b/src/server/scripts/Kalimdor/azuremyst_isle.cpp
index 6f17ab16d15..6c322a1dee1 100644
--- a/src/server/scripts/Kalimdor/azuremyst_isle.cpp
+++ b/src/server/scripts/Kalimdor/azuremyst_isle.cpp
@@ -69,7 +69,7 @@ public:
struct npc_draenei_survivorAI : public ScriptedAI
{
- npc_draenei_survivorAI(Creature* c) : ScriptedAI(c) {}
+ npc_draenei_survivorAI(Creature* creature) : ScriptedAI(creature) {}
uint64 pCaster;
@@ -223,12 +223,12 @@ public:
struct npc_engineer_spark_overgrindAI : public ScriptedAI
{
- npc_engineer_spark_overgrindAI(Creature* c) : ScriptedAI(c)
+ npc_engineer_spark_overgrindAI(Creature* creature) : ScriptedAI(creature)
{
- NormFaction = c->getFaction();
- NpcFlags = c->GetUInt32Value(UNIT_NPC_FLAGS);
+ NormFaction = creature->getFaction();
+ NpcFlags = creature->GetUInt32Value(UNIT_NPC_FLAGS);
- if (c->GetAreaId() == AREA_COVE || c->GetAreaId() == AREA_ISLE)
+ if (creature->GetAreaId() == AREA_COVE || creature->GetAreaId() == AREA_ISLE)
IsTreeEvent = true;
}
@@ -301,7 +301,7 @@ public:
struct npc_injured_draeneiAI : public ScriptedAI
{
- npc_injured_draeneiAI(Creature* c) : ScriptedAI(c) {}
+ npc_injured_draeneiAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
@@ -367,7 +367,7 @@ public:
struct npc_magwinAI : public npc_escortAI
{
- npc_magwinAI(Creature* c) : npc_escortAI(c) {}
+ npc_magwinAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
@@ -443,7 +443,7 @@ public:
struct npc_geezleAI : public ScriptedAI
{
- npc_geezleAI(Creature* c) : ScriptedAI(c) {}
+ npc_geezleAI(Creature* creature) : ScriptedAI(creature) {}
uint64 SparkGUID;
@@ -613,7 +613,7 @@ public:
struct npc_death_ravagerAI : public ScriptedAI
{
- npc_death_ravagerAI(Creature* c) : ScriptedAI(c){}
+ npc_death_ravagerAI(Creature* creature) : ScriptedAI(creature){}
uint32 RendTimer;
uint32 EnragingBiteTimer;
diff --git a/src/server/scripts/Kalimdor/bloodmyst_isle.cpp b/src/server/scripts/Kalimdor/bloodmyst_isle.cpp
index 10555d252a6..f60777c431d 100644
--- a/src/server/scripts/Kalimdor/bloodmyst_isle.cpp
+++ b/src/server/scripts/Kalimdor/bloodmyst_isle.cpp
@@ -49,7 +49,7 @@ public:
struct mob_webbed_creatureAI : public ScriptedAI
{
- mob_webbed_creatureAI(Creature* c) : ScriptedAI(c) {}
+ mob_webbed_creatureAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
diff --git a/src/server/scripts/Kalimdor/boss_azuregos.cpp b/src/server/scripts/Kalimdor/boss_azuregos.cpp
index 4c415014eef..37d3753377b 100644
--- a/src/server/scripts/Kalimdor/boss_azuregos.cpp
+++ b/src/server/scripts/Kalimdor/boss_azuregos.cpp
@@ -47,7 +47,7 @@ public:
struct boss_azuregosAI : public ScriptedAI
{
- boss_azuregosAI(Creature* c) : ScriptedAI(c) {}
+ boss_azuregosAI(Creature* creature) : ScriptedAI(creature) {}
uint32 MarkOfFrost_Timer;
uint32 ManaStorm_Timer;
diff --git a/src/server/scripts/Kalimdor/durotar.cpp b/src/server/scripts/Kalimdor/durotar.cpp
index ea3a093990e..710f1e55871 100644
--- a/src/server/scripts/Kalimdor/durotar.cpp
+++ b/src/server/scripts/Kalimdor/durotar.cpp
@@ -48,7 +48,7 @@ public:
struct npc_lazy_peonAI : public ScriptedAI
{
- npc_lazy_peonAI(Creature* c) : ScriptedAI(c) {}
+ npc_lazy_peonAI(Creature* creature) : ScriptedAI(creature) {}
uint64 uiPlayerGUID;
diff --git a/src/server/scripts/Kalimdor/moonglade.cpp b/src/server/scripts/Kalimdor/moonglade.cpp
index 833224b0e98..6e5ead0a870 100644
--- a/src/server/scripts/Kalimdor/moonglade.cpp
+++ b/src/server/scripts/Kalimdor/moonglade.cpp
@@ -296,7 +296,7 @@ public:
struct npc_clintar_spiritAI : public npc_escortAI
{
public:
- npc_clintar_spiritAI(Creature* c) : npc_escortAI(c) {}
+ npc_clintar_spiritAI(Creature* creature) : npc_escortAI(creature) {}
uint32 Step;
uint32 CurrWP;
diff --git a/src/server/scripts/Kalimdor/mulgore.cpp b/src/server/scripts/Kalimdor/mulgore.cpp
index 19be3ce21cc..bd4cf55b7b2 100644
--- a/src/server/scripts/Kalimdor/mulgore.cpp
+++ b/src/server/scripts/Kalimdor/mulgore.cpp
@@ -96,7 +96,7 @@ public:
struct npc_kyle_frenziedAI : public ScriptedAI
{
- npc_kyle_frenziedAI(Creature* c) : ScriptedAI(c) {}
+ npc_kyle_frenziedAI(Creature* creature) : ScriptedAI(creature) {}
bool bEvent;
bool m_bIsMovingToLunch;
@@ -269,7 +269,7 @@ public:
struct npc_plains_visionAI : public ScriptedAI
{
- npc_plains_visionAI(Creature* c) : ScriptedAI(c) {}
+ npc_plains_visionAI(Creature* creature) : ScriptedAI(creature) {}
bool newWaypoint;
uint8 WayPointId;
diff --git a/src/server/scripts/Kalimdor/orgrimmar.cpp b/src/server/scripts/Kalimdor/orgrimmar.cpp
index 63916968ca2..2ff2d28768a 100644
--- a/src/server/scripts/Kalimdor/orgrimmar.cpp
+++ b/src/server/scripts/Kalimdor/orgrimmar.cpp
@@ -61,7 +61,7 @@ public:
struct npc_shenthulAI : public ScriptedAI
{
- npc_shenthulAI(Creature* c) : ScriptedAI(c) {}
+ npc_shenthulAI(Creature* creature) : ScriptedAI(creature) {}
bool CanTalk;
bool CanEmote;
@@ -205,7 +205,7 @@ public:
struct npc_thrall_warchiefAI : public ScriptedAI
{
- npc_thrall_warchiefAI(Creature* c) : ScriptedAI(c) {}
+ npc_thrall_warchiefAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ChainLightning_Timer;
uint32 Shock_Timer;
diff --git a/src/server/scripts/Kalimdor/silithus.cpp b/src/server/scripts/Kalimdor/silithus.cpp
index 2c498cfdc43..66986ebd5ae 100644
--- a/src/server/scripts/Kalimdor/silithus.cpp
+++ b/src/server/scripts/Kalimdor/silithus.cpp
@@ -492,7 +492,7 @@ public:
struct npc_anachronos_the_ancientAI : public ScriptedAI
{
- npc_anachronos_the_ancientAI(Creature* c) : ScriptedAI(c) {}
+ npc_anachronos_the_ancientAI(Creature* creature) : ScriptedAI(creature) {}
uint32 AnimationTimer;
uint8 AnimationCount;
@@ -820,7 +820,7 @@ public:
struct mob_qiraj_war_spawnAI : public ScriptedAI
{
- mob_qiraj_war_spawnAI(Creature* c) : ScriptedAI(c) {}
+ mob_qiraj_war_spawnAI(Creature* creature) : ScriptedAI(creature) {}
uint64 MobGUID;
uint64 PlayerGUID;
@@ -935,7 +935,7 @@ public:
struct npc_anachronos_quest_triggerAI : public ScriptedAI
{
- npc_anachronos_quest_triggerAI(Creature* c) : ScriptedAI(c) {}
+ npc_anachronos_quest_triggerAI(Creature* creature) : ScriptedAI(creature) {}
uint64 PlayerGUID;
diff --git a/src/server/scripts/Kalimdor/stonetalon_mountains.cpp b/src/server/scripts/Kalimdor/stonetalon_mountains.cpp
index 66731574ec9..0141564a140 100644
--- a/src/server/scripts/Kalimdor/stonetalon_mountains.cpp
+++ b/src/server/scripts/Kalimdor/stonetalon_mountains.cpp
@@ -112,7 +112,7 @@ public:
struct npc_kaya_flathoofAI : public npc_escortAI
{
- npc_kaya_flathoofAI(Creature* c) : npc_escortAI(c) {}
+ npc_kaya_flathoofAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/Kalimdor/tanaris.cpp b/src/server/scripts/Kalimdor/tanaris.cpp
index dcca1ed29b4..c1a5d9de10e 100644
--- a/src/server/scripts/Kalimdor/tanaris.cpp
+++ b/src/server/scripts/Kalimdor/tanaris.cpp
@@ -58,7 +58,7 @@ public:
struct mob_aquementasAI : public ScriptedAI
{
- mob_aquementasAI(Creature* c) : ScriptedAI(c) {}
+ mob_aquementasAI(Creature* creature) : ScriptedAI(creature) {}
uint32 SendItem_Timer;
uint32 SwitchFaction_Timer;
@@ -170,7 +170,7 @@ public:
struct npc_custodian_of_timeAI : public npc_escortAI
{
- npc_custodian_of_timeAI(Creature* c) : npc_escortAI(c) {}
+ npc_custodian_of_timeAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
@@ -426,7 +426,7 @@ public:
struct npc_OOX17AI : public npc_escortAI
{
- npc_OOX17AI(Creature* c) : npc_escortAI(c) {}
+ npc_OOX17AI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/Kalimdor/the_barrens.cpp b/src/server/scripts/Kalimdor/the_barrens.cpp
index ca87c350cda..f05d7691c61 100644
--- a/src/server/scripts/Kalimdor/the_barrens.cpp
+++ b/src/server/scripts/Kalimdor/the_barrens.cpp
@@ -234,9 +234,9 @@ public:
struct npc_taskmaster_fizzuleAI : public ScriptedAI
{
- npc_taskmaster_fizzuleAI(Creature* c) : ScriptedAI(c)
+ npc_taskmaster_fizzuleAI(Creature* creature) : ScriptedAI(creature)
{
- factionNorm = c->getFaction();
+ factionNorm = creature->getFaction();
}
uint32 factionNorm;
@@ -350,7 +350,7 @@ public:
struct npc_twiggy_flatheadAI : public ScriptedAI
{
- npc_twiggy_flatheadAI(Creature* c) : ScriptedAI(c) {}
+ npc_twiggy_flatheadAI(Creature* creature) : ScriptedAI(creature) {}
bool EventInProgress;
bool EventGrate;
diff --git a/src/server/scripts/Kalimdor/thousand_needles.cpp b/src/server/scripts/Kalimdor/thousand_needles.cpp
index 77788d0fcfa..c6824447e1b 100644
--- a/src/server/scripts/Kalimdor/thousand_needles.cpp
+++ b/src/server/scripts/Kalimdor/thousand_needles.cpp
@@ -328,7 +328,7 @@ public:
struct npc_pluckyAI : public ScriptedAI
{
- npc_pluckyAI(Creature* c) : ScriptedAI(c) { m_uiNormFaction = c->getFaction(); }
+ npc_pluckyAI(Creature* creature) : ScriptedAI(creature) { m_uiNormFaction = creature->getFaction(); }
uint32 m_uiNormFaction;
uint32 m_uiResetTimer;
@@ -437,7 +437,7 @@ public:
struct npc_enraged_pantherAI : public ScriptedAI
{
- npc_enraged_pantherAI(Creature* c) : ScriptedAI(c) {}
+ npc_enraged_pantherAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
diff --git a/src/server/scripts/Kalimdor/thunder_bluff.cpp b/src/server/scripts/Kalimdor/thunder_bluff.cpp
index 36873190e8c..5aa55ddea66 100644
--- a/src/server/scripts/Kalimdor/thunder_bluff.cpp
+++ b/src/server/scripts/Kalimdor/thunder_bluff.cpp
@@ -73,7 +73,7 @@ public:
struct npc_cairne_bloodhoofAI : public ScriptedAI
{
- npc_cairne_bloodhoofAI(Creature* c) : ScriptedAI(c) {}
+ npc_cairne_bloodhoofAI(Creature* creature) : ScriptedAI(creature) {}
uint32 BerserkerCharge_Timer;
uint32 Cleave_Timer;
diff --git a/src/server/scripts/Kalimdor/ungoro_crater.cpp b/src/server/scripts/Kalimdor/ungoro_crater.cpp
index 0e2a1b2c4d9..fc720f04ad1 100644
--- a/src/server/scripts/Kalimdor/ungoro_crater.cpp
+++ b/src/server/scripts/Kalimdor/ungoro_crater.cpp
@@ -74,7 +74,7 @@ public:
struct npc_ameAI : public npc_escortAI
{
- npc_ameAI(Creature* c) : npc_escortAI(c) {}
+ npc_ameAI(Creature* creature) : npc_escortAI(creature) {}
uint32 DEMORALIZINGSHOUT_Timer;
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp
index b16ad9934d8..516d3b21622 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp
@@ -48,9 +48,9 @@ public:
struct boss_amanitarAI : public ScriptedAI
{
- boss_amanitarAI(Creature* c) : ScriptedAI(c)
+ boss_amanitarAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
bFirstTime = true;
}
@@ -167,7 +167,7 @@ public:
struct mob_amanitar_mushroomsAI : public Scripted_NoMovementAI
{
- mob_amanitar_mushroomsAI(Creature* c) : Scripted_NoMovementAI(c) {}
+ mob_amanitar_mushroomsAI(Creature* creature) : Scripted_NoMovementAI(creature) {}
uint32 uiAuraTimer;
uint32 uiDeathTimer;
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp
index 85abaa46a5d..7b8157486e8 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp
@@ -278,10 +278,10 @@ public:
struct mob_nadox_eggsAI : public Scripted_NoMovementAI
{
- mob_nadox_eggsAI(Creature* c) : Scripted_NoMovementAI(c)
+ mob_nadox_eggsAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
- c->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE);
- c->UpdateAllStats();
+ creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE);
+ creature->UpdateAllStats();
}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp
index 2789bc48a4c..ceefcece71e 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp
@@ -73,9 +73,9 @@ public:
struct boss_jedoga_shadowseekerAI : public ScriptedAI
{
- boss_jedoga_shadowseekerAI(Creature* c) : ScriptedAI(c)
+ boss_jedoga_shadowseekerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
bFirstTime = true;
bPreDone = false;
}
@@ -355,9 +355,9 @@ public:
struct mob_jedoga_initiandAI : public ScriptedAI
{
- mob_jedoga_initiandAI(Creature* c) : ScriptedAI(c)
+ mob_jedoga_initiandAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -531,9 +531,9 @@ public:
struct npc_jedogas_aufseher_triggerAI : public Scripted_NoMovementAI
{
- npc_jedogas_aufseher_triggerAI(Creature* c) : Scripted_NoMovementAI(c)
+ npc_jedogas_aufseher_triggerAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
bRemoved = false;
bRemoved2 = false;
bCasted = false;
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
index c756aa4f232..5ec693c58b2 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
@@ -79,9 +79,9 @@ public:
struct boss_taldaramAI : public ScriptedAI
{
- boss_taldaramAI(Creature* c) : ScriptedAI(c)
+ boss_taldaramAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
}
@@ -338,9 +338,9 @@ public:
struct mob_taldaram_flamesphereAI : public ScriptedAI
{
- mob_taldaram_flamesphereAI(Creature* c) : ScriptedAI(c)
+ mob_taldaram_flamesphereAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiDespawnTimer;
diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp
index da629fd45e9..699043b3269 100644
--- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp
@@ -51,9 +51,9 @@ public:
struct boss_hadronoxAI : public ScriptedAI
{
- boss_hadronoxAI(Creature* c) : ScriptedAI(c)
+ boss_hadronoxAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
fMaxDistance = 50.0f;
bFirstTime = true;
}
diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
index 878e1f7555f..4d83be53c93 100644
--- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
@@ -94,9 +94,9 @@ public:
struct boss_krik_thirAI : public ScriptedAI
{
- boss_krik_thirAI(Creature* c) : ScriptedAI(c)
+ boss_krik_thirAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -212,7 +212,7 @@ public:
struct npc_skittering_infectorAI : public ScriptedAI
{
- npc_skittering_infectorAI(Creature* c) : ScriptedAI(c) {}
+ npc_skittering_infectorAI(Creature* creature) : ScriptedAI(creature) {}
void JustDied(Unit* /*killer*/)
{
@@ -234,7 +234,7 @@ public:
struct npc_anub_ar_skirmisherAI : public ScriptedAI
{
- npc_anub_ar_skirmisherAI(Creature* c) : ScriptedAI(c) {}
+ npc_anub_ar_skirmisherAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiChargeTimer;
uint32 uiBackstabTimer;
@@ -285,7 +285,7 @@ public:
struct npc_anub_ar_shadowcasterAI : public ScriptedAI
{
- npc_anub_ar_shadowcasterAI(Creature* c) : ScriptedAI(c) {}
+ npc_anub_ar_shadowcasterAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiShadowBoltTimer;
uint32 uiShadowNovaTimer;
@@ -331,7 +331,7 @@ public:
struct npc_anub_ar_warriorAI : public ScriptedAI
{
- npc_anub_ar_warriorAI(Creature* c) : ScriptedAI(c){}
+ npc_anub_ar_warriorAI(Creature* creature) : ScriptedAI(creature){}
uint32 uiCleaveTimer;
uint32 uiStrikeTimer;
@@ -376,7 +376,7 @@ public:
struct npc_watcher_gashraAI : public ScriptedAI
{
- npc_watcher_gashraAI(Creature* c) : ScriptedAI(c) {}
+ npc_watcher_gashraAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiWebWrapTimer;
uint32 uiInfectedBiteTimer;
@@ -427,7 +427,7 @@ public:
struct npc_watcher_narjilAI : public ScriptedAI
{
- npc_watcher_narjilAI(Creature* c) : ScriptedAI(c) {}
+ npc_watcher_narjilAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiWebWrapTimer;
uint32 uiInfectedBiteTimer;
@@ -481,7 +481,7 @@ public:
struct npc_watcher_silthikAI : public ScriptedAI
{
- npc_watcher_silthikAI(Creature* c) : ScriptedAI(c) {}
+ npc_watcher_silthikAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiWebWrapTimer;
uint32 uiInfectedBiteTimer;
diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp
index 5418cf8c4d0..9ff8ee9c9ed 100644
--- a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp
+++ b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp
@@ -72,9 +72,9 @@ public:
struct boss_novosAI : public Scripted_NoMovementAI
{
- boss_novosAI(Creature* c) : Scripted_NoMovementAI(c), lSummons(me)
+ boss_novosAI(Creature* creature) : Scripted_NoMovementAI(creature), lSummons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiTimer;
@@ -260,9 +260,9 @@ public:
struct mob_crystal_handlerAI : public ScriptedAI
{
- mob_crystal_handlerAI(Creature* c) : ScriptedAI(c)
+ mob_crystal_handlerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiFlashOfDarknessTimer;
@@ -317,9 +317,9 @@ public:
struct mob_novos_minionAI : public ScriptedAI
{
- mob_novos_minionAI(Creature* c) : ScriptedAI(c)
+ mob_novos_minionAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp
index 97f2ee4e9a1..b1d588a0d0d 100644
--- a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp
+++ b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp
@@ -71,9 +71,9 @@ public:
struct boss_tharon_jaAI : public ScriptedAI
{
- boss_tharon_jaAI(Creature* c) : ScriptedAI(c)
+ boss_tharon_jaAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiPhaseTimer;
diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp
index 9fc964000e3..26e4e9db99e 100644
--- a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp
+++ b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp
@@ -61,9 +61,9 @@ public:
struct boss_trollgoreAI : public ScriptedAI
{
- boss_trollgoreAI(Creature* c) : ScriptedAI(c), lSummons(me)
+ boss_trollgoreAI(Creature* creature) : ScriptedAI(creature), lSummons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiConsumeTimer;
diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
index 9b627281775..8f9d5584c4c 100644
--- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
+++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
@@ -633,7 +633,7 @@ public:
struct npc_ghostly_priestAI: public ScriptedAI
{
- npc_ghostly_priestAI(Creature* c) : ScriptedAI(c)
+ npc_ghostly_priestAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -715,7 +715,7 @@ public:
struct npc_phantom_mageAI: public ScriptedAI
{
- npc_phantom_mageAI(Creature* c) : ScriptedAI(c)
+ npc_phantom_mageAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -816,7 +816,7 @@ public:
struct npc_shadowy_mercenaryAI: public ScriptedAI
{
- npc_shadowy_mercenaryAI(Creature* c) : ScriptedAI(c)
+ npc_shadowy_mercenaryAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -887,7 +887,7 @@ public:
struct npc_spectral_footmanAI: public ScriptedAI
{
- npc_spectral_footmanAI(Creature* c) : ScriptedAI(c)
+ npc_spectral_footmanAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -952,7 +952,7 @@ public:
struct npc_tortured_riflemanAI : public ScriptedAI
{
- npc_tortured_riflemanAI(Creature* c) : ScriptedAI(c)
+ npc_tortured_riflemanAI(Creature* creature) : ScriptedAI(creature)
{
}
diff --git a/src/server/scripts/Northrend/Gundrak/boss_eck.cpp b/src/server/scripts/Northrend/Gundrak/boss_eck.cpp
index c665d3cdf5a..b79e4d1edfd 100644
--- a/src/server/scripts/Northrend/Gundrak/boss_eck.cpp
+++ b/src/server/scripts/Northrend/Gundrak/boss_eck.cpp
@@ -41,9 +41,9 @@ public:
struct boss_eckAI : public ScriptedAI
{
- boss_eckAI(Creature* c) : ScriptedAI(c)
+ boss_eckAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiBerserkTimer;
@@ -145,9 +145,9 @@ public:
struct npc_ruins_dwellerAI : public ScriptedAI
{
- npc_ruins_dwellerAI(Creature* c) : ScriptedAI(c)
+ npc_ruins_dwellerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp b/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp
index daa5ee86483..be9b09a1263 100644
--- a/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp
+++ b/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp
@@ -75,9 +75,9 @@ public:
struct boss_gal_darahAI : public ScriptedAI
{
- boss_gal_darahAI(Creature* c) : ScriptedAI(c)
+ boss_gal_darahAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiStampedeTimer;
diff --git a/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp b/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp
index 5071802f897..b827f43dc99 100644
--- a/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp
+++ b/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp
@@ -80,9 +80,9 @@ public:
struct boss_slad_ranAI : public ScriptedAI
{
- boss_slad_ranAI(Creature* c) : ScriptedAI(c), lSummons(me)
+ boss_slad_ranAI(Creature* creature) : ScriptedAI(creature), lSummons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiPoisonNovaTimer;
@@ -219,7 +219,7 @@ public:
struct mob_slad_ran_constrictorAI : public ScriptedAI
{
- mob_slad_ran_constrictorAI(Creature* c) : ScriptedAI(c) {}
+ mob_slad_ran_constrictorAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiGripOfSladRanTimer;
@@ -272,7 +272,7 @@ public:
struct mob_slad_ran_viperAI : public ScriptedAI
{
- mob_slad_ran_viperAI(Creature* c) : ScriptedAI(c) {}
+ mob_slad_ran_viperAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiVenomousBiteTimer;
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
index e64099da3ac..04360d25be3 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
@@ -295,9 +295,9 @@ public:
struct mob_stalaggAI : public ScriptedAI
{
- mob_stalaggAI(Creature* c) : ScriptedAI(c)
+ mob_stalaggAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -381,9 +381,9 @@ public:
struct mob_feugenAI : public ScriptedAI
{
- mob_feugenAI(Creature* c) : ScriptedAI(c)
+ mob_feugenAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp
index 44c6c25fa3e..91333098560 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp
@@ -61,9 +61,9 @@ public:
struct boss_keristraszaAI : public ScriptedAI
{
- boss_keristraszaAI(Creature* c) : ScriptedAI(c)
+ boss_keristraszaAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
index 03f467ce180..ad188738c12 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
@@ -67,9 +67,9 @@ public:
struct boss_magus_telestraAI : public ScriptedAI
{
- boss_magus_telestraAI(Creature* c) : ScriptedAI(c)
+ boss_magus_telestraAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp
index 4453ec94494..577bc3cc822 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp
@@ -61,9 +61,9 @@ public:
struct boss_ormorokAI : public ScriptedAI
{
- boss_ormorokAI(Creature* c) : ScriptedAI(c)
+ boss_ormorokAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -234,7 +234,7 @@ public:
struct mob_crystal_spikeAI : public Scripted_NoMovementAI
{
- mob_crystal_spikeAI(Creature* c) : Scripted_NoMovementAI(c)
+ mob_crystal_spikeAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
}
@@ -277,7 +277,7 @@ public:
struct mob_crystalline_tanglerAI : public ScriptedAI
{
- mob_crystalline_tanglerAI(Creature* c) : ScriptedAI(c) {}
+ mob_crystalline_tanglerAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiRootsTimer;
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/commander_kolurg.cpp b/src/server/scripts/Northrend/Nexus/Nexus/commander_kolurg.cpp
index 6d07ac960b5..5ea3eb32c1d 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/commander_kolurg.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/commander_kolurg.cpp
@@ -49,7 +49,7 @@ public:
struct boss_commander_kolurgAI : public ScriptedAI
{
- boss_commander_kolurgAI(Creature* c) : ScriptedAI(c) {}
+ boss_commander_kolurgAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/commander_stoutbeard.cpp b/src/server/scripts/Northrend/Nexus/Nexus/commander_stoutbeard.cpp
index 71a153c802a..da4b49740c1 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/commander_stoutbeard.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/commander_stoutbeard.cpp
@@ -49,7 +49,7 @@ public:
struct boss_commander_stoutbeardAI : public ScriptedAI
{
- boss_commander_stoutbeardAI(Creature* c) : ScriptedAI(c) {}
+ boss_commander_stoutbeardAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/)
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp
index d1aba800094..bc57ce21a4d 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp
@@ -61,9 +61,9 @@ public:
struct boss_krystallusAI : public ScriptedAI
{
- boss_krystallusAI(Creature* c) : ScriptedAI(c)
+ boss_krystallusAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiBoulderTossTimer;
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp
index cd4d7ae94a1..65711643827 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp
@@ -65,7 +65,7 @@ public:
struct boss_maiden_of_griefAI : public ScriptedAI
{
- boss_maiden_of_griefAI(Creature* c) : ScriptedAI(c)
+ boss_maiden_of_griefAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp
index 2c7026207e5..c2a8e905950 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp
@@ -90,9 +90,9 @@ public:
struct boss_sjonnirAI : public ScriptedAI
{
- boss_sjonnirAI(Creature* c) : ScriptedAI(c), lSummons(me)
+ boss_sjonnirAI(Creature* creature) : ScriptedAI(creature), lSummons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
bool bIsFrenzy;
@@ -258,7 +258,7 @@ public:
struct mob_malformed_oozeAI : public ScriptedAI
{
- mob_malformed_oozeAI(Creature* c) : ScriptedAI(c) {}
+ mob_malformed_oozeAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiMergeTimer;
@@ -301,9 +301,9 @@ public:
struct mob_iron_sludgeAI : public ScriptedAI
{
- mob_iron_sludgeAI(Creature* c) : ScriptedAI(c)
+ mob_iron_sludgeAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
index 1a09db675c6..cba123e6efc 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
@@ -142,9 +142,9 @@ public:
struct mob_tribuna_controllerAI : public ScriptedAI
{
- mob_tribuna_controllerAI(Creature* c) : ScriptedAI(c)
+ mob_tribuna_controllerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
SetCombatMovement(false);
}
@@ -298,9 +298,9 @@ public:
struct npc_brann_hosAI : public npc_escortAI
{
- npc_brann_hosAI(Creature* c) : npc_escortAI(c)
+ npc_brann_hosAI(Creature* creature) : npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiStep;
diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon.cpp
index e54d8a898de..2dd13e7ce07 100644
--- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon.cpp
+++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon.cpp
@@ -81,9 +81,9 @@ public:
struct boss_algalonAI : public ScriptedAI
{
- boss_algalonAI(Creature* c) : ScriptedAI(c)
+ boss_algalonAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
Summon = false; // not in reset. intro speech done only once.
}
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
index 7d37621e787..e1f025f01c0 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
@@ -309,9 +309,9 @@ public:
struct mob_annhylde_the_callerAI : public ScriptedAI
{
- mob_annhylde_the_callerAI(Creature* c) : ScriptedAI(c)
+ mob_annhylde_the_callerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
float x, y, z;
@@ -424,7 +424,7 @@ public:
struct mob_ingvar_throw_dummyAI : public ScriptedAI
{
- mob_ingvar_throw_dummyAI(Creature* c) : ScriptedAI(c)
+ mob_ingvar_throw_dummyAI(Creature* creature) : ScriptedAI(creature)
{
}
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp
index 333278daa10..17ad7b36439 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp
@@ -69,9 +69,9 @@ public:
struct boss_skarvald_the_constructorAI : public ScriptedAI
{
- boss_skarvald_the_constructorAI(Creature* c) : ScriptedAI(c)
+ boss_skarvald_the_constructorAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -221,9 +221,9 @@ public:
struct boss_dalronn_the_controllerAI : public ScriptedAI
{
- boss_dalronn_the_controllerAI(Creature* c) : ScriptedAI(c)
+ boss_dalronn_the_controllerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp
index d660b1516b3..50417b0ac07 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp
@@ -37,9 +37,9 @@ public:
struct npc_dragonflayer_forge_masterAI : public ScriptedAI
{
- npc_dragonflayer_forge_masterAI(Creature* c) : ScriptedAI(c)
+ npc_dragonflayer_forge_masterAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
fm_Type = 0;
}
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp
index d40dba22fcd..474f7f2ba06 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp
@@ -94,9 +94,9 @@ public:
struct boss_palehoofAI : public ScriptedAI
{
- boss_palehoofAI(Creature* c) : ScriptedAI(c)
+ boss_palehoofAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiArcingSmashTimer;
@@ -297,9 +297,9 @@ public:
struct mob_ravenous_furbolgAI : public ScriptedAI
{
- mob_ravenous_furbolgAI(Creature* c) : ScriptedAI(c)
+ mob_ravenous_furbolgAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiChainLightingTimer;
@@ -410,9 +410,9 @@ public:
struct mob_frenzied_worgenAI : public ScriptedAI
{
- mob_frenzied_worgenAI(Creature* c) : ScriptedAI(c)
+ mob_frenzied_worgenAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiMortalWoundTimer;
@@ -526,9 +526,9 @@ public:
struct mob_ferocious_rhinoAI : public ScriptedAI
{
- mob_ferocious_rhinoAI(Creature* c) : ScriptedAI(c)
+ mob_ferocious_rhinoAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiStompTimer;
@@ -646,9 +646,9 @@ public:
struct mob_massive_jormungarAI : public ScriptedAI
{
- mob_massive_jormungarAI(Creature* c) : ScriptedAI(c)
+ mob_massive_jormungarAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiAcidSpitTimer;
@@ -752,9 +752,9 @@ public:
struct mob_palehoof_orbAI : public ScriptedAI
{
- mob_palehoof_orbAI(Creature* c) : ScriptedAI(c)
+ mob_palehoof_orbAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
index 5ce26ab1467..093fa0be1a6 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
@@ -168,9 +168,9 @@ public:
struct boss_skadiAI : public ScriptedAI
{
- boss_skadiAI(Creature* c) : ScriptedAI(c), Summons(me)
+ boss_skadiAI(Creature* creature) : ScriptedAI(creature), Summons(me)
{
- m_instance = c->GetInstanceScript();
+ m_instance = creature->GetInstanceScript();
}
InstanceScript* m_instance;
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
index 0d8e22ff630..f9251c637ba 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
@@ -108,9 +108,9 @@ public:
struct boss_ymironAI : public ScriptedAI
{
- boss_ymironAI(Creature* c) : ScriptedAI(c)
+ boss_ymironAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
for (int i = 0; i < 4; ++i)
m_uiActiveOrder[i] = i;
for (int i = 0; i < 3; ++i)
diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp
index 162f59fa5b7..100f1fccac8 100644
--- a/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp
+++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp
@@ -125,7 +125,7 @@ class mob_frost_warder : public CreatureScript
struct mob_frost_warderAI : public ScriptedAI
{
- mob_frost_warderAI(Creature* c) : ScriptedAI(c) {}
+ mob_frost_warderAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
diff --git a/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp b/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp
index 74fc2505969..df33ffff01a 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp
@@ -57,9 +57,9 @@ public:
struct boss_cyanigosaAI : public ScriptedAI
{
- boss_cyanigosaAI(Creature* c) : ScriptedAI(c)
+ boss_cyanigosaAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiArcaneVacuumTimer;
diff --git a/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp b/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp
index 63f0cd39893..31902acfc46 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp
@@ -55,9 +55,9 @@ public:
struct boss_erekemAI : public ScriptedAI
{
- boss_erekemAI(Creature* c) : ScriptedAI(c)
+ boss_erekemAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiBloodlustTimer;
@@ -270,9 +270,9 @@ public:
struct mob_erekem_guardAI : public ScriptedAI
{
- mob_erekem_guardAI(Creature* c) : ScriptedAI(c)
+ mob_erekem_guardAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiGushingWoundTimer;
diff --git a/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp b/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp
index c5b2cb3c327..7a8254ad2b6 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp
@@ -41,9 +41,9 @@ public:
struct boss_lavanthorAI : public ScriptedAI
{
- boss_lavanthorAI(Creature* c) : ScriptedAI(c)
+ boss_lavanthorAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiFireboltTimer;
diff --git a/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp b/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp
index 84b04579681..1a70846e1b6 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp
@@ -37,9 +37,9 @@ public:
struct boss_moraggAI : public ScriptedAI
{
- boss_moraggAI(Creature* c) : ScriptedAI(c)
+ boss_moraggAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiOpticLinkTimer;
diff --git a/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp b/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp
index ff2009c2a17..4569741e459 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp
@@ -61,9 +61,9 @@ public:
struct boss_zuramatAI : public ScriptedAI
{
- boss_zuramatAI(Creature* c) : ScriptedAI(c)
+ boss_zuramatAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
index a0fe468a91b..0ca9ca84b57 100644
--- a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
+++ b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
@@ -426,9 +426,9 @@ public:
struct mob_azure_saboteurAI : public npc_escortAI
{
- mob_azure_saboteurAI(Creature* c):npc_escortAI(c)
+ mob_azure_saboteurAI(Creature* creature):npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
bHasGotMovingPoints = false;
uiBoss = 0;
Reset();
@@ -550,9 +550,9 @@ public:
struct npc_teleportation_portalAI : public ScriptedAI
{
- npc_teleportation_portalAI(Creature* c) : ScriptedAI(c), listOfMobs(me)
+ npc_teleportation_portalAI(Creature* creature) : ScriptedAI(creature), listOfMobs(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
uiTypeOfMobsPortal = urand(0, 1); // 0 - elite mobs 1 - portal guardian or portal keeper with regular mobs
bPortalGuardianOrKeeperOrEliteSpawn = false;
}
@@ -675,9 +675,9 @@ public:
struct violet_hold_trashAI : public npc_escortAI
{
- violet_hold_trashAI(Creature* c):npc_escortAI(c)
+ violet_hold_trashAI(Creature* creature):npc_escortAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
bHasGotMovingPoints = false;
if (instance)
portalLocationID = instance->GetData(DATA_PORTAL_LOCATION);
@@ -808,9 +808,9 @@ public:
struct mob_azure_invaderAI : public violet_hold_trashAI
{
- mob_azure_invaderAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_invaderAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiCleaveTimer;
@@ -886,9 +886,9 @@ public:
struct mob_azure_binderAI : public violet_hold_trashAI
{
- mob_azure_binderAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_binderAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiArcaneExplosionTimer;
@@ -964,9 +964,9 @@ public:
struct mob_azure_mage_slayerAI : public violet_hold_trashAI
{
- mob_azure_mage_slayerAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_mage_slayerAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiArcaneEmpowermentTimer;
@@ -1024,9 +1024,9 @@ public:
struct mob_azure_raiderAI : public violet_hold_trashAI
{
- mob_azure_raiderAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_raiderAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiConcussionBlowTimer;
@@ -1076,9 +1076,9 @@ public:
struct mob_azure_stalkerAI : public violet_hold_trashAI
{
- mob_azure_stalkerAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_stalkerAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiBackstabTimer;
uint32 uiTacticalBlinkTimer;
@@ -1135,9 +1135,9 @@ public:
struct mob_azure_spellbreakerAI : public violet_hold_trashAI
{
- mob_azure_spellbreakerAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_spellbreakerAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiArcaneBlastTimer;
@@ -1219,9 +1219,9 @@ public:
struct mob_azure_captainAI : public violet_hold_trashAI
{
- mob_azure_captainAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_captainAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiMortalStrikeTimer;
@@ -1271,9 +1271,9 @@ public:
struct mob_azure_sorcerorAI : public violet_hold_trashAI
{
- mob_azure_sorcerorAI(Creature* c) : violet_hold_trashAI(c)
+ mob_azure_sorcerorAI(Creature* creature) : violet_hold_trashAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 uiArcaneStreamTimer;
diff --git a/src/server/scripts/Northrend/borean_tundra.cpp b/src/server/scripts/Northrend/borean_tundra.cpp
index 3f0a85ce561..97155d8cd67 100644
--- a/src/server/scripts/Northrend/borean_tundra.cpp
+++ b/src/server/scripts/Northrend/borean_tundra.cpp
@@ -60,7 +60,7 @@ public:
struct npc_sinkhole_kill_creditAI : public ScriptedAI
{
- npc_sinkhole_kill_creditAI(Creature* c) : ScriptedAI(c){}
+ npc_sinkhole_kill_creditAI(Creature* creature) : ScriptedAI(creature){}
uint32 uiPhaseTimer;
uint8 Phase;
@@ -170,7 +170,7 @@ public:
struct npc_khunok_the_behemothAI : public ScriptedAI
{
- npc_khunok_the_behemothAI(Creature* c) : ScriptedAI(c) {}
+ npc_khunok_the_behemothAI(Creature* creature) : ScriptedAI(creature) {}
void MoveInLineOfSight(Unit* who)
{
@@ -350,7 +350,7 @@ public:
struct mob_nerubar_victimAI : public ScriptedAI
{
- mob_nerubar_victimAI(Creature* c) : ScriptedAI(c) {}
+ mob_nerubar_victimAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
@@ -575,7 +575,7 @@ public:
struct npc_nesingwary_trapperAI : public ScriptedAI
{
- npc_nesingwary_trapperAI(Creature* c) : ScriptedAI(c) { c->SetVisible(false); }
+ npc_nesingwary_trapperAI(Creature* creature) : ScriptedAI(creature) { creature->SetVisible(false); }
uint64 go_caribouGUID;
uint8 Phase;
@@ -1841,7 +1841,7 @@ public:
struct npc_mootoo_the_youngerAI : public npc_escortAI
{
- npc_mootoo_the_youngerAI(Creature* c) : npc_escortAI(c) {}
+ npc_mootoo_the_youngerAI(Creature* creature) : npc_escortAI(creature) {}
void Reset()
{
@@ -1926,7 +1926,7 @@ public:
struct npc_bonker_togglevoltAI : public npc_escortAI
{
- npc_bonker_togglevoltAI(Creature* c) : npc_escortAI(c) {}
+ npc_bonker_togglevoltAI(Creature* creature) : npc_escortAI(creature) {}
uint32 Bonker_agro;
void Reset()
@@ -2026,7 +2026,7 @@ public:
struct npc_trapped_mammoth_calfAI : public ScriptedAI
{
- npc_trapped_mammoth_calfAI(Creature* c) : ScriptedAI(c) {}
+ npc_trapped_mammoth_calfAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiTimer;
bool bStarted;
@@ -2114,7 +2114,7 @@ public:
struct npc_magmoth_crusherAI : public ScriptedAI
{
- npc_magmoth_crusherAI(Creature* c) : ScriptedAI(c) {}
+ npc_magmoth_crusherAI(Creature* creature) : ScriptedAI(creature) {}
void JustDied(Unit* killer)
{
@@ -2150,7 +2150,7 @@ public:
struct npc_seaforium_depth_chargeAI : public ScriptedAI
{
- npc_seaforium_depth_chargeAI(Creature* c) : ScriptedAI(c) {}
+ npc_seaforium_depth_chargeAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiExplosionTimer;
void Reset()
@@ -2203,7 +2203,7 @@ public:
struct npc_valiance_keep_cannoneerAI : public ScriptedAI
{
- npc_valiance_keep_cannoneerAI(Creature* c) : ScriptedAI(c) {}
+ npc_valiance_keep_cannoneerAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiTimer;
diff --git a/src/server/scripts/Northrend/grizzly_hills.cpp b/src/server/scripts/Northrend/grizzly_hills.cpp
index fdebe3b7ab1..7894d87df7c 100644
--- a/src/server/scripts/Northrend/grizzly_hills.cpp
+++ b/src/server/scripts/Northrend/grizzly_hills.cpp
@@ -233,7 +233,7 @@ public:
struct npc_mrfloppyAI : public ScriptedAI
{
- npc_mrfloppyAI(Creature* c) : ScriptedAI(c) {}
+ npc_mrfloppyAI(Creature* creature) : ScriptedAI(creature) {}
uint64 EmilyGUID;
uint64 RWORGGUID;
@@ -471,7 +471,7 @@ public:
struct npc_wounded_skirmisherAI : public ScriptedAI
{
- npc_wounded_skirmisherAI(Creature* c) : ScriptedAI(c) {}
+ npc_wounded_skirmisherAI(Creature* creature) : ScriptedAI(creature) {}
uint64 uiPlayerGUID;
diff --git a/src/server/scripts/Northrend/sholazar_basin.cpp b/src/server/scripts/Northrend/sholazar_basin.cpp
index d43cf6fb98f..5260ea33eb6 100644
--- a/src/server/scripts/Northrend/sholazar_basin.cpp
+++ b/src/server/scripts/Northrend/sholazar_basin.cpp
@@ -55,7 +55,7 @@ public:
struct npc_injured_rainspeaker_oracleAI : public npc_escortAI
{
- npc_injured_rainspeaker_oracleAI(Creature* c) : npc_escortAI(c) { c_guid = c->GetGUID(); }
+ npc_injured_rainspeaker_oracleAI(Creature* creature) : npc_escortAI(creature) { c_guid = creature->GetGUID(); }
uint64 c_guid;
diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPZM.h b/src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
index 2a11139a701..8d2124a3791 100755
--- a/src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
+++ b/src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
@@ -219,7 +219,7 @@ class OPvPCapturePointZM_GraveYard : public OPvPCapturePoint
bool HandleDropFlag(Player* player, uint32 spellId);
- bool CanTalkTo(Player* player, Creature* c, GossipMenuItems const& gso);
+ bool CanTalkTo(Player* player, Creature* creature, GossipMenuItems const& gso);
uint32 GetGraveYardState() const;
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 ef160a3a5c5..11725965d6d 100644
--- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
+++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
@@ -53,7 +53,7 @@ public:
struct mob_stolen_soulAI : public ScriptedAI
{
- mob_stolen_soulAI(Creature* c) : ScriptedAI(c) {}
+ mob_stolen_soulAI(Creature* creature) : ScriptedAI(creature) {}
uint8 myClass;
uint32 Class_Timer;
@@ -162,7 +162,7 @@ public:
struct boss_exarch_maladaarAI : public ScriptedAI
{
- boss_exarch_maladaarAI(Creature* c) : ScriptedAI(c)
+ boss_exarch_maladaarAI(Creature* creature) : ScriptedAI(creature)
{
HasTaunted = false;
}
@@ -319,7 +319,7 @@ public:
struct mob_avatar_of_martyredAI : public ScriptedAI
{
- mob_avatar_of_martyredAI(Creature* c) : ScriptedAI(c) {}
+ mob_avatar_of_martyredAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Mortal_Strike_timer;
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 d359917ab28..5fc912f2a01 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
@@ -52,7 +52,7 @@ public:
struct boss_shirrak_the_dead_watcherAI : public ScriptedAI
{
- boss_shirrak_the_dead_watcherAI(Creature* c) : ScriptedAI(c)
+ boss_shirrak_the_dead_watcherAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -170,7 +170,7 @@ public:
struct mob_focus_fireAI : public ScriptedAI
{
- mob_focus_fireAI(Creature* c) : ScriptedAI(c)
+ mob_focus_fireAI(Creature* creature) : ScriptedAI(creature)
{
}
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 aa63f1adf18..9fa0bedde68 100644
--- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp
+++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp
@@ -67,7 +67,7 @@ public:
struct boss_nexusprince_shaffarAI : public ScriptedAI
{
- boss_nexusprince_shaffarAI(Creature* c) : ScriptedAI(c), summons(me) { HasTaunted = false; }
+ boss_nexusprince_shaffarAI(Creature* creature) : ScriptedAI(creature), summons(me) { HasTaunted = false; }
uint32 Blink_Timer;
uint32 Beacon_Timer;
@@ -233,7 +233,7 @@ public:
struct mob_ethereal_beaconAI : public ScriptedAI
{
- mob_ethereal_beaconAI(Creature* c) : ScriptedAI(c)
+ mob_ethereal_beaconAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -325,7 +325,7 @@ public:
struct mob_ethereal_apprenticeAI : public ScriptedAI
{
- mob_ethereal_apprenticeAI(Creature* c) : ScriptedAI(c) {}
+ mob_ethereal_apprenticeAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Cast_Timer;
diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp
index d9ba99fcf24..2b4574ef6ac 100644
--- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp
+++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp
@@ -53,7 +53,7 @@ public:
struct boss_pandemoniusAI : public ScriptedAI
{
- boss_pandemoniusAI(Creature* c) : ScriptedAI(c)
+ boss_pandemoniusAI(Creature* creature) : ScriptedAI(creature)
{
}
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 2fd7498ea82..89bf5c6c342 100644
--- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
+++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
@@ -65,7 +65,7 @@ public:
struct boss_darkweaver_sythAI : public ScriptedAI
{
- boss_darkweaver_sythAI(Creature* c) : ScriptedAI(c)
+ boss_darkweaver_sythAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -206,7 +206,7 @@ public:
struct mob_syth_fireAI : public ScriptedAI
{
- mob_syth_fireAI(Creature* c) : ScriptedAI(c)
+ mob_syth_fireAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -265,7 +265,7 @@ public:
struct mob_syth_arcaneAI : public ScriptedAI
{
- mob_syth_arcaneAI(Creature* c) : ScriptedAI(c)
+ mob_syth_arcaneAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -319,7 +319,7 @@ public:
struct mob_syth_frostAI : public ScriptedAI
{
- mob_syth_frostAI(Creature* c) : ScriptedAI(c)
+ mob_syth_frostAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -374,7 +374,7 @@ public:
struct mob_syth_shadowAI : public ScriptedAI
{
- mob_syth_shadowAI(Creature* c) : ScriptedAI(c)
+ mob_syth_shadowAI(Creature* creature) : ScriptedAI(creature)
{
}
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 51271cdfe42..bfb9ee4e8cb 100644
--- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp
+++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp
@@ -64,9 +64,9 @@ public:
struct boss_talon_king_ikissAI : public ScriptedAI
{
- boss_talon_king_ikissAI(Creature* c) : ScriptedAI(c)
+ boss_talon_king_ikissAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
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 f7032d78bb6..0e1fe24f3d7 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
@@ -66,9 +66,9 @@ public:
struct boss_blackheart_the_inciterAI : public ScriptedAI
{
- boss_blackheart_the_inciterAI(Creature* c) : ScriptedAI(c)
+ boss_blackheart_the_inciterAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
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 81a7750d512..7e99b968b2d 100644
--- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp
+++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp
@@ -74,7 +74,7 @@ public:
struct mob_voidtravelerAI : public ScriptedAI
{
- mob_voidtravelerAI(Creature* c) : ScriptedAI(c)
+ mob_voidtravelerAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -147,9 +147,9 @@ public:
struct boss_grandmaster_vorpilAI : public ScriptedAI
{
- boss_grandmaster_vorpilAI(Creature* c) : ScriptedAI(c)
+ boss_grandmaster_vorpilAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
Intro = false;
}
diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp
index 5fd908c44e8..be4f3107d05 100644
--- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp
+++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp
@@ -48,7 +48,7 @@ public:
struct boss_murmurAI : public ScriptedAI
{
- boss_murmurAI(Creature* c) : ScriptedAI(c)
+ boss_murmurAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
diff --git a/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp b/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp
index 3227e685fc4..956b28f4c9b 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp
@@ -67,9 +67,9 @@ public:
struct boss_gurtogg_bloodboilAI : public ScriptedAI
{
- boss_gurtogg_bloodboilAI(Creature* c) : ScriptedAI(c)
+ boss_gurtogg_bloodboilAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
index 93b687d3f3d..7208fd97f90 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
@@ -379,7 +379,7 @@ public:
struct flame_of_azzinothAI : public ScriptedAI
{
- flame_of_azzinothAI(Creature* c) : ScriptedAI(c) {}
+ flame_of_azzinothAI(Creature* creature) : ScriptedAI(creature) {}
uint32 FlameBlastTimer;
uint32 CheckTimer;
@@ -471,9 +471,9 @@ public:
struct boss_illidan_stormrageAI : public ScriptedAI
{
- boss_illidan_stormrageAI(Creature* c) : ScriptedAI(c), Summons(me)
+ boss_illidan_stormrageAI(Creature* creature) : ScriptedAI(creature), Summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
DoCast(me, SPELL_DUAL_WIELD, true);
}
@@ -1157,7 +1157,7 @@ public:
struct boss_maievAI : public ScriptedAI
{
- boss_maievAI(Creature* c) : ScriptedAI(c) {};
+ boss_maievAI(Creature* creature) : ScriptedAI(creature) {};
uint64 IllidanGUID;
@@ -1372,9 +1372,9 @@ public:
struct npc_akama_illidanAI : public ScriptedAI
{
- npc_akama_illidanAI(Creature* c) : ScriptedAI(c)
+ npc_akama_illidanAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
JustCreated = true;
}
bool JustCreated;
@@ -2019,7 +2019,7 @@ public:
struct cage_trap_triggerAI : public ScriptedAI
{
- cage_trap_triggerAI(Creature* c) : ScriptedAI(c) {}
+ cage_trap_triggerAI(Creature* creature) : ScriptedAI(creature) {}
uint64 IllidanGUID;
uint32 DespawnTimer;
@@ -2117,7 +2117,7 @@ public:
struct shadow_demonAI : public ScriptedAI
{
- shadow_demonAI(Creature* c) : ScriptedAI(c) {}
+ shadow_demonAI(Creature* creature) : ScriptedAI(creature) {}
uint64 TargetGUID;
@@ -2192,9 +2192,9 @@ public:
// Shadowfiends interact with Illidan, setting more targets in Illidan's hashmap
struct mob_parasitic_shadowfiendAI : public ScriptedAI
{
- mob_parasitic_shadowfiendAI(Creature* c) : ScriptedAI(c)
+ mob_parasitic_shadowfiendAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp
index 3c7f0d3b89c..e9dd3e516b6 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp
@@ -90,9 +90,9 @@ public:
struct boss_shahrazAI : public ScriptedAI
{
- boss_shahrazAI(Creature* c) : ScriptedAI(c)
+ boss_shahrazAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
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 b0c29afda34..fc2d663951d 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp
@@ -113,7 +113,7 @@ public:
struct npc_enslaved_soulAI : public ScriptedAI
{
- npc_enslaved_soulAI(Creature* c) : ScriptedAI(c) {}
+ npc_enslaved_soulAI(Creature* creature) : ScriptedAI(creature) {}
uint64 ReliquaryGUID;
@@ -142,9 +142,9 @@ public:
struct boss_reliquary_of_soulsAI : public ScriptedAI
{
- boss_reliquary_of_soulsAI(Creature* c) : ScriptedAI(c)
+ boss_reliquary_of_soulsAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
EssenceGUID = 0;
}
@@ -379,7 +379,7 @@ public:
struct boss_essence_of_sufferingAI : public ScriptedAI
{
- boss_essence_of_sufferingAI(Creature* c) : ScriptedAI(c) {}
+ boss_essence_of_sufferingAI(Creature* creature) : ScriptedAI(creature) {}
uint64 StatAuraGUID;
@@ -504,7 +504,7 @@ public:
struct boss_essence_of_desireAI : public ScriptedAI
{
- boss_essence_of_desireAI(Creature* c) : ScriptedAI(c) {}
+ boss_essence_of_desireAI(Creature* creature) : ScriptedAI(creature) {}
uint32 RuneShieldTimer;
uint32 DeadenTimer;
@@ -607,7 +607,7 @@ public:
struct boss_essence_of_angerAI : public ScriptedAI
{
- boss_essence_of_angerAI(Creature* c) : ScriptedAI(c) {}
+ boss_essence_of_angerAI(Creature* creature) : ScriptedAI(creature) {}
uint64 AggroTargetGUID;
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 4ae41931bd4..88b1648219b 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
@@ -121,7 +121,7 @@ public:
struct mob_ashtongue_channelerAI : public ScriptedAI
{
- mob_ashtongue_channelerAI(Creature* c) : ScriptedAI(c) {ShadeGUID = 0;}
+ mob_ashtongue_channelerAI(Creature* creature) : ScriptedAI(creature) {ShadeGUID = 0;}
uint64 ShadeGUID;
@@ -147,7 +147,7 @@ public:
struct mob_ashtongue_sorcererAI : public ScriptedAI
{
- mob_ashtongue_sorcererAI(Creature* c) : ScriptedAI(c) {ShadeGUID = 0;}
+ mob_ashtongue_sorcererAI(Creature* creature) : ScriptedAI(creature) {ShadeGUID = 0;}
uint64 ShadeGUID;
uint32 CheckTimer;
@@ -202,9 +202,9 @@ public:
struct boss_shade_of_akamaAI : public ScriptedAI
{
- boss_shade_of_akamaAI(Creature* c) : ScriptedAI(c), summons(me)
+ boss_shade_of_akamaAI(Creature* creature) : ScriptedAI(creature), summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
AkamaGUID = instance ? instance->GetData64(DATA_AKAMA_SHADE) : 0;
me->setActive(true);//if view distance is too low
me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_MOD_TAUNT, true);
@@ -571,11 +571,11 @@ public:
struct npc_akamaAI : public ScriptedAI
{
- npc_akamaAI(Creature* c) : ScriptedAI(c), summons(me)
+ npc_akamaAI(Creature* creature) : ScriptedAI(creature), summons(me)
{
ShadeHasDied = false;
StartCombat = false;
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
if (instance)
ShadeGUID = instance->GetData64(DATA_SHADEOFAKAMA);
else
diff --git a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp
index 5a02ffc891f..6cd74dea985 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp
@@ -91,9 +91,9 @@ public:
struct boss_supremusAI : public ScriptedAI
{
- boss_supremusAI(Creature* c) : ScriptedAI(c), summons(me)
+ boss_supremusAI(Creature* creature) : ScriptedAI(creature), summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -263,7 +263,7 @@ public:
struct npc_volcanoAI : public Scripted_NoMovementAI
{
- npc_volcanoAI(Creature* c) : Scripted_NoMovementAI(c) {}
+ npc_volcanoAI(Creature* creature) : Scripted_NoMovementAI(creature) {}
void Reset()
{
diff --git a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp
index 278488eac9e..49323af0952 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp
@@ -63,7 +63,7 @@ public:
struct mob_doom_blossomAI : public ScriptedAI
{
- mob_doom_blossomAI(Creature* c) : ScriptedAI(c) {}
+ mob_doom_blossomAI(Creature* creature) : ScriptedAI(creature) {}
uint32 CheckTeronTimer;
uint32 ShadowBoltTimer;
@@ -129,7 +129,7 @@ public:
struct mob_shadowy_constructAI : public ScriptedAI
{
- mob_shadowy_constructAI(Creature* c) : ScriptedAI(c) {}
+ mob_shadowy_constructAI(Creature* creature) : ScriptedAI(creature) {}
uint64 GhostGUID;
uint64 TeronGUID;
@@ -219,9 +219,9 @@ public:
struct boss_teron_gorefiendAI : public ScriptedAI
{
- boss_teron_gorefiendAI(Creature* c) : ScriptedAI(c)
+ boss_teron_gorefiendAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp
index 47f82447a80..7d1c07ac91a 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp
@@ -72,9 +72,9 @@ public:
struct boss_najentusAI : public ScriptedAI
{
- boss_najentusAI(Creature* c) : ScriptedAI(c)
+ boss_najentusAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp
index b0c6dcdda41..c313a2138a6 100644
--- a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp
+++ b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp
@@ -122,7 +122,7 @@ public:
struct mob_blood_elf_council_voice_triggerAI : public ScriptedAI
{
- mob_blood_elf_council_voice_triggerAI(Creature* c) : ScriptedAI(c)
+ mob_blood_elf_council_voice_triggerAI(Creature* creature) : ScriptedAI(creature)
{
for (uint8 i = 0; i < 4; ++i)
Council[i] = 0;
@@ -217,9 +217,9 @@ public:
struct mob_illidari_councilAI : public ScriptedAI
{
- mob_illidari_councilAI(Creature* c) : ScriptedAI(c)
+ mob_illidari_councilAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
for (uint8 i = 0; i < 4; ++i)
Council[i] = 0;
}
@@ -378,9 +378,9 @@ public:
struct boss_illidari_councilAI : public ScriptedAI
{
- boss_illidari_councilAI(Creature* c) : ScriptedAI(c)
+ boss_illidari_councilAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
for (uint8 i = 0; i < 4; ++i)
Council[i] = 0;
LoadedGUIDs = false;
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 9edc7179d5e..287b5ff8a43 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp
@@ -107,9 +107,9 @@ public:
struct boss_fathomlord_karathressAI : public ScriptedAI
{
- boss_fathomlord_karathressAI(Creature* c) : ScriptedAI(c)
+ boss_fathomlord_karathressAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
Advisors[0] = 0;
Advisors[1] = 0;
Advisors[2] = 0;
@@ -317,9 +317,9 @@ public:
struct boss_fathomguard_sharkkisAI : public ScriptedAI
{
- boss_fathomguard_sharkkisAI(Creature* c) : ScriptedAI(c)
+ boss_fathomguard_sharkkisAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -471,9 +471,9 @@ public:
struct boss_fathomguard_tidalvessAI : public ScriptedAI
{
- boss_fathomguard_tidalvessAI(Creature* c) : ScriptedAI(c)
+ boss_fathomguard_tidalvessAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -598,9 +598,9 @@ public:
struct boss_fathomguard_caribdisAI : public ScriptedAI
{
- boss_fathomguard_caribdisAI(Creature* c) : ScriptedAI(c)
+ boss_fathomguard_caribdisAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
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 6f020c16402..11b3d147540 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
@@ -88,9 +88,9 @@ public:
struct boss_hydross_the_unstableAI : public ScriptedAI
{
- boss_hydross_the_unstableAI(Creature* c) : ScriptedAI(c), Summons(me)
+ boss_hydross_the_unstableAI(Creature* creature) : ScriptedAI(creature), Summons(me)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
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 2df9e0e65ba..505704bef51 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
@@ -143,12 +143,12 @@ public:
struct boss_lady_vashjAI : public ScriptedAI
{
- boss_lady_vashjAI (Creature* c) : ScriptedAI(c)
+ boss_lady_vashjAI (Creature* creature) : ScriptedAI(creature)
{
- Instance = c->GetInstanceScript();
+ Instance = creature->GetInstanceScript();
Intro = false;
JustCreated = true;
- c->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); // set it only once on Creature create (no need do intro if wiped)
+ creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); // set it only once on Creature create (no need do intro if wiped)
}
InstanceScript* Instance;
@@ -553,9 +553,9 @@ public:
struct mob_enchanted_elementalAI : public ScriptedAI
{
- mob_enchanted_elementalAI(Creature* c) : ScriptedAI(c)
+ mob_enchanted_elementalAI(Creature* creature) : ScriptedAI(creature)
{
- Instance = c->GetInstanceScript();
+ Instance = creature->GetInstanceScript();
}
InstanceScript* Instance;
@@ -647,9 +647,9 @@ public:
struct mob_tainted_elementalAI : public ScriptedAI
{
- mob_tainted_elementalAI(Creature* c) : ScriptedAI(c)
+ mob_tainted_elementalAI(Creature* creature) : ScriptedAI(creature)
{
- Instance = c->GetInstanceScript();
+ Instance = creature->GetInstanceScript();
}
InstanceScript* Instance;
@@ -716,9 +716,9 @@ public:
struct mob_toxic_sporebatAI : public ScriptedAI
{
- mob_toxic_sporebatAI(Creature* c) : ScriptedAI(c)
+ mob_toxic_sporebatAI(Creature* creature) : ScriptedAI(creature)
{
- Instance = c->GetInstanceScript();
+ Instance = creature->GetInstanceScript();
EnterEvadeMode();
}
@@ -812,9 +812,9 @@ public:
struct mob_shield_generator_channelAI : public ScriptedAI
{
- mob_shield_generator_channelAI(Creature* c) : ScriptedAI(c)
+ mob_shield_generator_channelAI(Creature* creature) : ScriptedAI(creature)
{
- Instance = c->GetInstanceScript();
+ Instance = creature->GetInstanceScript();
}
InstanceScript* Instance;
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 5111a8eaa8e..19d0cfbbc94 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
@@ -79,7 +79,7 @@ public:
struct mob_inner_demonAI : public ScriptedAI
{
- mob_inner_demonAI(Creature* c) : ScriptedAI(c)
+ mob_inner_demonAI(Creature* creature) : ScriptedAI(creature)
{
victimGUID = 0;
}
@@ -170,10 +170,10 @@ public:
struct boss_leotheras_the_blindAI : public ScriptedAI
{
- boss_leotheras_the_blindAI(Creature* c) : ScriptedAI(c)
+ boss_leotheras_the_blindAI(Creature* creature) : ScriptedAI(creature)
{
- c->GetPosition(x, y, z);
- instance = c->GetInstanceScript();
+ creature->GetPosition(x, y, z);
+ instance = creature->GetInstanceScript();
Demon = 0;
for (uint8 i = 0; i < 3; ++i)//clear guids
@@ -600,7 +600,7 @@ public:
struct boss_leotheras_the_blind_demonformAI : public ScriptedAI
{
- boss_leotheras_the_blind_demonformAI(Creature* c) : ScriptedAI(c) {}
+ boss_leotheras_the_blind_demonformAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ChaosBlast_Timer;
bool DealDamage;
@@ -673,9 +673,9 @@ public:
struct mob_greyheart_spellbinderAI : public ScriptedAI
{
- mob_greyheart_spellbinderAI(Creature* c) : ScriptedAI(c)
+ mob_greyheart_spellbinderAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
leotherasGUID = 0;
AddedBanish = false;
}
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 41a8b12dd51..7b08b2a4853 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
@@ -78,9 +78,9 @@ public:
struct boss_the_lurker_belowAI : public Scripted_NoMovementAI
{
- boss_the_lurker_belowAI(Creature* c) : Scripted_NoMovementAI(c), Summons(me)
+ boss_the_lurker_belowAI(Creature* creature) : Scripted_NoMovementAI(creature), Summons(me)
{
- Instance = c->GetInstanceScript();
+ Instance = creature->GetInstanceScript();
}
InstanceScript* Instance;
@@ -368,7 +368,7 @@ public:
struct mob_coilfang_ambusherAI : public Scripted_NoMovementAI
{
- mob_coilfang_ambusherAI(Creature* c) : Scripted_NoMovementAI(c)
+ mob_coilfang_ambusherAI(Creature* creature) : Scripted_NoMovementAI(creature)
{
}
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 eeef50e3f9c..e1147f9c18f 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp
@@ -89,9 +89,9 @@ public:
struct boss_morogrim_tidewalkerAI : public ScriptedAI
{
- boss_morogrim_tidewalkerAI(Creature* c) : ScriptedAI(c)
+ boss_morogrim_tidewalkerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -296,7 +296,7 @@ public:
struct mob_water_globuleAI : public ScriptedAI
{
- mob_water_globuleAI(Creature* c) : ScriptedAI(c) {}
+ mob_water_globuleAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Check_Timer;
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 c3203621dbb..383f1467566 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
@@ -58,9 +58,9 @@ public:
struct boss_thespiaAI : public ScriptedAI
{
- boss_thespiaAI(Creature* c) : ScriptedAI(c)
+ boss_thespiaAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -158,7 +158,7 @@ public:
struct mob_coilfang_waterelementalAI : public ScriptedAI
{
- mob_coilfang_waterelementalAI(Creature* c) : ScriptedAI(c) {}
+ mob_coilfang_waterelementalAI(Creature* creature) : ScriptedAI(creature) {}
uint32 WaterBoltVolley_Timer;
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 ce73e467c0c..b27bbe36dc5 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp
@@ -60,9 +60,9 @@ public:
struct boss_mekgineer_steamriggerAI : public ScriptedAI
{
- boss_mekgineer_steamriggerAI(Creature* c) : ScriptedAI(c)
+ boss_mekgineer_steamriggerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -204,9 +204,9 @@ public:
struct mob_steamrigger_mechanicAI : public ScriptedAI
{
- mob_steamrigger_mechanicAI(Creature* c) : ScriptedAI(c)
+ mob_steamrigger_mechanicAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
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 bfbeff81d3e..8c700313ca5 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp
@@ -54,9 +54,9 @@ public:
struct mob_naga_distillerAI : public ScriptedAI
{
- mob_naga_distillerAI(Creature* c) : ScriptedAI(c)
+ mob_naga_distillerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -112,9 +112,9 @@ public:
struct boss_warlord_kalithreshAI : public ScriptedAI
{
- boss_warlord_kalithreshAI(Creature* c) : ScriptedAI(c)
+ boss_warlord_kalithreshAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
diff --git a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp
index aebd71bbd47..42d617992ed 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp
@@ -40,7 +40,7 @@ public:
struct boss_hungarfenAI : public ScriptedAI
{
- boss_hungarfenAI(Creature* c) : ScriptedAI(c)
+ boss_hungarfenAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -112,7 +112,7 @@ public:
struct mob_underbog_mushroomAI : public ScriptedAI
{
- mob_underbog_mushroomAI(Creature* c) : ScriptedAI(c) {}
+ mob_underbog_mushroomAI(Creature* creature) : ScriptedAI(creature) {}
bool Stop;
uint32 Grow_Timer;
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 fb3be660b5e..c76be6bbb5f 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
@@ -47,7 +47,7 @@ public:
struct boss_the_black_stalkerAI : public ScriptedAI
{
- boss_the_black_stalkerAI(Creature* c) : ScriptedAI(c)
+ boss_the_black_stalkerAI(Creature* creature) : ScriptedAI(creature)
{
}
diff --git a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp
index b7604c41794..895ea71f139 100644
--- a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp
+++ b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp
@@ -66,9 +66,9 @@ public:
struct boss_gruulAI : public ScriptedAI
{
- boss_gruulAI(Creature* c) : ScriptedAI(c)
+ boss_gruulAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
InstanceScript* instance;
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 4636334e668..ee8e64029f9 100644
--- a/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp
+++ b/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp
@@ -118,9 +118,9 @@ public:
struct boss_high_king_maulgarAI : public ScriptedAI
{
- boss_high_king_maulgarAI(Creature* c) : ScriptedAI(c)
+ boss_high_king_maulgarAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
for (uint8 i = 0; i < 4; ++i)
Council[i] = 0;
}
@@ -317,9 +317,9 @@ public:
struct boss_olm_the_summonerAI : public ScriptedAI
{
- boss_olm_the_summonerAI(Creature* c) : ScriptedAI(c)
+ boss_olm_the_summonerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 DarkDecay_Timer;
@@ -445,9 +445,9 @@ public:
struct boss_kiggler_the_crazedAI : public ScriptedAI
{
- boss_kiggler_the_crazedAI(Creature* c) : ScriptedAI(c)
+ boss_kiggler_the_crazedAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 GreaterPolymorph_Timer;
@@ -567,9 +567,9 @@ public:
struct boss_blindeye_the_seerAI : public ScriptedAI
{
- boss_blindeye_the_seerAI(Creature* c) : ScriptedAI(c)
+ boss_blindeye_the_seerAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 GreaterPowerWordShield_Timer;
@@ -677,9 +677,9 @@ public:
struct boss_krosh_firehandAI : public ScriptedAI
{
- boss_krosh_firehandAI(Creature* c) : ScriptedAI(c)
+ boss_krosh_firehandAI(Creature* creature) : ScriptedAI(creature)
{
- instance = c->GetInstanceScript();
+ instance = creature->GetInstanceScript();
}
uint32 GreaterFireball_Timer;
diff --git a/src/server/scripts/Outland/blades_edge_mountains.cpp b/src/server/scripts/Outland/blades_edge_mountains.cpp
index f46f7f1d745..2d4e870629f 100644
--- a/src/server/scripts/Outland/blades_edge_mountains.cpp
+++ b/src/server/scripts/Outland/blades_edge_mountains.cpp
@@ -61,7 +61,7 @@ public:
struct mobs_bladespire_ogreAI : public ScriptedAI
{
- mobs_bladespire_ogreAI(Creature* c) : ScriptedAI(c) {}
+ mobs_bladespire_ogreAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
@@ -112,7 +112,7 @@ public:
struct mobs_nether_drakeAI : public ScriptedAI
{
- mobs_nether_drakeAI(Creature* c) : ScriptedAI(c) {}
+ mobs_nether_drakeAI(Creature* creature) : ScriptedAI(creature) {}
bool IsNihil;
uint32 NihilSpeech_Timer;
@@ -276,7 +276,7 @@ public:
struct npc_daranelleAI : public ScriptedAI
{
- npc_daranelleAI(Creature* c) : ScriptedAI(c) {}
+ npc_daranelleAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
diff --git a/src/server/scripts/Outland/hellfire_peninsula.cpp b/src/server/scripts/Outland/hellfire_peninsula.cpp
index 707dfd65135..75a402a5338 100644
--- a/src/server/scripts/Outland/hellfire_peninsula.cpp
+++ b/src/server/scripts/Outland/hellfire_peninsula.cpp
@@ -66,7 +66,7 @@ public:
struct npc_aeranasAI : public ScriptedAI
{
- npc_aeranasAI(Creature* c) : ScriptedAI(c) {}
+ npc_aeranasAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Faction_Timer;
uint32 EnvelopingWinds_Timer;
@@ -400,7 +400,7 @@ public:
struct npc_wounded_blood_elfAI : public npc_escortAI
{
- npc_wounded_blood_elfAI(Creature* c) : npc_escortAI(c) {}
+ npc_wounded_blood_elfAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp
index 5d1a77953a7..d53bb4c24a4 100644
--- a/src/server/scripts/Outland/nagrand.cpp
+++ b/src/server/scripts/Outland/nagrand.cpp
@@ -330,7 +330,7 @@ public:
struct npc_creditmarker_visit_with_ancestorsAI : public ScriptedAI
{
- npc_creditmarker_visit_with_ancestorsAI(Creature* c) : ScriptedAI(c) {}
+ npc_creditmarker_visit_with_ancestorsAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
diff --git a/src/server/scripts/Outland/netherstorm.cpp b/src/server/scripts/Outland/netherstorm.cpp
index d28a1f23795..8b24d94169b 100644
--- a/src/server/scripts/Outland/netherstorm.cpp
+++ b/src/server/scripts/Outland/netherstorm.cpp
@@ -78,7 +78,7 @@ public:
struct npc_manaforge_control_consoleAI : public ScriptedAI
{
- npc_manaforge_control_consoleAI(Creature* c) : ScriptedAI(c) {}
+ npc_manaforge_control_consoleAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Event_Timer;
uint32 Wave_Timer;
@@ -394,7 +394,7 @@ public:
struct npc_commander_dawnforgeAI : public ScriptedAI
{
- npc_commander_dawnforgeAI(Creature* c) : ScriptedAI(c) { Reset (); }
+ npc_commander_dawnforgeAI(Creature* creature) : ScriptedAI(creature) { Reset (); }
uint64 PlayerGUID;
uint64 ardonisGUID;
@@ -745,7 +745,7 @@ public:
struct mob_phase_hunterAI : public ScriptedAI
{
- mob_phase_hunterAI(Creature* c) : ScriptedAI(c) {}
+ mob_phase_hunterAI(Creature* creature) : ScriptedAI(creature) {}
bool Weak;
bool Materialize;
@@ -882,7 +882,7 @@ public:
struct npc_bessyAI : public npc_escortAI
{
- npc_bessyAI(Creature* c) : npc_escortAI(c) {}
+ npc_bessyAI(Creature* creature) : npc_escortAI(creature) {}
void JustDied(Unit* /*killer*/)
{
diff --git a/src/server/scripts/Outland/shadowmoon_valley.cpp b/src/server/scripts/Outland/shadowmoon_valley.cpp
index be0166b6d19..94e71e55a67 100644
--- a/src/server/scripts/Outland/shadowmoon_valley.cpp
+++ b/src/server/scripts/Outland/shadowmoon_valley.cpp
@@ -75,7 +75,7 @@ public:
struct mob_mature_netherwing_drakeAI : public ScriptedAI
{
- mob_mature_netherwing_drakeAI(Creature* c) : ScriptedAI(c) { }
+ mob_mature_netherwing_drakeAI(Creature* creature) : ScriptedAI(creature) { }
uint64 uiPlayerGUID;
@@ -206,7 +206,7 @@ public:
struct mob_enslaved_netherwing_drakeAI : public ScriptedAI
{
- mob_enslaved_netherwing_drakeAI(Creature* c) : ScriptedAI(c)
+ mob_enslaved_netherwing_drakeAI(Creature* creature) : ScriptedAI(creature)
{
PlayerGUID = 0;
Tapped = false;
@@ -338,7 +338,7 @@ public:
struct mob_dragonmaw_peonAI : public ScriptedAI
{
- mob_dragonmaw_peonAI(Creature* c) : ScriptedAI(c) {}
+ mob_dragonmaw_peonAI(Creature* creature) : ScriptedAI(creature) {}
uint64 PlayerGUID;
bool Tapped;
@@ -714,7 +714,7 @@ public:
struct npc_overlord_morghorAI : public ScriptedAI
{
- npc_overlord_morghorAI(Creature* c) : ScriptedAI(c) {}
+ npc_overlord_morghorAI(Creature* creature) : ScriptedAI(creature) {}
uint64 PlayerGUID;
uint64 IllidanGUID;
@@ -1167,7 +1167,7 @@ public:
struct mob_torloth_the_magnificentAI : public ScriptedAI
{
- mob_torloth_the_magnificentAI(Creature* c) : ScriptedAI(c) {}
+ mob_torloth_the_magnificentAI(Creature* creature) : ScriptedAI(creature) {}
uint32 AnimationTimer, SpellTimer1, SpellTimer2, SpellTimer3;
@@ -1329,7 +1329,7 @@ public:
struct npc_lord_illidan_stormrageAI : public ScriptedAI
{
- npc_lord_illidan_stormrageAI(Creature* c) : ScriptedAI(c) {}
+ npc_lord_illidan_stormrageAI(Creature* creature) : ScriptedAI(creature) {}
uint64 PlayerGUID;
@@ -1474,7 +1474,7 @@ public:
struct mob_illidari_spawnAI : public ScriptedAI
{
- mob_illidari_spawnAI(Creature* c) : ScriptedAI(c) {}
+ mob_illidari_spawnAI(Creature* creature) : ScriptedAI(creature) {}
uint64 LordIllidanGUID;
uint32 SpellTimer1, SpellTimer2, SpellTimer3;
@@ -1725,7 +1725,7 @@ public:
struct npc_enraged_spiritAI : public ScriptedAI
{
- npc_enraged_spiritAI(Creature* c) : ScriptedAI(c) {}
+ npc_enraged_spiritAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
diff --git a/src/server/scripts/Outland/shattrath_city.cpp b/src/server/scripts/Outland/shattrath_city.cpp
index 2421af6af75..f5d725364c0 100644
--- a/src/server/scripts/Outland/shattrath_city.cpp
+++ b/src/server/scripts/Outland/shattrath_city.cpp
@@ -83,9 +83,9 @@ public:
struct npc_raliq_the_drunkAI : public ScriptedAI
{
- npc_raliq_the_drunkAI(Creature* c) : ScriptedAI(c)
+ npc_raliq_the_drunkAI(Creature* creature) : ScriptedAI(creature)
{
- m_uiNormFaction = c->getFaction();
+ m_uiNormFaction = creature->getFaction();
}
uint32 m_uiNormFaction;
@@ -151,7 +151,7 @@ public:
struct npc_salsalabimAI : public ScriptedAI
{
- npc_salsalabimAI(Creature* c) : ScriptedAI(c) {}
+ npc_salsalabimAI(Creature* creature) : ScriptedAI(creature) {}
uint32 MagneticPull_Timer;
@@ -317,7 +317,7 @@ public:
struct npc_kservantAI : public npc_escortAI
{
public:
- npc_kservantAI(Creature* c) : npc_escortAI(c) {}
+ npc_kservantAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
@@ -402,7 +402,7 @@ public:
struct npc_dirty_larryAI : public ScriptedAI
{
- npc_dirty_larryAI(Creature* c) : ScriptedAI(c) {}
+ npc_dirty_larryAI(Creature* creature) : ScriptedAI(creature) {}
bool Event;
bool Attack;
diff --git a/src/server/scripts/Outland/terokkar_forest.cpp b/src/server/scripts/Outland/terokkar_forest.cpp
index bcb5f9f4da1..67852e9be84 100644
--- a/src/server/scripts/Outland/terokkar_forest.cpp
+++ b/src/server/scripts/Outland/terokkar_forest.cpp
@@ -62,7 +62,7 @@ public:
struct mob_unkor_the_ruthlessAI : public ScriptedAI
{
- mob_unkor_the_ruthlessAI(Creature* c) : ScriptedAI(c) {}
+ mob_unkor_the_ruthlessAI(Creature* creature) : ScriptedAI(creature) {}
bool CanDoQuest;
uint32 UnkorUnfriendly_Timer;
@@ -168,7 +168,7 @@ public:
struct mob_infested_root_walkerAI : public ScriptedAI
{
- mob_infested_root_walkerAI(Creature* c) : ScriptedAI(c) {}
+ mob_infested_root_walkerAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
void EnterCombat(Unit* /*who*/) { }
@@ -200,7 +200,7 @@ public:
struct npc_skywingAI : public npc_escortAI
{
public:
- npc_skywingAI(Creature* c) : npc_escortAI(c) {}
+ npc_skywingAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
@@ -261,7 +261,7 @@ public:
struct mob_rotting_forest_ragerAI : public ScriptedAI
{
- mob_rotting_forest_ragerAI(Creature* c) : ScriptedAI(c) {}
+ mob_rotting_forest_ragerAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
void EnterCombat(Unit* /*who*/) { }
@@ -300,7 +300,7 @@ public:
struct mob_netherweb_victimAI : public ScriptedAI
{
- mob_netherweb_victimAI(Creature* c) : ScriptedAI(c) {}
+ mob_netherweb_victimAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
void EnterCombat(Unit* /*who*/) { }
@@ -387,9 +387,9 @@ public:
struct npc_floonAI : public ScriptedAI
{
- npc_floonAI(Creature* c) : ScriptedAI(c)
+ npc_floonAI(Creature* creature) : ScriptedAI(creature)
{
- m_uiNormFaction = c->getFaction();
+ m_uiNormFaction = creature->getFaction();
}
uint32 m_uiNormFaction;
@@ -459,7 +459,7 @@ public:
struct npc_isla_starmaneAI : public npc_escortAI
{
- npc_isla_starmaneAI(Creature* c) : npc_escortAI(c) {}
+ npc_isla_starmaneAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
@@ -660,7 +660,7 @@ public:
struct npc_akunoAI : public npc_escortAI
{
- npc_akunoAI(Creature* c) : npc_escortAI(c) {}
+ npc_akunoAI(Creature* creature) : npc_escortAI(creature) {}
void WaypointReached(uint32 i)
{
diff --git a/src/server/scripts/Outland/zangarmarsh.cpp b/src/server/scripts/Outland/zangarmarsh.cpp
index 6d8a47c693e..296c95dcbd7 100644
--- a/src/server/scripts/Outland/zangarmarsh.cpp
+++ b/src/server/scripts/Outland/zangarmarsh.cpp
@@ -149,9 +149,9 @@ public:
struct npc_cooshcooshAI : public ScriptedAI
{
- npc_cooshcooshAI(Creature* c) : ScriptedAI(c)
+ npc_cooshcooshAI(Creature* creature) : ScriptedAI(creature)
{
- m_uiNormFaction = c->getFaction();
+ m_uiNormFaction = creature->getFaction();
}
uint32 m_uiNormFaction;
@@ -317,7 +317,7 @@ public:
struct npc_kayra_longmaneAI : public npc_escortAI
{
- npc_kayra_longmaneAI(Creature* c) : npc_escortAI(c) {}
+ npc_kayra_longmaneAI(Creature* creature) : npc_escortAI(creature) {}
void Reset() { }
diff --git a/src/server/scripts/World/mob_generic_creature.cpp b/src/server/scripts/World/mob_generic_creature.cpp
index ce8b0a2de14..6970d5ae367 100644
--- a/src/server/scripts/World/mob_generic_creature.cpp
+++ b/src/server/scripts/World/mob_generic_creature.cpp
@@ -34,7 +34,7 @@ public:
struct generic_creatureAI : public ScriptedAI
{
- generic_creatureAI(Creature* c) : ScriptedAI(c) {}
+ generic_creatureAI(Creature* creature) : ScriptedAI(creature) {}
uint32 GlobalCooldown; //This variable acts like the global cooldown that players have (1.5 seconds)
uint32 BuffTimer; //This variable keeps track of buffs
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
index 67b04dab29d..046890b498d 100644
--- a/src/server/scripts/World/npcs_special.cpp
+++ b/src/server/scripts/World/npcs_special.cpp
@@ -315,7 +315,7 @@ public:
struct npc_chicken_cluckAI : public ScriptedAI
{
- npc_chicken_cluckAI(Creature* c) : ScriptedAI(c) {}
+ npc_chicken_cluckAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ResetFlagTimer;
@@ -407,7 +407,7 @@ public:
struct npc_dancing_flamesAI : public ScriptedAI
{
- npc_dancing_flamesAI(Creature* c) : ScriptedAI(c) {}
+ npc_dancing_flamesAI(Creature* creature) : ScriptedAI(creature) {}
bool Active;
uint32 CanIteract;
@@ -558,7 +558,7 @@ public:
struct npc_doctorAI : public ScriptedAI
{
- npc_doctorAI(Creature* c) : ScriptedAI(c) {}
+ npc_doctorAI(Creature* creature) : ScriptedAI(creature) {}
uint64 PlayerGUID;
@@ -703,7 +703,7 @@ public:
struct npc_injured_patientAI : public ScriptedAI
{
- npc_injured_patientAI(Creature* c) : ScriptedAI(c) {}
+ npc_injured_patientAI(Creature* creature) : ScriptedAI(creature) {}
uint64 DoctorGUID;
Location* Coord;
@@ -905,7 +905,7 @@ public:
struct npc_garments_of_questsAI : public npc_escortAI
{
- npc_garments_of_questsAI(Creature* c) : npc_escortAI(c) {Reset();}
+ npc_garments_of_questsAI(Creature* creature) : npc_escortAI(creature) {Reset();}
uint64 CasterGUID;
@@ -1105,7 +1105,7 @@ public:
struct npc_guardianAI : public ScriptedAI
{
- npc_guardianAI(Creature* c) : ScriptedAI(c) {}
+ npc_guardianAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
@@ -1477,7 +1477,7 @@ public:
struct npc_steam_tonkAI : public ScriptedAI
{
- npc_steam_tonkAI(Creature* c) : ScriptedAI(c) {}
+ npc_steam_tonkAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
@@ -1512,7 +1512,7 @@ public:
struct npc_tonk_mineAI : public ScriptedAI
{
- npc_tonk_mineAI(Creature* c) : ScriptedAI(c)
+ npc_tonk_mineAI(Creature* creature) : ScriptedAI(creature)
{
me->SetReactState(REACT_PASSIVE);
}
@@ -1557,7 +1557,7 @@ public:
struct npc_brewfest_revelerAI : public ScriptedAI
{
- npc_brewfest_revelerAI(Creature* c) : ScriptedAI(c) {}
+ npc_brewfest_revelerAI(Creature* creature) : ScriptedAI(creature) {}
void ReceiveEmote(Player* player, uint32 emote)
{
if (!IsHolidayActive(HOLIDAY_BREWFEST))
@@ -1593,7 +1593,7 @@ class npc_winter_reveler : public CreatureScript
struct npc_winter_revelerAI : public ScriptedAI
{
- npc_winter_revelerAI(Creature* c) : ScriptedAI(c) {}
+ npc_winter_revelerAI(Creature* creature) : ScriptedAI(creature) {}
void ReceiveEmote(Player* player, uint32 emote)
{
@@ -1638,7 +1638,7 @@ public:
struct npc_snake_trap_serpentsAI : public ScriptedAI
{
- npc_snake_trap_serpentsAI(Creature* c) : ScriptedAI(c) {}
+ npc_snake_trap_serpentsAI(Creature* creature) : ScriptedAI(creature) {}
uint32 SpellTimer;
bool IsViper;
@@ -1752,7 +1752,7 @@ public:
struct mob_mojoAI : public ScriptedAI
{
- mob_mojoAI(Creature* c) : ScriptedAI(c) {Reset();}
+ mob_mojoAI(Creature* creature) : ScriptedAI(creature) {Reset();}
uint32 hearts;
uint64 victimGUID;
void Reset()
@@ -3028,7 +3028,7 @@ public:
struct npc_spring_rabbitAI : public ScriptedAI
{
- npc_spring_rabbitAI(Creature* c) : ScriptedAI(c) { }
+ npc_spring_rabbitAI(Creature* creature) : ScriptedAI(creature) { }
bool inLove;
uint32 jumpTimer;