From cb7668ab5af4bcec48dee407a53424b87f12c081 Mon Sep 17 00:00:00 2001 From: Trisjdc Date: Wed, 7 May 2014 11:58:08 +0100 Subject: [PATCH 01/27] Core/Spells: Replace MovePosition by MovePositionToFirstCollision in spell dest target handling. - Solves issues such as being able to summon creatures inside terrain/gameobjects, being able to fall through terrain by using Shadowstep/Feral Charge (Cat), and much more --- src/server/game/Spells/Spell.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 7c6f2552b44ad..22e14f1cc5ece 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -1288,10 +1288,7 @@ void Spell::SelectImplicitCasterDestTargets(SpellEffIndex effIndex, SpellImplici dist = objSize + (dist - objSize) * float(rand_norm()); Position pos = dest._position; - if (targetType.GetTarget() == TARGET_DEST_CASTER_FRONT_LEAP) - m_caster->MovePositionToFirstCollision(pos, dist, angle); - else - m_caster->MovePosition(pos, dist, angle); + m_caster->MovePositionToFirstCollision(pos, dist, angle); dest.Relocate(pos); break; @@ -1324,7 +1321,7 @@ void Spell::SelectImplicitTargetDestTargets(SpellEffIndex effIndex, SpellImplici dist = objSize + (dist - objSize) * float(rand_norm()); Position pos = dest._position; - target->MovePosition(pos, dist, angle); + target->MovePositionToFirstCollision(pos, dist, angle); dest.Relocate(pos); break; @@ -1363,7 +1360,7 @@ void Spell::SelectImplicitDestDestTargets(SpellEffIndex effIndex, SpellImplicitT dist *= float(rand_norm()); Position pos = dest._position; - m_caster->MovePosition(pos, dist, angle); + m_caster->MovePositionToFirstCollision(pos, dist, angle); dest.Relocate(pos); break; From dcc64f4c69e400f16cf0cb81a851482a026b5201 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 13 May 2014 11:36:19 +0200 Subject: [PATCH 02/27] DB/Conditions: Fix startup error added on 018da66 --- sql/updates/world/2014_05_13_00_world_conditions.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/2014_05_13_00_world_conditions.sql diff --git a/sql/updates/world/2014_05_13_00_world_conditions.sql b/sql/updates/world/2014_05_13_00_world_conditions.sql new file mode 100644 index 0000000000000..75fd2e1a9505a --- /dev/null +++ b/sql/updates/world/2014_05_13_00_world_conditions.sql @@ -0,0 +1,2 @@ +-- +UPDATE `conditions` SET `SourceEntry`=46763 WHERE `SourceEntry`=46753; From 593fb9b68a85bc7c807ec13472a7fb66cc463547 Mon Sep 17 00:00:00 2001 From: Trisjdc Date: Tue, 13 May 2014 11:32:56 +0100 Subject: [PATCH 03/27] Scripts/SWP: Sathrovarr will no longer cause player teleports on grid load --- .../SunwellPlateau/boss_kalecgos.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp index 5562559786d25..28bb24f49a923 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp @@ -679,13 +679,16 @@ class boss_sathrovarr : public CreatureScript if (!map->IsDungeon()) return; - Map::PlayerList const &PlayerList = map->GetPlayers(); - for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i) + Map::PlayerList const &playerList = map->GetPlayers(); + Position homePos = me->GetHomePosition(); + for (Map::PlayerList::const_iterator itr = playerList.begin(); itr != playerList.end(); ++itr) { - if (i->GetSource()->GetPositionZ() <= DRAGON_REALM_Z-5) + Player* player = itr->GetSource(); + if (player->IsInDist(&homePos, 50.0f) && player->GetPositionZ() <= DEMON_REALM_Z + 10.f) { - i->GetSource()->RemoveAura(AURA_SPECTRAL_REALM); - i->GetSource()->TeleportTo(me->GetMap()->GetId(), i->GetSource()->GetPositionX(), i->GetSource()->GetPositionY(), DRAGON_REALM_Z+5, i->GetSource()->GetOrientation()); + player->RemoveAura(AURA_SPECTRAL_REALM); + player->TeleportTo(me->GetMap()->GetId(), player->GetPositionX(), + player->GetPositionY(), DRAGON_REALM_Z + 5, player->GetOrientation()); } } } From 9d760098a5a1bf5203fce8e3ba7b462a7885ee75 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Wed, 14 May 2014 22:07:20 +0200 Subject: [PATCH 04/27] Core/Misc: Fix crash in ticket creation Fix a crash happening with malicious CMSG_GMTICKET_CREATE packets. --- src/server/game/Tickets/TicketMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Tickets/TicketMgr.cpp b/src/server/game/Tickets/TicketMgr.cpp index b9ecfffb8c345..71d51153b4c68 100644 --- a/src/server/game/Tickets/TicketMgr.cpp +++ b/src/server/game/Tickets/TicketMgr.cpp @@ -233,7 +233,7 @@ void GmTicket::SetChatLog(std::list time, std::string const& log) std::stringstream ss(log); std::stringstream newss; std::string line; - while (std::getline(ss, line)) + while (std::getline(ss, line) && !time.empty()) { newss << secsToTimeString(time.front()) << ": " << line << "\n"; time.pop_front(); From 50336af1c74d188d1afd1911ca5886c547c83374 Mon Sep 17 00:00:00 2001 From: Trisjdc Date: Thu, 15 May 2014 17:05:02 +0100 Subject: [PATCH 05/27] Core/SAI: Prevent nullifying damage, because of player damage requirements --- src/server/game/AI/SmartScripts/SmartAI.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index 098f3130fed3b..e769b7c22a562 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -618,10 +618,7 @@ void SmartAI::DamageTaken(Unit* doneBy, uint32& damage) { GetScript()->ProcessEventsFor(SMART_EVENT_DAMAGED, doneBy, damage); if (mInvincibilityHpLevel && (damage >= me->GetHealth() - mInvincibilityHpLevel)) - { - damage = 0; - me->SetHealth(mInvincibilityHpLevel); - } + damage = me->GetHealth() - mInvincibilityHpLevel; // damage should not be nullified, because of player damage req. } void SmartAI::HealReceived(Unit* doneBy, uint32& addhealth) From f296095191c7b5c6b10f79c2b1433dc227a462f5 Mon Sep 17 00:00:00 2001 From: Praetonus Date: Wed, 14 May 2014 16:42:34 +0200 Subject: [PATCH 06/27] Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic. -Fix warnings from -Woverflow on implicit constant conversion. -Fix warnings from -pedantic. -Fix warnings from -pedantic. -Fix warnings from -Wformat. Two minor changes in addition : -Replace a defined value equal to 2^31 - 1 by std::numeric_limits::max(). -Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc. --- dep/g3dlite/include/G3D/debugAssert.h | 2 +- .../authserver/Authentication/AuthCodes.cpp | 2 +- .../authserver/Authentication/AuthCodes.h | 2 +- src/server/game/Entities/Player/Player.cpp | 2 +- src/server/game/Entities/Player/Player.h | 4 +- src/server/game/Guilds/Guild.cpp | 8 +- src/server/game/Handlers/TradeHandler.cpp | 4 +- src/server/game/Instances/InstanceScript.h | 4 +- src/server/scripts/Commands/cs_modify.cpp | 7 +- .../AlteracValley/boss_balinda.cpp | 2 +- .../BlackwingLair/boss_razorgore.cpp | 2 +- .../EasternKingdoms/Karazhan/bosses_opera.cpp | 2 +- .../Scholomance/boss_darkmaster_gandling.cpp | 4 +- .../ShadowfangKeep/shadowfang_keep.cpp | 2 +- .../EasternKingdoms/ZulAman/boss_hexlord.cpp | 2 +- .../EasternKingdoms/ZulAman/zulaman.cpp | 2 +- .../ZulGurub/boss_mandokir.cpp | 2 +- .../EasternKingdoms/zone_blasted_lands.cpp | 2 +- src/server/scripts/Examples/example_spell.cpp | 10 +- .../BattleForMountHyjal/boss_kazrogal.cpp | 4 +- .../Kalimdor/RazorfenKraul/razorfen_kraul.cpp | 2 +- .../Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp | 2 +- .../Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp | 2 +- src/server/scripts/Kalimdor/boss_azuregos.cpp | 2 +- .../Kalimdor/zone_dustwallow_marsh.cpp | 6 +- src/server/scripts/Kalimdor/zone_feralas.cpp | 2 +- src/server/scripts/Kalimdor/zone_silithus.cpp | 2 +- .../AzjolNerub/Ahnkahet/boss_elder_nadox.cpp | 2 +- .../Ahnkahet/boss_prince_taldaram.cpp | 4 +- .../boss_baltharus_the_warborn.cpp | 2 +- .../RubySanctum/boss_halion.cpp | 18 +-- .../RubySanctum/boss_saviana_ragefire.cpp | 4 +- .../boss_argent_challenge.cpp | 4 +- .../boss_anubarak_trial.cpp | 4 +- .../boss_faction_champions.cpp | 8 +- .../TrialOfTheCrusader/boss_lord_jaraxxus.cpp | 2 +- .../boss_northrend_beasts.cpp | 2 +- .../TrialOfTheCrusader/boss_twin_valkyr.cpp | 4 +- .../Northrend/DraktharonKeep/boss_novos.cpp | 2 +- .../DraktharonKeep/boss_tharon_ja.cpp | 2 +- .../DraktharonKeep/boss_trollgore.cpp | 6 +- .../ForgeOfSouls/boss_bronjahm.cpp | 10 +- .../ForgeOfSouls/boss_devourer_of_souls.cpp | 6 +- .../HallsOfReflection/boss_marwyn.cpp | 2 +- .../PitOfSaron/boss_forgemaster_garfrost.cpp | 2 +- .../PitOfSaron/boss_krickandick.cpp | 12 +- .../PitOfSaron/boss_scourgelord_tyrannus.cpp | 4 +- .../FrozenHalls/PitOfSaron/pit_of_saron.cpp | 2 +- .../boss_blood_prince_council.cpp | 20 +-- .../boss_blood_queen_lana_thel.cpp | 14 +- .../boss_deathbringer_saurfang.cpp | 18 +-- .../IcecrownCitadel/boss_festergut.cpp | 6 +- .../boss_icecrown_gunship_battle.cpp | 32 ++-- .../boss_lady_deathwhisper.cpp | 4 +- .../IcecrownCitadel/boss_lord_marrowgar.cpp | 12 +- .../boss_professor_putricide.cpp | 36 ++--- .../IcecrownCitadel/boss_rotface.cpp | 18 +-- .../IcecrownCitadel/boss_sindragosa.cpp | 26 +-- .../IcecrownCitadel/boss_the_lich_king.cpp | 60 +++---- .../boss_valithria_dreamwalker.cpp | 18 +-- .../IcecrownCitadel/icecrown_citadel.cpp | 14 +- .../IcecrownCitadel/icecrown_citadel.h | 2 +- .../Naxxramas/boss_four_horsemen.cpp | 2 +- .../Northrend/Naxxramas/boss_gothik.cpp | 2 +- .../Northrend/Naxxramas/boss_grobbulus.cpp | 4 +- .../Northrend/Naxxramas/boss_heigan.cpp | 2 +- .../Northrend/Naxxramas/boss_kelthuzad.cpp | 2 +- .../Northrend/Naxxramas/boss_loatheb.cpp | 2 +- .../Northrend/Naxxramas/boss_thaddius.cpp | 4 +- .../Nexus/EyeOfEternity/boss_malygos.cpp | 28 ++-- .../Nexus/Nexus/boss_keristrasza.cpp | 2 +- .../Northrend/Nexus/Nexus/boss_ormorok.cpp | 2 +- .../Northrend/Nexus/Oculus/boss_eregos.cpp | 2 +- .../Northrend/Nexus/Oculus/boss_varos.cpp | 2 +- .../scripts/Northrend/Nexus/Oculus/oculus.cpp | 16 +- .../Ulduar/HallsOfLightning/boss_loken.cpp | 2 +- .../Ulduar/HallsOfStone/boss_krystallus.cpp | 4 +- .../Ulduar/boss_algalon_the_observer.cpp | 18 +-- .../Ulduar/Ulduar/boss_assembly_of_iron.cpp | 6 +- .../Northrend/Ulduar/Ulduar/boss_auriaya.cpp | 4 +- .../Ulduar/Ulduar/boss_flame_leviathan.cpp | 10 +- .../Northrend/Ulduar/Ulduar/boss_freya.cpp | 4 +- .../Ulduar/Ulduar/boss_general_vezax.cpp | 6 +- .../Northrend/Ulduar/Ulduar/boss_hodir.cpp | 4 +- .../Northrend/Ulduar/Ulduar/boss_ignis.cpp | 2 +- .../Northrend/Ulduar/Ulduar/boss_kologarn.cpp | 16 +- .../Ulduar/Ulduar/boss_razorscale.cpp | 4 +- .../Northrend/Ulduar/Ulduar/boss_xt002.cpp | 14 +- .../Ulduar/Ulduar/boss_yogg_saron.cpp | 68 ++++---- .../UtgardeKeep/boss_ingvar_the_plunderer.cpp | 4 +- .../UtgardeKeep/UtgardeKeep/boss_keleseth.cpp | 2 +- .../UtgardeKeep/UtgardeKeep/utgarde_keep.cpp | 4 +- .../UtgardePinnacle/boss_svala.cpp | 2 +- .../VaultOfArchavon/boss_archavon.cpp | 2 +- .../VaultOfArchavon/boss_koralon.cpp | 6 +- .../scripts/Northrend/zone_borean_tundra.cpp | 2 +- .../scripts/Northrend/zone_dragonblight.cpp | 4 +- .../scripts/Northrend/zone_grizzly_hills.cpp | 2 +- .../scripts/Northrend/zone_howling_fjord.cpp | 2 +- .../scripts/Northrend/zone_sholazar_basin.cpp | 6 +- .../scripts/Northrend/zone_storm_peaks.cpp | 6 +- .../scripts/Northrend/zone_wintergrasp.cpp | 8 +- src/server/scripts/Northrend/zone_zuldrak.cpp | 8 +- .../ShadowLabyrinth/boss_murmur.cpp | 6 +- .../Outland/BlackTemple/illidari_council.cpp | 2 +- .../scripts/Outland/GruulsLair/boss_gruul.cpp | 4 +- .../BloodFurnace/boss_broggok.cpp | 2 +- .../TempestKeep/Eye/boss_astromancer.cpp | 2 +- .../Mechanar/boss_mechano_lord_capacitus.cpp | 4 +- .../botanica/boss_commander_sarannis.cpp | 2 +- .../scripts/Outland/boss_doomlord_kazzak.cpp | 2 +- .../Outland/zone_blades_edge_mountains.cpp | 2 +- .../Outland/zone_shadowmoon_valley.cpp | 2 +- src/server/scripts/Spells/spell_dk.cpp | 48 +++--- src/server/scripts/Spells/spell_druid.cpp | 52 +++--- src/server/scripts/Spells/spell_generic.cpp | 153 +++++++++--------- src/server/scripts/Spells/spell_holiday.cpp | 12 +- src/server/scripts/Spells/spell_hunter.cpp | 36 ++--- src/server/scripts/Spells/spell_item.cpp | 106 ++++++------ src/server/scripts/Spells/spell_mage.cpp | 24 +-- src/server/scripts/Spells/spell_paladin.cpp | 50 +++--- src/server/scripts/Spells/spell_pet.cpp | 44 ++--- src/server/scripts/Spells/spell_priest.cpp | 36 ++--- src/server/scripts/Spells/spell_quest.cpp | 104 ++++++------ src/server/scripts/Spells/spell_rogue.cpp | 24 +-- src/server/scripts/Spells/spell_shaman.cpp | 38 ++--- src/server/scripts/Spells/spell_warlock.cpp | 38 ++--- src/server/scripts/Spells/spell_warrior.cpp | 38 ++--- .../scripts/World/boss_emerald_dragons.cpp | 6 +- src/tools/mmaps_generator/TerrainBuilder.cpp | 2 +- 130 files changed, 798 insertions(+), 800 deletions(-) diff --git a/dep/g3dlite/include/G3D/debugAssert.h b/dep/g3dlite/include/G3D/debugAssert.h index edff671061dfe..51b16ebbe17b2 100644 --- a/dep/g3dlite/include/G3D/debugAssert.h +++ b/dep/g3dlite/include/G3D/debugAssert.h @@ -228,6 +228,6 @@ void _releaseInputGrab_(); @internal*/ void _restoreInputGrab_(); -}; }; // namespace +} } // namespace #endif diff --git a/src/server/authserver/Authentication/AuthCodes.cpp b/src/server/authserver/Authentication/AuthCodes.cpp index bb278dd6653d8..55517884b8eff 100644 --- a/src/server/authserver/Authentication/AuthCodes.cpp +++ b/src/server/authserver/Authentication/AuthCodes.cpp @@ -79,4 +79,4 @@ namespace AuthHelper return NULL; } -}; +} diff --git a/src/server/authserver/Authentication/AuthCodes.h b/src/server/authserver/Authentication/AuthCodes.h index 5e6522f89819c..97b4779da0ebe 100644 --- a/src/server/authserver/Authentication/AuthCodes.h +++ b/src/server/authserver/Authentication/AuthCodes.h @@ -92,6 +92,6 @@ namespace AuthHelper bool IsAcceptedClientBuild(int build); bool IsPostBCAcceptedClientBuild(int build); bool IsPreBCAcceptedClientBuild(int build); -}; +} #endif diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index e7d14d68377ce..29a178b419ff8 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -22645,7 +22645,7 @@ bool Player::ModifyMoney(int32 amount, bool sendError /*= true*/) SetMoney (GetMoney() > uint32(-amount) ? GetMoney() + amount : 0); else { - if (GetMoney() < uint32(MAX_MONEY_AMOUNT - amount)) + if (GetMoney() < MAX_MONEY_AMOUNT - static_cast(amount)) SetMoney(GetMoney() + amount); else { diff --git a/src/server/game/Entities/Player/Player.h b/src/server/game/Entities/Player/Player.h index 92691c3fd453f..39f3c80402538 100644 --- a/src/server/game/Entities/Player/Player.h +++ b/src/server/game/Entities/Player/Player.h @@ -29,6 +29,7 @@ #include "SpellMgr.h" #include "Unit.h" +#include #include #include @@ -824,7 +825,8 @@ enum PlayerDelayedOperations // Player summoning auto-decline time (in secs) #define MAX_PLAYER_SUMMON_DELAY (2*MINUTE) -#define MAX_MONEY_AMOUNT (0x7FFFFFFF-1) +// Maximum money amount : 2^31 - 1 +auto constexpr MAX_MONEY_AMOUNT(static_cast(std::numeric_limits::max())); struct InstancePlayerBind { diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp index f448fbb9f193b..db0a196dec6ca 100644 --- a/src/server/game/Guilds/Guild.cpp +++ b/src/server/game/Guilds/Guild.cpp @@ -754,7 +754,7 @@ int32 Guild::Member::GetBankWithdrawValue(uint8 tabId) const { // Guild master has unlimited amount. if (IsRank(GR_GUILDMASTER)) - return tabId == GUILD_BANK_MAX_TABS ? GUILD_WITHDRAW_MONEY_UNLIMITED : GUILD_WITHDRAW_SLOT_UNLIMITED; + return static_cast(tabId == GUILD_BANK_MAX_TABS ? GUILD_WITHDRAW_MONEY_UNLIMITED : GUILD_WITHDRAW_SLOT_UNLIMITED); return m_bankWithdraw[tabId]; } @@ -1760,7 +1760,7 @@ void Guild::HandleMemberDepositMoney(WorldSession* session, uint32 amount) bool Guild::HandleMemberWithdrawMoney(WorldSession* session, uint32 amount, bool repair) { //clamp amount to MAX_MONEY_AMOUNT, Players can't hold more than that anyway - amount = std::min(amount, uint32(MAX_MONEY_AMOUNT)); + amount = std::min(amount, MAX_MONEY_AMOUNT); if (m_bankMoney < amount) // Not enough money in bank return false; @@ -2581,7 +2581,7 @@ inline int32 Guild::_GetMemberRemainingSlots(Member const* member, uint8 tabId) { uint8 rankId = member->GetRankId(); if (rankId == GR_GUILDMASTER) - return GUILD_WITHDRAW_SLOT_UNLIMITED; + return static_cast(GUILD_WITHDRAW_SLOT_UNLIMITED); if ((_GetRankBankTabRights(rankId, tabId) & GUILD_BANK_RIGHT_VIEW_TAB) != 0) { int32 remaining = _GetRankBankTabSlotsPerDay(rankId, tabId) - member->GetBankWithdrawValue(tabId); @@ -2598,7 +2598,7 @@ inline int32 Guild::_GetMemberRemainingMoney(Member const* member) const { uint8 rankId = member->GetRankId(); if (rankId == GR_GUILDMASTER) - return GUILD_WITHDRAW_MONEY_UNLIMITED; + return static_cast(GUILD_WITHDRAW_MONEY_UNLIMITED); if ((_GetRankRights(rankId) & (GR_RIGHT_WITHDRAW_REPAIR | GR_RIGHT_WITHDRAW_GOLD)) != 0) { diff --git a/src/server/game/Handlers/TradeHandler.cpp b/src/server/game/Handlers/TradeHandler.cpp index 1fe4718d7ae26..884c4a83b1564 100644 --- a/src/server/game/Handlers/TradeHandler.cpp +++ b/src/server/game/Handlers/TradeHandler.cpp @@ -299,14 +299,14 @@ void WorldSession::HandleAcceptTradeOpcode(WorldPacket& /*recvPacket*/) return; } - if (_player->GetMoney() >= uint32(MAX_MONEY_AMOUNT) - his_trade->GetMoney()) + if (_player->GetMoney() >= MAX_MONEY_AMOUNT - his_trade->GetMoney()) { _player->SendEquipError(EQUIP_ERR_TOO_MUCH_GOLD, NULL, NULL); my_trade->SetAccepted(false, true); return; } - if (trader->GetMoney() >= uint32(MAX_MONEY_AMOUNT) - my_trade->GetMoney()) + if (trader->GetMoney() >= MAX_MONEY_AMOUNT - my_trade->GetMoney()) { trader->SendEquipError(EQUIP_ERR_TOO_MUCH_GOLD, NULL, NULL); his_trade->SetAccepted(false, true); diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index 3050443edc062..9e11c566c2257 100644 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -243,7 +243,7 @@ AI* GetInstanceAI(T* obj, char const* scriptName) return new AI(obj); return NULL; -}; +} template AI* GetInstanceAI(T* obj) @@ -253,6 +253,6 @@ AI* GetInstanceAI(T* obj) return new AI(obj); return NULL; -}; +} #endif // TRINITY_INSTANCE_DATA_H diff --git a/src/server/scripts/Commands/cs_modify.cpp b/src/server/scripts/Commands/cs_modify.cpp index f2f1180122984..5dbe95b3e54ae 100644 --- a/src/server/scripts/Commands/cs_modify.cpp +++ b/src/server/scripts/Commands/cs_modify.cpp @@ -1020,7 +1020,7 @@ class modify_commandscript : public CommandScript } else { - if (newmoney > MAX_MONEY_AMOUNT) + if (newmoney > static_cast(MAX_MONEY_AMOUNT)) newmoney = MAX_MONEY_AMOUNT; handler->PSendSysMessage(LANG_YOU_TAKE_MONEY, abs(moneyToAdd), handler->GetNameLink(target).c_str()); @@ -1035,10 +1035,7 @@ class modify_commandscript : public CommandScript if (handler->needReportToTarget(target)) ChatHandler(target->GetSession()).PSendSysMessage(LANG_YOURS_MONEY_GIVEN, handler->GetNameLink().c_str(), moneyToAdd); - if (moneyToAdd >= MAX_MONEY_AMOUNT) - moneyToAdd = MAX_MONEY_AMOUNT; - - if (targetMoney >= uint32(MAX_MONEY_AMOUNT) - moneyToAdd) + if (targetMoney >= MAX_MONEY_AMOUNT - moneyToAdd) moneyToAdd -= targetMoney; target->ModifyMoney(moneyToAdd); diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp index 83b716728ea2f..354e1204a50f1 100644 --- a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp +++ b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp @@ -212,4 +212,4 @@ void AddSC_boss_balinda() { new boss_balinda; new npc_water_elemental; -}; +} diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp index ea4784bb5a4c2..b30973a64aeca 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp @@ -183,7 +183,7 @@ class spell_egg_event : public SpellScriptLoader class spell_egg_eventSpellScript : public SpellScript { - PrepareSpellScript(spell_egg_eventSpellScript); + PrepareSpellScript(spell_egg_eventSpellScript) void HandleOnHit() { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp index 010e06d67cb15..870ae3703664f 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp @@ -109,7 +109,7 @@ void SummonCroneIfReady(InstanceScript* instance, Creature* creature) pCrone->AI()->AttackStart(creature->GetVictim()); } } -}; +} class boss_dorothee : public CreatureScript { diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp index 9a1f8f14557a1..82f0fc14490db 100644 --- a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp +++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp @@ -160,7 +160,7 @@ class spell_shadow_portal : public SpellScriptLoader class spell_shadow_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_shadow_portal_SpellScript); + PrepareSpellScript(spell_shadow_portal_SpellScript) void HandleCast(SpellEffIndex /*effIndex*/) { @@ -274,7 +274,7 @@ class spell_shadow_portal_rooms : public SpellScriptLoader class spell_shadow_portal_rooms_SpellScript : public SpellScript { - PrepareSpellScript(spell_shadow_portal_rooms_SpellScript); + PrepareSpellScript(spell_shadow_portal_rooms_SpellScript) void HandleSendEvent(SpellEffIndex effIndex) { diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp index fb839650b861c..bbb56d09f438c 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp @@ -208,7 +208,7 @@ class spell_shadowfang_keep_haunting_spirits : public SpellScriptLoader class spell_shadowfang_keep_haunting_spirits_AuraScript : public AuraScript { - PrepareAuraScript(spell_shadowfang_keep_haunting_spirits_AuraScript); + PrepareAuraScript(spell_shadowfang_keep_haunting_spirits_AuraScript) void CalcPeriodic(AuraEffect const* /*aurEff*/, bool& isPeriodic, int32& amplitude) { diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp index a7afa93e835ca..b93a247502744 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp @@ -959,7 +959,7 @@ class spell_hexlord_unstable_affliction : public SpellScriptLoader class spell_hexlord_unstable_affliction_AuraScript : public AuraScript { - PrepareAuraScript(spell_hexlord_unstable_affliction_AuraScript); + PrepareAuraScript(spell_hexlord_unstable_affliction_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp index b2eec0574f3a5..77bf23fa3a145 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp @@ -464,7 +464,7 @@ class spell_banging_the_gong : public SpellScriptLoader class spell_banging_the_gong_SpellScript : public SpellScript { - PrepareSpellScript(spell_banging_the_gong_SpellScript); + PrepareSpellScript(spell_banging_the_gong_SpellScript) void Activate(SpellEffIndex index) { diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp index 72ba9db363736..4b08ad06ddaf2 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp @@ -408,7 +408,7 @@ class spell_threatening_gaze : public SpellScriptLoader class spell_threatening_gaze_AuraScript : public AuraScript { - PrepareAuraScript(spell_threatening_gaze_AuraScript); + PrepareAuraScript(spell_threatening_gaze_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp index 293a6b90915c4..c08ea7f8dcc8b 100644 --- a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp @@ -44,7 +44,7 @@ class spell_razelikh_teleport_group : public SpellScriptLoader class spell_razelikh_teleport_group_SpellScript : public SpellScript { - PrepareSpellScript(spell_razelikh_teleport_group_SpellScript); + PrepareSpellScript(spell_razelikh_teleport_group_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Examples/example_spell.cpp b/src/server/scripts/Examples/example_spell.cpp index 9097f7cd650d1..28c2a0cf71e2f 100644 --- a/src/server/scripts/Examples/example_spell.cpp +++ b/src/server/scripts/Examples/example_spell.cpp @@ -43,7 +43,7 @@ class spell_ex_5581 : public SpellScriptLoader // initialize script, this macro does compile time check for type of the function - prevents possible issues // if you have assigned wrong type of function to a hook you'll receive type conversion error during build // this line is required, otherwise you'll get XXXHandlerFunction - identifier not found errors - PrepareSpellScript(spell_ex_5581SpellScript); + PrepareSpellScript(spell_ex_5581SpellScript) std::string localVariable; char* localVariable2; @@ -205,7 +205,7 @@ class spell_ex_66244 : public SpellScriptLoader class spell_ex_66244AuraScript : public AuraScript { - PrepareAuraScript(spell_ex_66244AuraScript); + PrepareAuraScript(spell_ex_66244AuraScript) // function called on server startup // checks if script has data required for it to work bool Validate(SpellInfo const* /*spellInfo*/) override @@ -364,7 +364,7 @@ class spell_ex_absorb_aura : public SpellScriptLoader class spell_ex_absorb_auraAuraScript : public AuraScript { - PrepareAuraScript(spell_ex_absorb_auraAuraScript); + PrepareAuraScript(spell_ex_absorb_auraAuraScript) void HandleOnEffectAbsorb(AuraEffect* /*aurEff*/, DamageInfo & dmgInfo, uint32 & absorbAmount) { @@ -400,7 +400,7 @@ class spell_ex_463 : public SpellScriptLoader class spell_ex_463AuraScript : public AuraScript { - PrepareAuraScript(spell_ex_463AuraScript); + PrepareAuraScript(spell_ex_463AuraScript) bool CheckAreaTarget(Unit* target) { @@ -438,7 +438,7 @@ class spell_ex : public SpellScriptLoader class spell_ex_SpellScript : public SpellScript { - PrepareSpellScript(spell_ex_SpellScript); + PrepareSpellScript(spell_ex_SpellScript) //bool Validate(SpellInfo const* spellEntry){return true;} override //bool Load(){return true;} diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp index 193b8bfe483b3..0ba6ead07420d 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp @@ -181,7 +181,7 @@ class spell_mark_of_kazrogal : public SpellScriptLoader class spell_mark_of_kazrogal_SpellScript : public SpellScript { - PrepareSpellScript(spell_mark_of_kazrogal_SpellScript); + PrepareSpellScript(spell_mark_of_kazrogal_SpellScript) void FilterTargets(std::list& targets) { @@ -196,7 +196,7 @@ class spell_mark_of_kazrogal : public SpellScriptLoader class spell_mark_of_kazrogal_AuraScript : public AuraScript { - PrepareAuraScript(spell_mark_of_kazrogal_AuraScript); + PrepareAuraScript(spell_mark_of_kazrogal_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp index 835fd6228e152..7a6a5969783c4 100644 --- a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp +++ b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp @@ -257,7 +257,7 @@ class spell_snufflenose_command : public SpellScriptLoader class spell_snufflenose_commandSpellScript : public SpellScript { - PrepareSpellScript(spell_snufflenose_commandSpellScript); + PrepareSpellScript(spell_snufflenose_commandSpellScript) bool Load() override { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp index ac490b1440d84..822e4356202bd 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp @@ -247,7 +247,7 @@ class spell_egg_explosion : public SpellScriptLoader class spell_egg_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_egg_explosion_SpellScript); + PrepareSpellScript(spell_egg_explosion_SpellScript) void HandleAfterCast() { diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp index 51384cc117dc9..efb814dac73fb 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp @@ -215,7 +215,7 @@ class spell_skeram_arcane_explosion : public SpellScriptLoader class spell_skeram_arcane_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_skeram_arcane_explosion_SpellScript); + PrepareSpellScript(spell_skeram_arcane_explosion_SpellScript) void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Kalimdor/boss_azuregos.cpp b/src/server/scripts/Kalimdor/boss_azuregos.cpp index db41213e94e52..42d432f1642a4 100644 --- a/src/server/scripts/Kalimdor/boss_azuregos.cpp +++ b/src/server/scripts/Kalimdor/boss_azuregos.cpp @@ -178,7 +178,7 @@ class spell_mark_of_frost : public SpellScriptLoader class spell_mark_of_frost_SpellScript : public SpellScript { - PrepareSpellScript(spell_mark_of_frost_SpellScript); + PrepareSpellScript(spell_mark_of_frost_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp index aa9774bfd62c0..a96133dad167f 100644 --- a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp +++ b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp @@ -610,7 +610,7 @@ class spell_ooze_zap : public SpellScriptLoader class spell_ooze_zap_SpellScript : public SpellScript { - PrepareSpellScript(spell_ooze_zap_SpellScript); + PrepareSpellScript(spell_ooze_zap_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -657,7 +657,7 @@ class spell_ooze_zap_channel_end : public SpellScriptLoader class spell_ooze_zap_channel_end_SpellScript : public SpellScript { - PrepareSpellScript(spell_ooze_zap_channel_end_SpellScript); + PrepareSpellScript(spell_ooze_zap_channel_end_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -693,7 +693,7 @@ class spell_energize_aoe : public SpellScriptLoader class spell_energize_aoe_SpellScript : public SpellScript { - PrepareSpellScript(spell_energize_aoe_SpellScript); + PrepareSpellScript(spell_energize_aoe_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Kalimdor/zone_feralas.cpp b/src/server/scripts/Kalimdor/zone_feralas.cpp index fa5336df1f350..8baa02e72b310 100644 --- a/src/server/scripts/Kalimdor/zone_feralas.cpp +++ b/src/server/scripts/Kalimdor/zone_feralas.cpp @@ -215,7 +215,7 @@ class spell_gordunni_trap : public SpellScriptLoader class spell_gordunni_trap_SpellScript : public SpellScript { - PrepareSpellScript(spell_gordunni_trap_SpellScript); + PrepareSpellScript(spell_gordunni_trap_SpellScript) void HandleDummy() { diff --git a/src/server/scripts/Kalimdor/zone_silithus.cpp b/src/server/scripts/Kalimdor/zone_silithus.cpp index 3f4fb31a11d99..42ab3d8d9cff2 100644 --- a/src/server/scripts/Kalimdor/zone_silithus.cpp +++ b/src/server/scripts/Kalimdor/zone_silithus.cpp @@ -1006,7 +1006,7 @@ void npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::JustDied(Unit* /*slayer*/) if (npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI* triggerAI = CAST_AI(npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI, mob->AI())) triggerAI->LiveCounter(); -}; +} /*##### # go_crystalline_tear 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 ab142c1375cc5..63827c48f4487 100644 --- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp @@ -267,7 +267,7 @@ class spell_elder_nadox_guardian : public SpellScriptLoader class spell_elder_nadox_guardian_SpellScript : public SpellScript { - PrepareSpellScript(spell_elder_nadox_guardian_SpellScript); + PrepareSpellScript(spell_elder_nadox_guardian_SpellScript) void FilterTargets(std::list& targets) { 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 e3156e213712c..f392bea327b51 100644 --- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp @@ -417,7 +417,7 @@ class spell_prince_taldaram_conjure_flame_sphere : public SpellScriptLoader class spell_prince_taldaram_conjure_flame_sphere_SpellScript : public SpellScript { - PrepareSpellScript(spell_prince_taldaram_conjure_flame_sphere_SpellScript); + PrepareSpellScript(spell_prince_taldaram_conjure_flame_sphere_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -460,7 +460,7 @@ class spell_prince_taldaram_flame_sphere_summon : public SpellScriptLoader class spell_prince_taldaram_flame_sphere_summon_SpellScript : public SpellScript { - PrepareSpellScript(spell_prince_taldaram_flame_sphere_summon_SpellScript); + PrepareSpellScript(spell_prince_taldaram_flame_sphere_summon_SpellScript) void SetDest(SpellDestination& dest) { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp index 69605574f8684..5eae42d2abde8 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp @@ -312,7 +312,7 @@ class spell_baltharus_enervating_brand_trigger : public SpellScriptLoader class spell_baltharus_enervating_brand_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_baltharus_enervating_brand_trigger_SpellScript); + PrepareSpellScript(spell_baltharus_enervating_brand_trigger_SpellScript) void CheckDistance() { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp index f352b4faace68..e4167fc28ad39 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp @@ -1342,7 +1342,7 @@ class spell_halion_meteor_strike_marker : public SpellScriptLoader class spell_halion_meteor_strike_marker_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_meteor_strike_marker_AuraScript); + PrepareAuraScript(spell_halion_meteor_strike_marker_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1373,7 +1373,7 @@ class spell_halion_combustion_consumption : public SpellScriptLoader class spell_halion_combustion_consumption_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_combustion_consumption_AuraScript); + PrepareAuraScript(spell_halion_combustion_consumption_AuraScript) public: spell_halion_combustion_consumption_AuraScript(uint32 spellID) : AuraScript(), _markSpell(spellID) { } @@ -1431,7 +1431,7 @@ class spell_halion_marks : public SpellScriptLoader class spell_halion_marks_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_marks_AuraScript); + PrepareAuraScript(spell_halion_marks_AuraScript) public: spell_halion_marks_AuraScript(uint32 summonSpell, uint32 removeSpell) : AuraScript(), @@ -1491,7 +1491,7 @@ class spell_halion_damage_aoe_summon : public SpellScriptLoader class spell_halion_damage_aoe_summon_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_damage_aoe_summon_SpellScript); + PrepareSpellScript(spell_halion_damage_aoe_summon_SpellScript) void HandleSummon(SpellEffIndex effIndex) { @@ -1528,7 +1528,7 @@ class spell_halion_twilight_realm_handlers : public SpellScriptLoader class spell_halion_twilight_realm_handlers_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_twilight_realm_handlers_AuraScript); + PrepareAuraScript(spell_halion_twilight_realm_handlers_AuraScript) public: spell_halion_twilight_realm_handlers_AuraScript(uint32 beforeHitSpell, bool isApplyHandler) : AuraScript(), @@ -1592,7 +1592,7 @@ class spell_halion_clear_debuffs : public SpellScriptLoader class spell_halion_clear_debuffs_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_clear_debuffs_SpellScript); + PrepareSpellScript(spell_halion_clear_debuffs_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1643,7 +1643,7 @@ class spell_halion_twilight_cutter : public SpellScriptLoader class spell_halion_twilight_cutter_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_twilight_cutter_SpellScript); + PrepareSpellScript(spell_halion_twilight_cutter_SpellScript) void RemoveNotBetween(std::list& unitList) { @@ -1680,7 +1680,7 @@ class spell_halion_twilight_phasing : public SpellScriptLoader class spell_halion_twilight_phasing_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_twilight_phasing_SpellScript); + PrepareSpellScript(spell_halion_twilight_phasing_SpellScript) void Phase() { @@ -1709,7 +1709,7 @@ class spell_halion_summon_exit_portals : public SpellScriptLoader class spell_halion_summon_exit_portals_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_summon_exit_portals_SpellScript); + PrepareSpellScript(spell_halion_summon_exit_portals_SpellScript) void SetDest0(SpellDestination& dest) { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp index 199337b063109..eab099ccabef6 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp @@ -221,7 +221,7 @@ class spell_saviana_conflagration_init : public SpellScriptLoader class spell_saviana_conflagration_init_SpellScript : public SpellScript { - PrepareSpellScript(spell_saviana_conflagration_init_SpellScript); + PrepareSpellScript(spell_saviana_conflagration_init_SpellScript) void FilterTargets(std::list& targets) { @@ -258,7 +258,7 @@ class spell_saviana_conflagration_throwback : public SpellScriptLoader class spell_saviana_conflagration_throwback_SpellScript : public SpellScript { - PrepareSpellScript(spell_saviana_conflagration_throwback_SpellScript); + PrepareSpellScript(spell_saviana_conflagration_throwback_SpellScript) void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp index cb0cba21d6c7e..99390da7dcd64 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp @@ -128,7 +128,7 @@ class spell_eadric_radiance : public SpellScriptLoader spell_eadric_radiance() : SpellScriptLoader("spell_eadric_radiance") { } class spell_eadric_radiance_SpellScript : public SpellScript { - PrepareSpellScript(spell_eadric_radiance_SpellScript); + PrepareSpellScript(spell_eadric_radiance_SpellScript) void FilterTargets(std::list& unitList) { @@ -627,7 +627,7 @@ class spell_paletress_summon_memory : public SpellScriptLoader class spell_paletress_summon_memory_SpellScript : public SpellScript { - PrepareSpellScript(spell_paletress_summon_memory_SpellScript); + PrepareSpellScript(spell_paletress_summon_memory_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp index 77e4e740333a6..355e3cade4d47 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp @@ -815,7 +815,7 @@ class spell_impale : public SpellScriptLoader class spell_impale_SpellScript : public SpellScript { - PrepareSpellScript(spell_impale_SpellScript); + PrepareSpellScript(spell_impale_SpellScript) void HandleDamageCalc(SpellEffIndex /*effIndex*/) { @@ -846,7 +846,7 @@ class spell_anubarak_leeching_swarm : public SpellScriptLoader class spell_anubarak_leeching_swarm_AuraScript : public AuraScript { - PrepareAuraScript(spell_anubarak_leeching_swarm_AuraScript); + PrepareAuraScript(spell_anubarak_leeching_swarm_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp index 71df7d05378ce..5cdce96d5aeb5 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp @@ -2232,7 +2232,7 @@ class spell_faction_champion_warl_unstable_affliction : public SpellScriptLoader class spell_faction_champion_warl_unstable_affliction_AuraScript : public AuraScript { - PrepareAuraScript(spell_faction_champion_warl_unstable_affliction_AuraScript); + PrepareAuraScript(spell_faction_champion_warl_unstable_affliction_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2266,7 +2266,7 @@ class spell_faction_champion_death_grip : public SpellScriptLoader class spell_faction_champion_death_grip_SpellScript : public SpellScript { - PrepareSpellScript(spell_faction_champion_death_grip_SpellScript); + PrepareSpellScript(spell_faction_champion_death_grip_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2304,7 +2304,7 @@ class spell_toc_bloodlust : public SpellScriptLoader class spell_toc_bloodlust_SpellScript : public SpellScript { - PrepareSpellScript(spell_toc_bloodlust_SpellScript); + PrepareSpellScript(spell_toc_bloodlust_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2345,7 +2345,7 @@ class spell_toc_heroism : public SpellScriptLoader class spell_toc_heroism_SpellScript : public SpellScript { - PrepareSpellScript(spell_toc_heroism_SpellScript); + PrepareSpellScript(spell_toc_heroism_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp index abeafe156ada9..6acaf4895ecdd 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp @@ -495,7 +495,7 @@ class spell_mistress_kiss : public SpellScriptLoader class spell_mistress_kiss_AuraScript : public AuraScript { - PrepareAuraScript(spell_mistress_kiss_AuraScript); + PrepareAuraScript(spell_mistress_kiss_AuraScript) bool Load() override { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp index f45a57bd0bc37..63236d68f58ea 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp @@ -819,7 +819,7 @@ class spell_gormok_fire_bomb : public SpellScriptLoader class spell_gormok_fire_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_gormok_fire_bomb_SpellScript); + PrepareSpellScript(spell_gormok_fire_bomb_SpellScript) void TriggerFireBomb(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp index 00eb970b57baf..8176422eed6e1 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp @@ -731,7 +731,7 @@ class spell_valkyr_essences : public SpellScriptLoader class spell_valkyr_essences_AuraScript : public AuraScript { - PrepareAuraScript(spell_valkyr_essences_AuraScript); + PrepareAuraScript(spell_valkyr_essences_AuraScript) uint32 spellId; @@ -826,7 +826,7 @@ class spell_power_of_the_twins : public SpellScriptLoader class spell_power_of_the_twins_AuraScript : public AuraScript { - PrepareAuraScript(spell_power_of_the_twins_AuraScript); + PrepareAuraScript(spell_power_of_the_twins_AuraScript) bool Load() override { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp index 72e4b0b5eb9ce..c67193fc11e96 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp @@ -354,7 +354,7 @@ class spell_novos_summon_minions : public SpellScriptLoader class spell_novos_summon_minions_SpellScript : public SpellScript { - PrepareSpellScript(spell_novos_summon_minions_SpellScript); + PrepareSpellScript(spell_novos_summon_minions_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp index 77f026b1d3a54..1b6cfceaf6c88 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp @@ -212,7 +212,7 @@ class spell_tharon_ja_clear_gift_of_tharon_ja : public SpellScriptLoader class spell_tharon_ja_clear_gift_of_tharon_ja_SpellScript : public SpellScript { - PrepareSpellScript(spell_tharon_ja_clear_gift_of_tharon_ja_SpellScript); + PrepareSpellScript(spell_tharon_ja_clear_gift_of_tharon_ja_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp index 13d968d9e0658..9ac087f5a45a9 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp @@ -219,7 +219,7 @@ class spell_trollgore_consume : public SpellScriptLoader class spell_trollgore_consume_SpellScript : public SpellScript { - PrepareSpellScript(spell_trollgore_consume_SpellScript); + PrepareSpellScript(spell_trollgore_consume_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -254,7 +254,7 @@ class spell_trollgore_corpse_explode : public SpellScriptLoader class spell_trollgore_corpse_explode_AuraScript : public AuraScript { - PrepareAuraScript(spell_trollgore_corpse_explode_AuraScript); + PrepareAuraScript(spell_trollgore_corpse_explode_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -297,7 +297,7 @@ class spell_trollgore_invader_taunt : public SpellScriptLoader class spell_trollgore_invader_taunt_SpellScript : public SpellScript { - PrepareSpellScript(spell_trollgore_invader_taunt_SpellScript); + PrepareSpellScript(spell_trollgore_invader_taunt_SpellScript) bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp index fe98f005bca28..526c412cfce6b 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp @@ -239,7 +239,7 @@ class spell_bronjahm_magic_bane : public SpellScriptLoader class spell_bronjahm_magic_bane_SpellScript : public SpellScript { - PrepareSpellScript(spell_bronjahm_magic_bane_SpellScript); + PrepareSpellScript(spell_bronjahm_magic_bane_SpellScript) void RecalculateDamage() { @@ -273,7 +273,7 @@ class spell_bronjahm_consume_soul : public SpellScriptLoader class spell_bronjahm_consume_soul_SpellScript : public SpellScript { - PrepareSpellScript(spell_bronjahm_consume_soul_SpellScript); + PrepareSpellScript(spell_bronjahm_consume_soul_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -300,7 +300,7 @@ class spell_bronjahm_soulstorm_channel : public SpellScriptLoader class spell_bronjahm_soulstorm_channel_AuraScript : public AuraScript { - PrepareAuraScript(spell_bronjahm_soulstorm_channel_AuraScript); + PrepareAuraScript(spell_bronjahm_soulstorm_channel_AuraScript) void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -328,7 +328,7 @@ class spell_bronjahm_soulstorm_visual : public SpellScriptLoader class spell_bronjahm_soulstorm_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_bronjahm_soulstorm_visual_AuraScript); + PrepareAuraScript(spell_bronjahm_soulstorm_visual_AuraScript) void HandlePeriodicTick(AuraEffect const* aurEff) { @@ -374,7 +374,7 @@ class spell_bronjahm_soulstorm_targeting : public SpellScriptLoader class spell_bronjahm_soulstorm_targeting_SpellScript : public SpellScript { - PrepareSpellScript(spell_bronjahm_soulstorm_targeting_SpellScript); + PrepareSpellScript(spell_bronjahm_soulstorm_targeting_SpellScript) void FilterTargetsInitial(std::list& targets) { diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp index e64067fb995e6..4c0e10780beae 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp @@ -357,7 +357,7 @@ class spell_devourer_of_souls_mirrored_soul : public SpellScriptLoader class spell_devourer_of_souls_mirrored_soul_SpellScript : public SpellScript { - PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_SpellScript); + PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -392,7 +392,7 @@ class spell_devourer_of_souls_mirrored_soul_proc : public SpellScriptLoader class spell_devourer_of_souls_mirrored_soul_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_devourer_of_souls_mirrored_soul_proc_AuraScript); + PrepareAuraScript(spell_devourer_of_souls_mirrored_soul_proc_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -439,7 +439,7 @@ class spell_devourer_of_souls_mirrored_soul_target_selector : public SpellScript class spell_devourer_of_souls_mirrored_soul_target_selector_SpellScript : public SpellScript { - PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_target_selector_SpellScript); + PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_target_selector_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp index 902a917c59452..b18e5ea28c641 100644 --- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp @@ -139,7 +139,7 @@ class spell_marwyn_shared_suffering : public SpellScriptLoader class spell_marwyn_shared_suffering_AuraScript : public AuraScript { - PrepareAuraScript(spell_marwyn_shared_suffering_AuraScript); + PrepareAuraScript(spell_marwyn_shared_suffering_AuraScript) void HandleEffectRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp index 9cbd296d69e94..392d604c8f897 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp @@ -246,7 +246,7 @@ class spell_garfrost_permafrost : public SpellScriptLoader class spell_garfrost_permafrost_SpellScript : public SpellScript { - PrepareSpellScript(spell_garfrost_permafrost_SpellScript); + PrepareSpellScript(spell_garfrost_permafrost_SpellScript) bool Load() override { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp index 26ab1f61ae8ff..c83c6cdaa50ca 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp @@ -504,7 +504,7 @@ class spell_krick_explosive_barrage : public SpellScriptLoader class spell_krick_explosive_barrage_AuraScript : public AuraScript { - PrepareAuraScript(spell_krick_explosive_barrage_AuraScript); + PrepareAuraScript(spell_krick_explosive_barrage_AuraScript) void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -539,7 +539,7 @@ class spell_ick_explosive_barrage : public SpellScriptLoader class spell_ick_explosive_barrage_AuraScript : public AuraScript { - PrepareAuraScript(spell_ick_explosive_barrage_AuraScript); + PrepareAuraScript(spell_ick_explosive_barrage_AuraScript) void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -578,7 +578,7 @@ class spell_exploding_orb_hasty_grow : public SpellScriptLoader class spell_exploding_orb_hasty_grow_AuraScript : public AuraScript { - PrepareAuraScript(spell_exploding_orb_hasty_grow_AuraScript); + PrepareAuraScript(spell_exploding_orb_hasty_grow_AuraScript) void OnStackChange(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -613,7 +613,7 @@ class spell_krick_pursuit : public SpellScriptLoader class spell_krick_pursuit_SpellScript : public SpellScript { - PrepareSpellScript(spell_krick_pursuit_SpellScript); + PrepareSpellScript(spell_krick_pursuit_SpellScript) void HandleScriptEffect(SpellEffIndex /*effIndex*/) { @@ -639,7 +639,7 @@ class spell_krick_pursuit : public SpellScriptLoader class spell_krick_pursuit_AuraScript : public AuraScript { - PrepareAuraScript(spell_krick_pursuit_AuraScript); + PrepareAuraScript(spell_krick_pursuit_AuraScript) void HandleExtraEffect(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -672,7 +672,7 @@ class spell_krick_pursuit_confusion : public SpellScriptLoader class spell_krick_pursuit_confusion_AuraScript : public AuraScript { - PrepareAuraScript(spell_krick_pursuit_confusion_AuraScript); + PrepareAuraScript(spell_krick_pursuit_confusion_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp index a501bf4ea55f1..fd5fda682be82 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp @@ -413,7 +413,7 @@ class spell_tyrannus_overlord_brand : public SpellScriptLoader class spell_tyrannus_overlord_brand_AuraScript : public AuraScript { - PrepareAuraScript(spell_tyrannus_overlord_brand_AuraScript); + PrepareAuraScript(spell_tyrannus_overlord_brand_AuraScript) bool Load() override { @@ -465,7 +465,7 @@ class spell_tyrannus_mark_of_rimefang : public SpellScriptLoader class spell_tyrannus_mark_of_rimefang_AuraScript : public AuraScript { - PrepareAuraScript(spell_tyrannus_mark_of_rimefang_AuraScript); + PrepareAuraScript(spell_tyrannus_mark_of_rimefang_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp index 7bd9325dd974a..21d3766d766cf 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp @@ -212,7 +212,7 @@ class spell_trash_npc_glacial_strike : public SpellScriptLoader class spell_trash_npc_glacial_strike_AuraScript : public AuraScript { - PrepareAuraScript(spell_trash_npc_glacial_strike_AuraScript); + PrepareAuraScript(spell_trash_npc_glacial_strike_AuraScript) void PeriodicTick(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp index a9088207ebe83..5824b1b65def6 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp @@ -1373,7 +1373,7 @@ class spell_taldaram_glittering_sparks : public SpellScriptLoader class spell_taldaram_glittering_sparks_SpellScript : public SpellScript { - PrepareSpellScript(spell_taldaram_glittering_sparks_SpellScript); + PrepareSpellScript(spell_taldaram_glittering_sparks_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1400,7 +1400,7 @@ class spell_taldaram_summon_flame_ball : public SpellScriptLoader class spell_taldaram_summon_flame_ball_SpellScript : public SpellScript { - PrepareSpellScript(spell_taldaram_summon_flame_ball_SpellScript); + PrepareSpellScript(spell_taldaram_summon_flame_ball_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1427,7 +1427,7 @@ class spell_taldaram_flame_ball_visual : public SpellScriptLoader class spell_flame_ball_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_flame_ball_visual_AuraScript); + PrepareAuraScript(spell_flame_ball_visual_AuraScript) bool Load() override { @@ -1471,7 +1471,7 @@ class spell_taldaram_ball_of_inferno_flame : public SpellScriptLoader class spell_taldaram_ball_of_inferno_flame_SpellScript : public SpellScript { - PrepareSpellScript(spell_taldaram_ball_of_inferno_flame_SpellScript); + PrepareSpellScript(spell_taldaram_ball_of_inferno_flame_SpellScript) void ModAuraStack() { @@ -1499,7 +1499,7 @@ class spell_valanar_kinetic_bomb : public SpellScriptLoader class spell_valanar_kinetic_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_valanar_kinetic_bomb_SpellScript); + PrepareSpellScript(spell_valanar_kinetic_bomb_SpellScript) void SetDest(SpellDestination& dest) { @@ -1515,7 +1515,7 @@ class spell_valanar_kinetic_bomb : public SpellScriptLoader class spell_valanar_kinetic_bomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_valanar_kinetic_bomb_AuraScript); + PrepareAuraScript(spell_valanar_kinetic_bomb_AuraScript) void HandleDummyTick(AuraEffect const* /*aurEff*/) { @@ -1556,7 +1556,7 @@ class spell_valanar_kinetic_bomb_knockback : public SpellScriptLoader class spell_valanar_kinetic_bomb_knockback_SpellScript : public SpellScript { - PrepareSpellScript(spell_valanar_kinetic_bomb_knockback_SpellScript); + PrepareSpellScript(spell_valanar_kinetic_bomb_knockback_SpellScript) void KnockIntoAir() { @@ -1583,7 +1583,7 @@ class spell_valanar_kinetic_bomb_absorb : public SpellScriptLoader class spell_valanar_kinetic_bomb_absorb_AuraScript : public AuraScript { - PrepareAuraScript(spell_valanar_kinetic_bomb_absorb_AuraScript); + PrepareAuraScript(spell_valanar_kinetic_bomb_absorb_AuraScript) void OnAbsorb(AuraEffect* aurEff, DamageInfo& dmgInfo, uint32& absorbAmount) { @@ -1611,7 +1611,7 @@ class spell_blood_council_shadow_prison : public SpellScriptLoader class spell_blood_council_shadow_prison_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_council_shadow_prison_AuraScript); + PrepareAuraScript(spell_blood_council_shadow_prison_AuraScript) void HandleDummyTick(AuraEffect const* aurEff) { @@ -1638,7 +1638,7 @@ class spell_blood_council_shadow_prison_damage : public SpellScriptLoader class spell_blood_council_shadow_prison_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_council_shadow_prison_SpellScript); + PrepareSpellScript(spell_blood_council_shadow_prison_SpellScript) void AddExtraDamage() { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp index 104a8357917d3..d7842b488cd2e 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp @@ -518,7 +518,7 @@ class spell_blood_queen_vampiric_bite : public SpellScriptLoader class spell_blood_queen_vampiric_bite_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_vampiric_bite_SpellScript); + PrepareSpellScript(spell_blood_queen_vampiric_bite_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -595,7 +595,7 @@ class spell_blood_queen_frenzied_bloodthirst : public SpellScriptLoader class spell_blood_queen_frenzied_bloodthirst_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_queen_frenzied_bloodthirst_AuraScript); + PrepareAuraScript(spell_blood_queen_frenzied_bloodthirst_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -654,7 +654,7 @@ class spell_blood_queen_bloodbolt : public SpellScriptLoader class spell_blood_queen_bloodbolt_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_bloodbolt_SpellScript); + PrepareSpellScript(spell_blood_queen_bloodbolt_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -705,7 +705,7 @@ class spell_blood_queen_essence_of_the_blood_queen : public SpellScriptLoader class spell_blood_queen_essence_of_the_blood_queen_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_queen_essence_of_the_blood_queen_AuraScript); + PrepareAuraScript(spell_blood_queen_essence_of_the_blood_queen_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -740,7 +740,7 @@ class spell_blood_queen_pact_of_the_darkfallen : public SpellScriptLoader class spell_blood_queen_pact_of_the_darkfallen_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_SpellScript); + PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_SpellScript) void FilterTargets(std::list& targets) { @@ -788,7 +788,7 @@ class spell_blood_queen_pact_of_the_darkfallen_dmg : public SpellScriptLoader class spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript); + PrepareAuraScript(spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -826,7 +826,7 @@ class spell_blood_queen_pact_of_the_darkfallen_dmg_target : public SpellScriptLo class spell_blood_queen_pact_of_the_darkfallen_dmg_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_dmg_SpellScript); + PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_dmg_SpellScript) void FilterTargets(std::list& unitList) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp index 16d1531e89061..ead6fc8ed4750 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp @@ -1022,7 +1022,7 @@ class spell_deathbringer_blood_link : public SpellScriptLoader class spell_deathbringer_blood_link_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_link_SpellScript); + PrepareSpellScript(spell_deathbringer_blood_link_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1058,7 +1058,7 @@ class spell_deathbringer_blood_link_aura : public SpellScriptLoader class spell_deathbringer_blood_link_AuraScript : public AuraScript { - PrepareAuraScript(spell_deathbringer_blood_link_AuraScript); + PrepareAuraScript(spell_deathbringer_blood_link_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1094,7 +1094,7 @@ class spell_deathbringer_blood_power : public SpellScriptLoader class spell_deathbringer_blood_power_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_power_SpellScript); + PrepareSpellScript(spell_deathbringer_blood_power_SpellScript) void ModAuraValue() { @@ -1110,7 +1110,7 @@ class spell_deathbringer_blood_power : public SpellScriptLoader class spell_deathbringer_blood_power_AuraScript : public AuraScript { - PrepareAuraScript(spell_deathbringer_blood_power_AuraScript); + PrepareAuraScript(spell_deathbringer_blood_power_AuraScript) void RecalculateHook(AuraEffect const* /*aurEffect*/, int32& amount, bool& canBeRecalculated) { @@ -1143,7 +1143,7 @@ class spell_deathbringer_rune_of_blood : public SpellScriptLoader class spell_deathbringer_rune_of_blood_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_rune_of_blood_SpellScript); + PrepareSpellScript(spell_deathbringer_rune_of_blood_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1178,7 +1178,7 @@ class spell_deathbringer_blood_nova : public SpellScriptLoader class spell_deathbringer_blood_nova_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_nova_SpellScript); + PrepareSpellScript(spell_deathbringer_blood_nova_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1213,7 +1213,7 @@ class spell_deathbringer_blood_nova_targeting : public SpellScriptLoader class spell_deathbringer_blood_nova_targeting_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_nova_targeting_SpellScript); + PrepareSpellScript(spell_deathbringer_blood_nova_targeting_SpellScript) bool Load() override { @@ -1292,7 +1292,7 @@ class spell_deathbringer_boiling_blood : public SpellScriptLoader class spell_deathbringer_boiling_blood_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_boiling_blood_SpellScript); + PrepareSpellScript(spell_deathbringer_boiling_blood_SpellScript) bool Load() override { @@ -1329,7 +1329,7 @@ class spell_deathbringer_remove_marks : public SpellScriptLoader class spell_deathbringer_remove_marks_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_remove_marks_SpellScript); + PrepareSpellScript(spell_deathbringer_remove_marks_SpellScript) void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp index 9847d7191c60c..2e61793745c18 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp @@ -368,7 +368,7 @@ class spell_festergut_pungent_blight : public SpellScriptLoader class spell_festergut_pungent_blight_SpellScript : public SpellScript { - PrepareSpellScript(spell_festergut_pungent_blight_SpellScript); + PrepareSpellScript(spell_festergut_pungent_blight_SpellScript) bool Load() override { @@ -404,7 +404,7 @@ class spell_festergut_gastric_bloat : public SpellScriptLoader class spell_festergut_gastric_bloat_SpellScript : public SpellScript { - PrepareSpellScript(spell_festergut_gastric_bloat_SpellScript); + PrepareSpellScript(spell_festergut_gastric_bloat_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -442,7 +442,7 @@ class spell_festergut_blighted_spores : public SpellScriptLoader class spell_festergut_blighted_spores_AuraScript : public AuraScript { - PrepareAuraScript(spell_festergut_blighted_spores_AuraScript); + PrepareAuraScript(spell_festergut_blighted_spores_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp index c0c909e4878de..809270bd59cee 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp @@ -1824,7 +1824,7 @@ class spell_igb_rocket_pack : public SpellScriptLoader class spell_igb_rocket_pack_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_rocket_pack_AuraScript); + PrepareAuraScript(spell_igb_rocket_pack_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1868,7 +1868,7 @@ class spell_igb_rocket_pack_useable : public SpellScriptLoader class spell_igb_rocket_pack_useable_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_rocket_pack_useable_AuraScript); + PrepareAuraScript(spell_igb_rocket_pack_useable_AuraScript) bool Load() { @@ -1917,7 +1917,7 @@ class spell_igb_on_gunship_deck : public SpellScriptLoader class spell_igb_on_gunship_deck_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_on_gunship_deck_AuraScript); + PrepareAuraScript(spell_igb_on_gunship_deck_AuraScript) bool Load() override { @@ -1962,7 +1962,7 @@ class spell_igb_periodic_trigger_with_power_cost : public SpellScriptLoader class spell_igb_periodic_trigger_with_power_cost_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_periodic_trigger_with_power_cost_AuraScript); + PrepareAuraScript(spell_igb_periodic_trigger_with_power_cost_AuraScript) void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -1989,7 +1989,7 @@ class spell_igb_cannon_blast : public SpellScriptLoader class spell_igb_cannon_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_cannon_blast_SpellScript); + PrepareSpellScript(spell_igb_cannon_blast_SpellScript) bool Load() { @@ -2026,7 +2026,7 @@ class spell_igb_incinerating_blast : public SpellScriptLoader class spell_igb_incinerating_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_incinerating_blast_SpellScript); + PrepareSpellScript(spell_igb_incinerating_blast_SpellScript) void StoreEnergy() { @@ -2066,7 +2066,7 @@ class spell_igb_overheat : public SpellScriptLoader class spell_igb_overheat_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_overheat_AuraScript); + PrepareAuraScript(spell_igb_overheat_AuraScript) bool Load() override { @@ -2122,7 +2122,7 @@ class spell_igb_below_zero : public SpellScriptLoader class spell_igb_below_zero_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_below_zero_SpellScript); + PrepareSpellScript(spell_igb_below_zero_SpellScript) void RemovePassengers() { @@ -2148,7 +2148,7 @@ class spell_igb_teleport_to_enemy_ship : public SpellScriptLoader class spell_igb_teleport_to_enemy_ship_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_teleport_to_enemy_ship_SpellScript); + PrepareSpellScript(spell_igb_teleport_to_enemy_ship_SpellScript) void RelocateTransportOffset(SpellEffIndex /*effIndex*/) { @@ -2182,7 +2182,7 @@ class spell_igb_burning_pitch_selector : public SpellScriptLoader class spell_igb_burning_pitch_selector_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_burning_pitch_selector_SpellScript); + PrepareSpellScript(spell_igb_burning_pitch_selector_SpellScript) void FilterTargets(std::list& targets) { @@ -2231,7 +2231,7 @@ class spell_igb_burning_pitch : public SpellScriptLoader class spell_igb_burning_pitch_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_burning_pitch_SpellScript); + PrepareSpellScript(spell_igb_burning_pitch_SpellScript) void HandleDummy(SpellEffIndex effIndex) { @@ -2259,7 +2259,7 @@ class spell_igb_rocket_artillery : public SpellScriptLoader class spell_igb_rocket_artillery_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_rocket_artillery_SpellScript); + PrepareSpellScript(spell_igb_rocket_artillery_SpellScript) void SelectRandomTarget(std::list& targets) { @@ -2297,7 +2297,7 @@ class spell_igb_rocket_artillery_explosion : public SpellScriptLoader class spell_igb_rocket_artillery_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_rocket_artillery_explosion_SpellScript); + PrepareSpellScript(spell_igb_rocket_artillery_explosion_SpellScript) void DamageGunship(SpellEffIndex /*effIndex*/) { @@ -2324,7 +2324,7 @@ class spell_igb_gunship_fall_teleport : public SpellScriptLoader class spell_igb_gunship_fall_teleport_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_gunship_fall_teleport_SpellScript); + PrepareSpellScript(spell_igb_gunship_fall_teleport_SpellScript) bool Load() { @@ -2365,7 +2365,7 @@ class spell_igb_check_for_players : public SpellScriptLoader class spell_igb_check_for_players_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_check_for_players_SpellScript); + PrepareSpellScript(spell_igb_check_for_players_SpellScript) bool Load() override { @@ -2413,7 +2413,7 @@ class spell_igb_teleport_players_on_victory : public SpellScriptLoader class spell_igb_teleport_players_on_victory_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_teleport_players_on_victory_SpellScript); + PrepareSpellScript(spell_igb_teleport_players_on_victory_SpellScript) bool Load() override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp index d59e723d070f4..34b8901a30489 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp @@ -956,7 +956,7 @@ class spell_deathwhisper_mana_barrier : public SpellScriptLoader class spell_deathwhisper_mana_barrier_AuraScript : public AuraScript { - PrepareAuraScript(spell_deathwhisper_mana_barrier_AuraScript); + PrepareAuraScript(spell_deathwhisper_mana_barrier_AuraScript) void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -988,7 +988,7 @@ class spell_cultist_dark_martyrdom : public SpellScriptLoader class spell_cultist_dark_martyrdom_SpellScript : public SpellScript { - PrepareSpellScript(spell_cultist_dark_martyrdom_SpellScript); + PrepareSpellScript(spell_cultist_dark_martyrdom_SpellScript) void HandleEffect(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp index 5022cd4f64593..b0907fd6865dc 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp @@ -499,7 +499,7 @@ class spell_marrowgar_coldflame : public SpellScriptLoader class spell_marrowgar_coldflame_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_coldflame_SpellScript); + PrepareSpellScript(spell_marrowgar_coldflame_SpellScript) void SelectTarget(std::list& targets) { @@ -541,7 +541,7 @@ class spell_marrowgar_coldflame_bonestorm : public SpellScriptLoader class spell_marrowgar_coldflame_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_coldflame_SpellScript); + PrepareSpellScript(spell_marrowgar_coldflame_SpellScript) void HandleScriptEffect(SpellEffIndex effIndex) { @@ -569,7 +569,7 @@ class spell_marrowgar_coldflame_damage : public SpellScriptLoader class spell_marrowgar_coldflame_damage_AuraScript : public AuraScript { - PrepareAuraScript(spell_marrowgar_coldflame_damage_AuraScript); + PrepareAuraScript(spell_marrowgar_coldflame_damage_AuraScript) bool CanBeAppliedOn(Unit* target) { @@ -605,7 +605,7 @@ class spell_marrowgar_bone_spike_graveyard : public SpellScriptLoader class spell_marrowgar_bone_spike_graveyard_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_bone_spike_graveyard_SpellScript); + PrepareSpellScript(spell_marrowgar_bone_spike_graveyard_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -670,7 +670,7 @@ class spell_marrowgar_bone_storm : public SpellScriptLoader class spell_marrowgar_bone_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_bone_storm_SpellScript); + PrepareSpellScript(spell_marrowgar_bone_storm_SpellScript) void RecalculateDamage() { @@ -696,7 +696,7 @@ class spell_marrowgar_bone_slice : public SpellScriptLoader class spell_marrowgar_bone_slice_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_bone_slice_SpellScript); + PrepareSpellScript(spell_marrowgar_bone_slice_SpellScript) bool Load() override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp index c408c486b30bb..dd5e55b9e262d 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp @@ -823,7 +823,7 @@ class spell_putricide_gaseous_bloat : public SpellScriptLoader class spell_putricide_gaseous_bloat_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_gaseous_bloat_AuraScript); + PrepareAuraScript(spell_putricide_gaseous_bloat_AuraScript) void HandleExtraEffect(AuraEffect const* /*aurEff*/) { @@ -855,7 +855,7 @@ class spell_putricide_ooze_channel : public SpellScriptLoader class spell_putricide_ooze_channel_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_ooze_channel_SpellScript); + PrepareSpellScript(spell_putricide_ooze_channel_SpellScript) bool Validate(SpellInfo const* spell) override { @@ -943,7 +943,7 @@ class spell_putricide_slime_puddle : public SpellScriptLoader class spell_putricide_slime_puddle_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_slime_puddle_SpellScript); + PrepareSpellScript(spell_putricide_slime_puddle_SpellScript) void ScaleRange(std::list& targets) { @@ -971,7 +971,7 @@ class spell_putricide_slime_puddle_aura : public SpellScriptLoader class spell_putricide_slime_puddle_aura_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_slime_puddle_aura_SpellScript); + PrepareSpellScript(spell_putricide_slime_puddle_aura_SpellScript) void ReplaceAura() { @@ -998,7 +998,7 @@ class spell_putricide_unstable_experiment : public SpellScriptLoader class spell_putricide_unstable_experiment_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_unstable_experiment_SpellScript); + PrepareSpellScript(spell_putricide_unstable_experiment_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1046,7 +1046,7 @@ class spell_putricide_ooze_eruption_searcher : public SpellScriptLoader class spell_putricide_ooze_eruption_searcher_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_ooze_eruption_searcher_SpellScript); + PrepareSpellScript(spell_putricide_ooze_eruption_searcher_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1077,7 +1077,7 @@ class spell_putricide_choking_gas_bomb : public SpellScriptLoader class spell_putricide_choking_gas_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_choking_gas_bomb_SpellScript); + PrepareSpellScript(spell_putricide_choking_gas_bomb_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1111,7 +1111,7 @@ class spell_putricide_unbound_plague : public SpellScriptLoader class spell_putricide_unbound_plague_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_unbound_plague_SpellScript); + PrepareSpellScript(spell_putricide_unbound_plague_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1190,7 +1190,7 @@ class spell_putricide_eat_ooze : public SpellScriptLoader class spell_putricide_eat_ooze_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_eat_ooze_SpellScript); + PrepareSpellScript(spell_putricide_eat_ooze_SpellScript) void SelectTarget(std::list& targets) { @@ -1242,7 +1242,7 @@ class spell_putricide_mutated_plague : public SpellScriptLoader class spell_putricide_mutated_plague_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_mutated_plague_AuraScript); + PrepareAuraScript(spell_putricide_mutated_plague_AuraScript) void HandleTriggerSpell(AuraEffect const* aurEff) { @@ -1292,7 +1292,7 @@ class spell_putricide_mutation_init : public SpellScriptLoader class spell_putricide_mutation_init_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_mutation_init_SpellScript); + PrepareSpellScript(spell_putricide_mutation_init_SpellScript) SpellCastResult CheckRequirementInternal(SpellCustomErrors& extendedError) { @@ -1346,7 +1346,7 @@ class spell_putricide_mutation_init : public SpellScriptLoader class spell_putricide_mutation_init_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_mutation_init_AuraScript); + PrepareAuraScript(spell_putricide_mutation_init_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1381,7 +1381,7 @@ class spell_putricide_mutated_transformation_dismiss : public SpellScriptLoader class spell_putricide_mutated_transformation_dismiss_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_mutated_transformation_dismiss_AuraScript); + PrepareAuraScript(spell_putricide_mutated_transformation_dismiss_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1408,7 +1408,7 @@ class spell_putricide_mutated_transformation : public SpellScriptLoader class spell_putricide_mutated_transformation_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_mutated_transformation_SpellScript); + PrepareSpellScript(spell_putricide_mutated_transformation_SpellScript) void HandleSummon(SpellEffIndex effIndex) { @@ -1469,7 +1469,7 @@ class spell_putricide_mutated_transformation_dmg : public SpellScriptLoader class spell_putricide_mutated_transformation_dmg_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_mutated_transformation_dmg_SpellScript); + PrepareSpellScript(spell_putricide_mutated_transformation_dmg_SpellScript) void FilterTargetsInitial(std::list& targets) { @@ -1496,7 +1496,7 @@ class spell_putricide_regurgitated_ooze : public SpellScriptLoader class spell_putricide_regurgitated_ooze_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_regurgitated_ooze_SpellScript); + PrepareSpellScript(spell_putricide_regurgitated_ooze_SpellScript) // the only purpose of this hook is to fail the achievement void ExtraEffect(SpellEffIndex /*effIndex*/) @@ -1525,7 +1525,7 @@ class spell_putricide_clear_aura_effect_value : public SpellScriptLoader class spell_putricide_clear_aura_effect_value_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_clear_aura_effect_value_SpellScript); + PrepareSpellScript(spell_putricide_clear_aura_effect_value_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1554,7 +1554,7 @@ class spell_stinky_precious_decimate : public SpellScriptLoader class spell_stinky_precious_decimate_SpellScript : public SpellScript { - PrepareSpellScript(spell_stinky_precious_decimate_SpellScript); + PrepareSpellScript(spell_stinky_precious_decimate_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp index 8766781de7cf4..a3407a0ff1c68 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp @@ -455,7 +455,7 @@ class spell_rotface_ooze_flood : public SpellScriptLoader class spell_rotface_ooze_flood_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_ooze_flood_SpellScript); + PrepareSpellScript(spell_rotface_ooze_flood_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -505,7 +505,7 @@ class spell_rotface_mutated_infection : public SpellScriptLoader class spell_rotface_mutated_infection_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_mutated_infection_SpellScript); + PrepareSpellScript(spell_rotface_mutated_infection_SpellScript) bool Load() override { @@ -565,7 +565,7 @@ class spell_rotface_little_ooze_combine : public SpellScriptLoader class spell_rotface_little_ooze_combine_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_little_ooze_combine_SpellScript); + PrepareSpellScript(spell_rotface_little_ooze_combine_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -597,7 +597,7 @@ class spell_rotface_large_ooze_combine : public SpellScriptLoader class spell_rotface_large_ooze_combine_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_large_ooze_combine_SpellScript); + PrepareSpellScript(spell_rotface_large_ooze_combine_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -639,7 +639,7 @@ class spell_rotface_large_ooze_buff_combine : public SpellScriptLoader class spell_rotface_large_ooze_buff_combine_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_large_ooze_buff_combine_SpellScript); + PrepareSpellScript(spell_rotface_large_ooze_buff_combine_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -694,7 +694,7 @@ class spell_rotface_unstable_ooze_explosion_init : public SpellScriptLoader class spell_rotface_unstable_ooze_explosion_init_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_unstable_ooze_explosion_init_SpellScript); + PrepareSpellScript(spell_rotface_unstable_ooze_explosion_init_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -734,7 +734,7 @@ class spell_rotface_unstable_ooze_explosion : public SpellScriptLoader class spell_rotface_unstable_ooze_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_unstable_ooze_explosion_SpellScript); + PrepareSpellScript(spell_rotface_unstable_ooze_explosion_SpellScript) void CheckTarget(SpellEffIndex effIndex) { @@ -771,7 +771,7 @@ class spell_rotface_unstable_ooze_explosion_suicide : public SpellScriptLoader class spell_rotface_unstable_ooze_explosion_suicide_AuraScript : public AuraScript { - PrepareAuraScript(spell_rotface_unstable_ooze_explosion_suicide_AuraScript); + PrepareAuraScript(spell_rotface_unstable_ooze_explosion_suicide_AuraScript) void DespawnSelf(AuraEffect const* /*aurEff*/) { @@ -804,7 +804,7 @@ class spell_rotface_vile_gas_trigger : public SpellScriptLoader class spell_rotface_vile_gas_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_vile_gas_trigger_SpellScript); + PrepareSpellScript(spell_rotface_vile_gas_trigger_SpellScript) void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp index 76c5a93f9c56e..f8c042be1eb57 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp @@ -1023,7 +1023,7 @@ class spell_sindragosa_s_fury : public SpellScriptLoader class spell_sindragosa_s_fury_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_s_fury_SpellScript); + PrepareSpellScript(spell_sindragosa_s_fury_SpellScript) bool Load() override { @@ -1110,7 +1110,7 @@ class spell_sindragosa_unchained_magic : public SpellScriptLoader class spell_sindragosa_unchained_magic_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_unchained_magic_SpellScript); + PrepareSpellScript(spell_sindragosa_unchained_magic_SpellScript) void FilterTargets(std::list& unitList) { @@ -1139,7 +1139,7 @@ class spell_sindragosa_frost_breath : public SpellScriptLoader class spell_sindragosa_frost_breath_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_frost_breath_SpellScript); + PrepareSpellScript(spell_sindragosa_frost_breath_SpellScript) void HandleInfusion() { @@ -1184,7 +1184,7 @@ class spell_sindragosa_instability : public SpellScriptLoader class spell_sindragosa_instability_AuraScript : public AuraScript { - PrepareAuraScript(spell_sindragosa_instability_AuraScript); + PrepareAuraScript(spell_sindragosa_instability_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1218,7 +1218,7 @@ class spell_sindragosa_frost_beacon : public SpellScriptLoader class spell_sindragosa_frost_beacon_AuraScript : public AuraScript { - PrepareAuraScript(spell_sindragosa_frost_beacon_AuraScript); + PrepareAuraScript(spell_sindragosa_frost_beacon_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1253,7 +1253,7 @@ class spell_sindragosa_ice_tomb : public SpellScriptLoader class spell_sindragosa_ice_tomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_ice_tomb_SpellScript); + PrepareSpellScript(spell_sindragosa_ice_tomb_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1286,7 +1286,7 @@ class spell_sindragosa_ice_tomb : public SpellScriptLoader class spell_sindragosa_ice_tomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_sindragosa_ice_tomb_AuraScript); + PrepareAuraScript(spell_sindragosa_ice_tomb_AuraScript) void PeriodicTick(AuraEffect const* /*aurEff*/) { @@ -1317,7 +1317,7 @@ class spell_sindragosa_icy_grip : public SpellScriptLoader class spell_sindragosa_icy_grip_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_icy_grip_SpellScript); + PrepareSpellScript(spell_sindragosa_icy_grip_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1365,7 +1365,7 @@ class spell_sindragosa_mystic_buffet : public SpellScriptLoader class spell_sindragosa_mystic_buffet_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_mystic_buffet_SpellScript); + PrepareSpellScript(spell_sindragosa_mystic_buffet_SpellScript) void FilterTargets(std::list& targets) { @@ -1391,7 +1391,7 @@ class spell_rimefang_icy_blast : public SpellScriptLoader class spell_rimefang_icy_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_rimefang_icy_blast_SpellScript); + PrepareSpellScript(spell_rimefang_icy_blast_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1443,7 +1443,7 @@ class spell_frostwarden_handler_order_whelp : public SpellScriptLoader class spell_frostwarden_handler_order_whelp_SpellScript : public SpellScript { - PrepareSpellScript(spell_frostwarden_handler_order_whelp_SpellScript); + PrepareSpellScript(spell_frostwarden_handler_order_whelp_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1498,7 +1498,7 @@ class spell_frostwarden_handler_focus_fire : public SpellScriptLoader class spell_frostwarden_handler_focus_fire_SpellScript : public SpellScript { - PrepareSpellScript(spell_frostwarden_handler_focus_fire_SpellScript); + PrepareSpellScript(spell_frostwarden_handler_focus_fire_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1515,7 +1515,7 @@ class spell_frostwarden_handler_focus_fire : public SpellScriptLoader class spell_frostwarden_handler_focus_fire_AuraScript : public AuraScript { - PrepareAuraScript(spell_frostwarden_handler_focus_fire_AuraScript); + PrepareAuraScript(spell_frostwarden_handler_focus_fire_AuraScript) void PeriodicTick(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp index 223f373103276..6a32517d93bed 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp @@ -2005,7 +2005,7 @@ class spell_the_lich_king_infest : public SpellScriptLoader class spell_the_lich_king_infest_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_infest_AuraScript); + PrepareAuraScript(spell_the_lich_king_infest_AuraScript) void OnPeriodic(AuraEffect const* /*aurEff*/) { @@ -2045,7 +2045,7 @@ class spell_the_lich_king_necrotic_plague : public SpellScriptLoader class spell_the_lich_king_necrotic_plague_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript); + PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2093,7 +2093,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader class spell_the_lich_king_necrotic_plague_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_necrotic_plague_SpellScript); + PrepareSpellScript(spell_the_lich_king_necrotic_plague_SpellScript) bool Load() override { @@ -2133,7 +2133,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader class spell_the_lich_king_necrotic_plague_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript); + PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript) bool Load() override { @@ -2217,7 +2217,7 @@ class spell_the_lich_king_shadow_trap_visual : public SpellScriptLoader class spell_the_lich_king_shadow_trap_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_shadow_trap_visual_AuraScript); + PrepareAuraScript(spell_the_lich_king_shadow_trap_visual_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -2244,7 +2244,7 @@ class spell_the_lich_king_shadow_trap_periodic : public SpellScriptLoader class spell_the_lich_king_shadow_trap_periodic_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_shadow_trap_periodic_SpellScript); + PrepareSpellScript(spell_the_lich_king_shadow_trap_periodic_SpellScript) void CheckTargetCount(std::list& targets) { @@ -2273,7 +2273,7 @@ class spell_the_lich_king_quake : public SpellScriptLoader class spell_the_lich_king_quake_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_quake_SpellScript); + PrepareSpellScript(spell_the_lich_king_quake_SpellScript) bool Load() override { @@ -2312,7 +2312,7 @@ class spell_the_lich_king_ice_burst_target_search : public SpellScriptLoader class spell_the_lich_king_ice_burst_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_ice_burst_target_search_SpellScript); + PrepareSpellScript(spell_the_lich_king_ice_burst_target_search_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2355,7 +2355,7 @@ class spell_the_lich_king_raging_spirit : public SpellScriptLoader class spell_the_lich_king_raging_spirit_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_raging_spirit_SpellScript); + PrepareSpellScript(spell_the_lich_king_raging_spirit_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2404,7 +2404,7 @@ class spell_the_lich_king_defile : public SpellScriptLoader class spell_the_lich_king_defile_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_defile_SpellScript); + PrepareSpellScript(spell_the_lich_king_defile_SpellScript) void CorrectRange(std::list& targets) { @@ -2441,7 +2441,7 @@ class spell_the_lich_king_summon_into_air : public SpellScriptLoader class spell_the_lich_king_summon_into_air_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_summon_into_air_SpellScript); + PrepareSpellScript(spell_the_lich_king_summon_into_air_SpellScript) void ModDestHeight(SpellEffIndex effIndex) { @@ -2476,7 +2476,7 @@ class spell_the_lich_king_soul_reaper : public SpellScriptLoader class spell_the_lich_king_soul_reaper_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_soul_reaper_AuraScript); + PrepareAuraScript(spell_the_lich_king_soul_reaper_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2510,7 +2510,7 @@ class spell_the_lich_king_valkyr_target_search : public SpellScriptLoader class spell_the_lich_king_valkyr_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_valkyr_target_search_SpellScript); + PrepareSpellScript(spell_the_lich_king_valkyr_target_search_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2576,7 +2576,7 @@ class spell_the_lich_king_cast_back_to_caster : public SpellScriptLoader class spell_the_lich_king_cast_back_to_caster_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_cast_back_to_caster_SpellScript); + PrepareSpellScript(spell_the_lich_king_cast_back_to_caster_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2602,7 +2602,7 @@ class spell_the_lich_king_life_siphon : public SpellScriptLoader class spell_the_lich_king_life_siphon_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_life_siphon_SpellScript); + PrepareSpellScript(spell_the_lich_king_life_siphon_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2635,7 +2635,7 @@ class spell_the_lich_king_vile_spirits : public SpellScriptLoader class spell_the_lich_king_vile_spirits_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_vile_spirits_AuraScript); + PrepareAuraScript(spell_the_lich_king_vile_spirits_AuraScript) bool Load() override { @@ -2670,7 +2670,7 @@ class spell_the_lich_king_vile_spirits_visual : public SpellScriptLoader class spell_the_lich_king_vile_spirits_visual_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_vile_spirits_visual_SpellScript); + PrepareSpellScript(spell_the_lich_king_vile_spirits_visual_SpellScript) void ModDestHeight(SpellEffIndex /*effIndex*/) { @@ -2697,7 +2697,7 @@ class spell_the_lich_king_vile_spirit_move_target_search : public SpellScriptLoa class spell_the_lich_king_vile_spirit_move_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_vile_spirit_move_target_search_SpellScript); + PrepareSpellScript(spell_the_lich_king_vile_spirit_move_target_search_SpellScript) bool Load() override { @@ -2746,7 +2746,7 @@ class spell_the_lich_king_vile_spirit_damage_target_search : public SpellScriptL class spell_the_lich_king_vile_spirit_damage_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_vile_spirit_damage_target_search_SpellScript); + PrepareSpellScript(spell_the_lich_king_vile_spirit_damage_target_search_SpellScript) bool Load() override { @@ -2787,7 +2787,7 @@ class spell_the_lich_king_harvest_soul : public SpellScriptLoader class spell_the_lich_king_harvest_soul_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_harvest_soul_AuraScript); + PrepareAuraScript(spell_the_lich_king_harvest_soul_AuraScript) bool Load() override { @@ -2820,7 +2820,7 @@ class spell_the_lich_king_lights_favor : public SpellScriptLoader class spell_the_lich_king_lights_favor_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_lights_favor_AuraScript); + PrepareAuraScript(spell_the_lich_king_lights_favor_AuraScript) void OnPeriodic(AuraEffect const* /*aurEff*/) { @@ -2857,7 +2857,7 @@ class spell_the_lich_king_soul_rip : public SpellScriptLoader class spell_the_lich_king_soul_rip_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_soul_rip_AuraScript); + PrepareAuraScript(spell_the_lich_king_soul_rip_AuraScript) void OnPeriodic(AuraEffect const* aurEff) { @@ -2886,7 +2886,7 @@ class spell_the_lich_king_restore_soul : public SpellScriptLoader class spell_the_lich_king_restore_soul_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_restore_soul_SpellScript); + PrepareSpellScript(spell_the_lich_king_restore_soul_SpellScript) bool Load() override { @@ -2939,7 +2939,7 @@ class spell_the_lich_king_dark_hunger : public SpellScriptLoader class spell_the_lich_king_dark_hunger_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_dark_hunger_AuraScript); + PrepareAuraScript(spell_the_lich_king_dark_hunger_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2974,7 +2974,7 @@ class spell_the_lich_king_in_frostmourne_room : public SpellScriptLoader class spell_the_lich_king_in_frostmourne_room_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_in_frostmourne_room_AuraScript); + PrepareAuraScript(spell_the_lich_king_in_frostmourne_room_AuraScript) bool Load() override { @@ -3007,7 +3007,7 @@ class spell_the_lich_king_summon_spirit_bomb : public SpellScriptLoader class spell_the_lich_king_summon_spirit_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_summon_spirit_bomb_SpellScript); + PrepareSpellScript(spell_the_lich_king_summon_spirit_bomb_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -3034,7 +3034,7 @@ class spell_the_lich_king_trigger_vile_spirit : public SpellScriptLoader class spell_the_lich_king_trigger_vile_spirit_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_trigger_vile_spirit_SpellScript); + PrepareSpellScript(spell_the_lich_king_trigger_vile_spirit_SpellScript) void ActivateSpirit() { @@ -3064,7 +3064,7 @@ class spell_the_lich_king_jump : public SpellScriptLoader class spell_the_lich_king_jump_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_jump_SpellScript); + PrepareSpellScript(spell_the_lich_king_jump_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -3094,7 +3094,7 @@ class spell_the_lich_king_jump_remove_aura : public SpellScriptLoader class spell_the_lich_king_jump_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_jump_SpellScript); + PrepareSpellScript(spell_the_lich_king_jump_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -3121,7 +3121,7 @@ class spell_the_lich_king_play_movie : public SpellScriptLoader class spell_the_lich_king_play_movie_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_play_movie_SpellScript); + PrepareSpellScript(spell_the_lich_king_play_movie_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp index 0c504842c0800..31542a9122a0c 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp @@ -1113,7 +1113,7 @@ class spell_dreamwalker_mana_void : public SpellScriptLoader class spell_dreamwalker_mana_void_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_mana_void_AuraScript); + PrepareAuraScript(spell_dreamwalker_mana_void_AuraScript) void PeriodicTick(AuraEffect const* aurEff) { @@ -1143,7 +1143,7 @@ class spell_dreamwalker_decay_periodic_timer : public SpellScriptLoader class spell_dreamwalker_decay_periodic_timer_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_decay_periodic_timer_AuraScript); + PrepareAuraScript(spell_dreamwalker_decay_periodic_timer_AuraScript) bool Load() override { @@ -1181,7 +1181,7 @@ class spell_dreamwalker_summoner : public SpellScriptLoader class spell_dreamwalker_summoner_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summoner_SpellScript); + PrepareSpellScript(spell_dreamwalker_summoner_SpellScript) bool Load() override { @@ -1230,7 +1230,7 @@ class spell_dreamwalker_summon_suppresser : public SpellScriptLoader class spell_dreamwalker_summon_suppresser_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_summon_suppresser_AuraScript); + PrepareAuraScript(spell_dreamwalker_summon_suppresser_AuraScript) void PeriodicTick(AuraEffect const* /*aurEff*/) { @@ -1271,7 +1271,7 @@ class spell_dreamwalker_summon_suppresser_effect : public SpellScriptLoader class spell_dreamwalker_summon_suppresser_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summon_suppresser_effect_SpellScript); + PrepareSpellScript(spell_dreamwalker_summon_suppresser_effect_SpellScript) bool Load() override { @@ -1308,7 +1308,7 @@ class spell_dreamwalker_summon_dream_portal : public SpellScriptLoader class spell_dreamwalker_summon_dream_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summon_dream_portal_SpellScript); + PrepareSpellScript(spell_dreamwalker_summon_dream_portal_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1339,7 +1339,7 @@ class spell_dreamwalker_summon_nightmare_portal : public SpellScriptLoader class spell_dreamwalker_summon_nightmare_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summon_nightmare_portal_SpellScript); + PrepareSpellScript(spell_dreamwalker_summon_nightmare_portal_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1370,7 +1370,7 @@ class spell_dreamwalker_nightmare_cloud : public SpellScriptLoader class spell_dreamwalker_nightmare_cloud_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_nightmare_cloud_AuraScript); + PrepareAuraScript(spell_dreamwalker_nightmare_cloud_AuraScript) bool Load() override { @@ -1405,7 +1405,7 @@ class spell_dreamwalker_twisted_nightmares : public SpellScriptLoader class spell_dreamwalker_twisted_nightmares_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_twisted_nightmares_SpellScript); + PrepareSpellScript(spell_dreamwalker_twisted_nightmares_SpellScript) void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp index 592c44940a431..96271872f87a7 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp @@ -1733,7 +1733,7 @@ class spell_icc_stoneform : public SpellScriptLoader class spell_icc_stoneform_AuraScript : public AuraScript { - PrepareAuraScript(spell_icc_stoneform_AuraScript); + PrepareAuraScript(spell_icc_stoneform_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1775,7 +1775,7 @@ class spell_icc_sprit_alarm : public SpellScriptLoader class spell_icc_sprit_alarm_SpellScript : public SpellScript { - PrepareSpellScript(spell_icc_sprit_alarm_SpellScript); + PrepareSpellScript(spell_icc_sprit_alarm_SpellScript) void HandleEvent(SpellEffIndex effIndex) { @@ -1860,7 +1860,7 @@ class spell_frost_giant_death_plague : public SpellScriptLoader class spell_frost_giant_death_plague_SpellScript : public SpellScript { - PrepareSpellScript(spell_frost_giant_death_plague_SpellScript); + PrepareSpellScript(spell_frost_giant_death_plague_SpellScript) bool Load() override { @@ -1922,7 +1922,7 @@ class spell_icc_harvest_blight_specimen : public SpellScriptLoader class spell_icc_harvest_blight_specimen_SpellScript : public SpellScript { - PrepareSpellScript(spell_icc_harvest_blight_specimen_SpellScript); + PrepareSpellScript(spell_icc_harvest_blight_specimen_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1966,7 +1966,7 @@ class spell_svalna_revive_champion : public SpellScriptLoader class spell_svalna_revive_champion_SpellScript : public SpellScript { - PrepareSpellScript(spell_svalna_revive_champion_SpellScript); + PrepareSpellScript(spell_svalna_revive_champion_SpellScript) void RemoveAliveTarget(std::list& targets) { @@ -2007,7 +2007,7 @@ class spell_svalna_remove_spear : public SpellScriptLoader class spell_svalna_remove_spear_SpellScript : public SpellScript { - PrepareSpellScript(spell_svalna_remove_spear_SpellScript); + PrepareSpellScript(spell_svalna_remove_spear_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -2040,7 +2040,7 @@ class spell_icc_soul_missile : public SpellScriptLoader class spell_icc_soul_missile_SpellScript : public SpellScript { - PrepareSpellScript(spell_icc_soul_missile_SpellScript); + PrepareSpellScript(spell_icc_soul_missile_SpellScript) void RelocateDest(SpellDestination& dest) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h index 7b00f2f19d77a..fa535619e4105 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h +++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h @@ -518,7 +518,7 @@ class spell_trigger_spell_from_caster : public SpellScriptLoader class spell_trigger_spell_from_caster_SpellScript : public SpellScript { - PrepareSpellScript(spell_trigger_spell_from_caster_SpellScript); + PrepareSpellScript(spell_trigger_spell_from_caster_SpellScript) public: spell_trigger_spell_from_caster_SpellScript(uint32 triggerId) : SpellScript(), _triggerId(triggerId) { } diff --git a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp index 0543b0274b5d8..4f66cad51a5ef 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp @@ -395,7 +395,7 @@ class spell_four_horsemen_mark : public SpellScriptLoader class spell_four_horsemen_mark_AuraScript : public AuraScript { - PrepareAuraScript(spell_four_horsemen_mark_AuraScript); + PrepareAuraScript(spell_four_horsemen_mark_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp index 29e435e212745..67eb2284cfcbe 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp @@ -595,7 +595,7 @@ class spell_gothik_shadow_bolt_volley : public SpellScriptLoader class spell_gothik_shadow_bolt_volley_SpellScript : public SpellScript { - PrepareSpellScript(spell_gothik_shadow_bolt_volley_SpellScript); + PrepareSpellScript(spell_gothik_shadow_bolt_volley_SpellScript) void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp index 929c52a986ca8..03c09c8d02b81 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp @@ -147,7 +147,7 @@ class spell_grobbulus_mutating_injection : public SpellScriptLoader class spell_grobbulus_mutating_injection_AuraScript : public AuraScript { - PrepareAuraScript(spell_grobbulus_mutating_injection_AuraScript); + PrepareAuraScript(spell_grobbulus_mutating_injection_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -190,7 +190,7 @@ class spell_grobbulus_poison_cloud : public SpellScriptLoader class spell_grobbulus_poison_cloud_AuraScript : public AuraScript { - PrepareAuraScript(spell_grobbulus_poison_cloud_AuraScript); + PrepareAuraScript(spell_grobbulus_poison_cloud_AuraScript) bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp index 48dc889ef2b87..f2d702a762ffc 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp @@ -188,7 +188,7 @@ class spell_heigan_eruption : public SpellScriptLoader class spell_heigan_eruption_SpellScript : public SpellScript { - PrepareSpellScript(spell_heigan_eruption_SpellScript); + PrepareSpellScript(spell_heigan_eruption_SpellScript) void HandleScript(SpellEffIndex /*eff*/) { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp b/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp index 8b3ac64fb8953..671cefdca0e1a 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp @@ -754,7 +754,7 @@ class spell_kelthuzad_detonate_mana : public SpellScriptLoader class spell_kelthuzad_detonate_mana_AuraScript : public AuraScript { - PrepareAuraScript(spell_kelthuzad_detonate_mana_AuraScript); + PrepareAuraScript(spell_kelthuzad_detonate_mana_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp index 946b60d4e27aa..bcd50390ff20a 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp @@ -165,7 +165,7 @@ class spell_loatheb_necrotic_aura_warning : public SpellScriptLoader class spell_loatheb_necrotic_aura_warning_AuraScript : public AuraScript { - PrepareAuraScript(spell_loatheb_necrotic_aura_warning_AuraScript); + PrepareAuraScript(spell_loatheb_necrotic_aura_warning_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp index 528b2fec34888..b46d558021f6e 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp @@ -441,7 +441,7 @@ class spell_thaddius_pos_neg_charge : public SpellScriptLoader class spell_thaddius_pos_neg_charge_SpellScript : public SpellScript { - PrepareSpellScript(spell_thaddius_pos_neg_charge_SpellScript); + PrepareSpellScript(spell_thaddius_pos_neg_charge_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -520,7 +520,7 @@ class spell_thaddius_polarity_shift : public SpellScriptLoader class spell_thaddius_polarity_shift_SpellScript : public SpellScript { - PrepareSpellScript(spell_thaddius_polarity_shift_SpellScript); + PrepareSpellScript(spell_thaddius_polarity_shift_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp index 3f0fb2f93b1dc..f68fac638fa6b 100644 --- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp +++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp @@ -1647,7 +1647,7 @@ class spell_malygos_portal_beam : public SpellScriptLoader class spell_malygos_portal_beam_AuraScript : public AuraScript { - PrepareAuraScript(spell_malygos_portal_beam_AuraScript); + PrepareAuraScript(spell_malygos_portal_beam_AuraScript) bool Load() override { @@ -1694,7 +1694,7 @@ class spell_malygos_random_portal : public SpellScriptLoader class spell_malygos_random_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_malygos_random_portal_SpellScript); + PrepareSpellScript(spell_malygos_random_portal_SpellScript) bool Load() override { @@ -1750,7 +1750,7 @@ class spell_malygos_arcane_storm : public SpellScriptLoader class spell_malygos_arcane_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_malygos_arcane_storm_SpellScript); + PrepareSpellScript(spell_malygos_arcane_storm_SpellScript) bool Load() override { @@ -1847,7 +1847,7 @@ class spell_malygos_vortex_visual : public SpellScriptLoader class spell_malygos_vortex_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_malygos_vortex_visual_AuraScript); + PrepareAuraScript(spell_malygos_vortex_visual_AuraScript) bool Load() override { @@ -1926,7 +1926,7 @@ class spell_arcane_overload : public SpellScriptLoader class spell_arcane_overload_SpellScript : public SpellScript { - PrepareSpellScript(spell_arcane_overload_SpellScript); + PrepareSpellScript(spell_arcane_overload_SpellScript) bool Load() override { @@ -1959,7 +1959,7 @@ class spell_nexus_lord_align_disk_aggro : public SpellScriptLoader class spell_nexus_lord_align_disk_aggro_SpellScript : public SpellScript { - PrepareSpellScript(spell_nexus_lord_align_disk_aggro_SpellScript); + PrepareSpellScript(spell_nexus_lord_align_disk_aggro_SpellScript) bool Load() override { @@ -2010,7 +2010,7 @@ class spell_scion_of_eternity_arcane_barrage : public SpellScriptLoader class spell_scion_of_eternity_arcane_barrage_SpellScript : public SpellScript { - PrepareSpellScript(spell_scion_of_eternity_arcane_barrage_SpellScript); + PrepareSpellScript(spell_scion_of_eternity_arcane_barrage_SpellScript) bool Load() override { @@ -2094,7 +2094,7 @@ class spell_malygos_destroy_platform_channel : public SpellScriptLoader class spell_malygos_destroy_platform_channel_AuraScript : public AuraScript { - PrepareAuraScript(spell_malygos_destroy_platform_channel_AuraScript); + PrepareAuraScript(spell_malygos_destroy_platform_channel_AuraScript) bool Load() override { @@ -2136,7 +2136,7 @@ class spell_alexstrasza_bunny_destroy_platform_boom_visual : public SpellScriptL class spell_alexstrasza_bunny_destroy_platform_boom_visual_SpellScript : public SpellScript { - PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_boom_visual_SpellScript); + PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_boom_visual_SpellScript) bool Load() override { @@ -2176,7 +2176,7 @@ class spell_alexstrasza_bunny_destroy_platform_event : public SpellScriptLoader class spell_alexstrasza_bunny_destroy_platform_event_SpellScript : public SpellScript { - PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_event_SpellScript); + PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_event_SpellScript) bool Load() override { @@ -2217,7 +2217,7 @@ class spell_wyrmrest_skytalon_summon_red_dragon_buddy : public SpellScriptLoader class spell_wyrmrest_skytalon_summon_red_dragon_buddy_SpellScript : public SpellScript { - PrepareSpellScript(spell_wyrmrest_skytalon_summon_red_dragon_buddy_SpellScript); + PrepareSpellScript(spell_wyrmrest_skytalon_summon_red_dragon_buddy_SpellScript) bool Load() override { @@ -2250,7 +2250,7 @@ class spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger : public SpellScript class spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger_SpellScript); + PrepareSpellScript(spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger_SpellScript) bool Load() override { @@ -2399,7 +2399,7 @@ class spell_alexstrasza_gift_beam : public SpellScriptLoader class spell_alexstrasza_gift_beam_AuraScript : public AuraScript { - PrepareAuraScript(spell_alexstrasza_gift_beam_AuraScript); + PrepareAuraScript(spell_alexstrasza_gift_beam_AuraScript) bool Load() override { @@ -2446,7 +2446,7 @@ class spell_alexstrasza_gift_beam_visual : public SpellScriptLoader class spell_alexstrasza_gift_beam_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_alexstrasza_gift_beam_visual_AuraScript); + PrepareAuraScript(spell_alexstrasza_gift_beam_visual_AuraScript) bool Load() override { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp index 38e6a3fc8160e..6e36f95e03be7 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp @@ -234,7 +234,7 @@ class spell_intense_cold : public SpellScriptLoader class spell_intense_cold_AuraScript : public AuraScript { - PrepareAuraScript(spell_intense_cold_AuraScript); + PrepareAuraScript(spell_intense_cold_AuraScript) void HandlePeriodicTick(AuraEffect const* aurEff) { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp index 222f0474c01ad..55f3b7b7315bc 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp @@ -263,7 +263,7 @@ class spell_crystal_spike : public SpellScriptLoader class spell_crystal_spike_AuraScript : public AuraScript { - PrepareAuraScript(spell_crystal_spike_AuraScript); + PrepareAuraScript(spell_crystal_spike_AuraScript) void HandlePeriodic(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp index 3ae61bdd116b0..0c18984d970ac 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp @@ -258,7 +258,7 @@ class spell_eregos_planar_shift : public SpellScriptLoader class spell_eregos_planar_shift_AuraScript : public AuraScript { - PrepareAuraScript(spell_eregos_planar_shift_AuraScript); + PrepareAuraScript(spell_eregos_planar_shift_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp index 0870614ba782b..22e266a4cd191 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp @@ -249,7 +249,7 @@ class spell_varos_centrifuge_shield : public SpellScriptLoader class spell_varos_centrifuge_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_varos_centrifuge_shield_AuraScript); + PrepareAuraScript(spell_varos_centrifuge_shield_AuraScript) bool Load() override { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp index 259d7faa6fe3e..875bd4e39cbce 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp @@ -371,7 +371,7 @@ class spell_oculus_call_ruby_emerald_amber_drake : public SpellScriptLoader class spell_oculus_call_ruby_emerald_amber_drake_SpellScript : public SpellScript { - PrepareSpellScript(spell_oculus_call_ruby_emerald_amber_drake_SpellScript); + PrepareSpellScript(spell_oculus_call_ruby_emerald_amber_drake_SpellScript) void SetDest(SpellDestination& dest) { @@ -402,7 +402,7 @@ class spell_oculus_ride_ruby_emerald_amber_drake_que : public SpellScriptLoader class spell_oculus_ride_ruby_emerald_amber_drake_que_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_ride_ruby_emerald_amber_drake_que_AuraScript); + PrepareAuraScript(spell_oculus_ride_ruby_emerald_amber_drake_que_AuraScript) void HandlePeriodic(AuraEffect const* aurEff) { @@ -432,7 +432,7 @@ class spell_oculus_evasive_maneuvers : public SpellScriptLoader class spell_oculus_evasive_maneuvers_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_evasive_maneuvers_AuraScript); + PrepareAuraScript(spell_oculus_evasive_maneuvers_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -469,7 +469,7 @@ class spell_oculus_shock_lance : public SpellScriptLoader class spell_oculus_shock_lance_SpellScript : public SpellScript { - PrepareSpellScript(spell_oculus_shock_lance_SpellScript); + PrepareSpellScript(spell_oculus_shock_lance_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -511,7 +511,7 @@ class spell_oculus_stop_time : public SpellScriptLoader class spell_oculus_stop_time_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_stop_time_AuraScript); + PrepareAuraScript(spell_oculus_stop_time_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -551,7 +551,7 @@ class spell_oculus_temporal_rift : public SpellScriptLoader class spell_oculus_temporal_rift_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_temporal_rift_AuraScript); + PrepareAuraScript(spell_oculus_temporal_rift_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -595,7 +595,7 @@ class spell_oculus_touch_the_nightmare : public SpellScriptLoader class spell_oculus_touch_the_nightmare_SpellScript : public SpellScript { - PrepareSpellScript(spell_oculus_touch_the_nightmare_SpellScript); + PrepareSpellScript(spell_oculus_touch_the_nightmare_SpellScript) void HandleDamageCalc(SpellEffIndex /*effIndex*/) { @@ -622,7 +622,7 @@ class spell_oculus_dream_funnel : public SpellScriptLoader class spell_oculus_dream_funnel_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_dream_funnel_AuraScript); + PrepareAuraScript(spell_oculus_dream_funnel_AuraScript) void HandleEffectCalcAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated) { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp index 576fc4492f167..867944ca42387 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp @@ -190,7 +190,7 @@ class spell_loken_pulsing_shockwave : public SpellScriptLoader class spell_loken_pulsing_shockwave_SpellScript : public SpellScript { - PrepareSpellScript(spell_loken_pulsing_shockwave_SpellScript); + PrepareSpellScript(spell_loken_pulsing_shockwave_SpellScript) void CalculateDamage(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp index c81cd0b0b80aa..459f68d67ee78 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp @@ -187,7 +187,7 @@ class spell_krystallus_shatter : public SpellScriptLoader class spell_krystallus_shatter_SpellScript : public SpellScript { - PrepareSpellScript(spell_krystallus_shatter_SpellScript); + PrepareSpellScript(spell_krystallus_shatter_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -217,7 +217,7 @@ class spell_krystallus_shatter_effect : public SpellScriptLoader class spell_krystallus_shatter_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_krystallus_shatter_effect_SpellScript); + PrepareSpellScript(spell_krystallus_shatter_effect_SpellScript) void CalculateDamage() { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp index 6750038275891..f7af92172c1ff 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp @@ -1039,7 +1039,7 @@ class spell_algalon_phase_punch : public SpellScriptLoader class spell_algalon_phase_punch_AuraScript : public AuraScript { - PrepareAuraScript(spell_algalon_phase_punch_AuraScript); + PrepareAuraScript(spell_algalon_phase_punch_AuraScript) void HandlePeriodic(AuraEffect const* /*aurEff*/) { @@ -1093,7 +1093,7 @@ class spell_algalon_arcane_barrage : public SpellScriptLoader class spell_algalon_arcane_barrage_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_arcane_barrage_SpellScript); + PrepareSpellScript(spell_algalon_arcane_barrage_SpellScript) void SelectTarget(std::list& targets) { @@ -1128,7 +1128,7 @@ class spell_algalon_trigger_3_adds : public SpellScriptLoader class spell_algalon_trigger_3_adds_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_trigger_3_adds_SpellScript); + PrepareSpellScript(spell_algalon_trigger_3_adds_SpellScript) void SelectTarget(std::list& targets) { @@ -1164,7 +1164,7 @@ class spell_algalon_collapse : public SpellScriptLoader class spell_algalon_collapse_AuraScript : public AuraScript { - PrepareAuraScript(spell_algalon_collapse_AuraScript); + PrepareAuraScript(spell_algalon_collapse_AuraScript) void HandlePeriodic(AuraEffect const* /*aurEff*/) { @@ -1191,7 +1191,7 @@ class spell_algalon_big_bang : public SpellScriptLoader class spell_algalon_big_bang_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_big_bang_SpellScript); + PrepareSpellScript(spell_algalon_big_bang_SpellScript) bool Load() override { @@ -1232,7 +1232,7 @@ class spell_algalon_remove_phase : public SpellScriptLoader class spell_algalon_remove_phase_AuraScript : public AuraScript { - PrepareAuraScript(spell_algalon_remove_phase_AuraScript); + PrepareAuraScript(spell_algalon_remove_phase_AuraScript) void HandlePeriodic(AuraEffect const* /*aurEff*/) { @@ -1260,7 +1260,7 @@ class spell_algalon_cosmic_smash : public SpellScriptLoader class spell_algalon_cosmic_smash_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_cosmic_smash_SpellScript); + PrepareSpellScript(spell_algalon_cosmic_smash_SpellScript) void ModDestHeight(SpellDestination& dest) { @@ -1287,7 +1287,7 @@ class spell_algalon_cosmic_smash_damage : public SpellScriptLoader class spell_algalon_cosmic_smash_damage_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_cosmic_smash_damage_SpellScript); + PrepareSpellScript(spell_algalon_cosmic_smash_damage_SpellScript) void RecalculateDamage() { @@ -1318,7 +1318,7 @@ class spell_algalon_supermassive_fail : public SpellScriptLoader class spell_algalon_supermassive_fail_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_supermassive_fail_SpellScript); + PrepareSpellScript(spell_algalon_supermassive_fail_SpellScript) void RecalculateDamage() { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp index 9a08f01c2792d..98e9b52524b15 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp @@ -633,7 +633,7 @@ class spell_shield_of_runes : public SpellScriptLoader class spell_shield_of_runes_AuraScript : public AuraScript { - PrepareAuraScript(spell_shield_of_runes_AuraScript); + PrepareAuraScript(spell_shield_of_runes_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -661,7 +661,7 @@ class spell_assembly_meltdown : public SpellScriptLoader class spell_assembly_meltdown_SpellScript : public SpellScript { - PrepareSpellScript(spell_assembly_meltdown_SpellScript); + PrepareSpellScript(spell_assembly_meltdown_SpellScript) void HandleInstaKill(SpellEffIndex /*effIndex*/) { @@ -689,7 +689,7 @@ class spell_assembly_rune_of_summoning : public SpellScriptLoader class spell_assembly_rune_of_summoning_AuraScript : public AuraScript { - PrepareAuraScript(spell_assembly_rune_of_summoning_AuraScript); + PrepareAuraScript(spell_assembly_rune_of_summoning_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp index f0b8e123c633d..9a792e118eafe 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp @@ -489,7 +489,7 @@ class spell_auriaya_strenght_of_the_pack : public SpellScriptLoader class spell_auriaya_strenght_of_the_pack_SpellScript : public SpellScript { - PrepareSpellScript(spell_auriaya_strenght_of_the_pack_SpellScript); + PrepareSpellScript(spell_auriaya_strenght_of_the_pack_SpellScript) void FilterTargets(std::list& unitList) { @@ -515,7 +515,7 @@ class spell_auriaya_sentinel_blast : public SpellScriptLoader class spell_auriaya_sentinel_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_auriaya_sentinel_blast_SpellScript); + PrepareSpellScript(spell_auriaya_sentinel_blast_SpellScript) void FilterTargets(std::list& unitList) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp index 52cda5148cf35..6312523bb258a 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp @@ -1458,7 +1458,7 @@ class spell_load_into_catapult : public SpellScriptLoader class spell_load_into_catapult_AuraScript : public AuraScript { - PrepareAuraScript(spell_load_into_catapult_AuraScript); + PrepareAuraScript(spell_load_into_catapult_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1503,7 +1503,7 @@ class spell_auto_repair : public SpellScriptLoader class spell_auto_repair_SpellScript : public SpellScript { - PrepareSpellScript(spell_auto_repair_SpellScript); + PrepareSpellScript(spell_auto_repair_SpellScript) void CheckCooldownForTarget() { @@ -1564,7 +1564,7 @@ class spell_systems_shutdown : public SpellScriptLoader class spell_systems_shutdown_AuraScript : public AuraScript { - PrepareAuraScript(spell_systems_shutdown_AuraScript); + PrepareAuraScript(spell_systems_shutdown_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1650,7 +1650,7 @@ class spell_pursue : public SpellScriptLoader class spell_pursue_SpellScript : public SpellScript { - PrepareSpellScript(spell_pursue_SpellScript); + PrepareSpellScript(spell_pursue_SpellScript) bool Load() override { @@ -1722,7 +1722,7 @@ class spell_vehicle_throw_passenger : public SpellScriptLoader class spell_vehicle_throw_passenger_SpellScript : public SpellScript { - PrepareSpellScript(spell_vehicle_throw_passenger_SpellScript); + PrepareSpellScript(spell_vehicle_throw_passenger_SpellScript) void HandleScript(SpellEffIndex effIndex) { Spell* baseSpell = GetSpell(); diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp index 57df8c76a5678..8b81e8ef8f527 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp @@ -1533,7 +1533,7 @@ class spell_freya_attuned_to_nature_dose_reduction : public SpellScriptLoader class spell_freya_attuned_to_nature_dose_reduction_SpellScript : public SpellScript { - PrepareSpellScript(spell_freya_attuned_to_nature_dose_reduction_SpellScript); + PrepareSpellScript(spell_freya_attuned_to_nature_dose_reduction_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1580,7 +1580,7 @@ class spell_freya_iron_roots : public SpellScriptLoader class spell_freya_iron_roots_SpellScript : public SpellScript { - PrepareSpellScript(spell_freya_iron_roots_SpellScript); + PrepareSpellScript(spell_freya_iron_roots_SpellScript) void HandleSummon(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp index 58df31a447117..fbfcf442e420e 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp @@ -450,7 +450,7 @@ class spell_general_vezax_mark_of_the_faceless : public SpellScriptLoader class spell_general_vezax_mark_of_the_faceless_AuraScript : public AuraScript { - PrepareAuraScript(spell_general_vezax_mark_of_the_faceless_AuraScript); + PrepareAuraScript(spell_general_vezax_mark_of_the_faceless_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) { @@ -484,7 +484,7 @@ class spell_general_vezax_mark_of_the_faceless_leech : public SpellScriptLoader class spell_general_vezax_mark_of_the_faceless_leech_SpellScript : public SpellScript { - PrepareSpellScript(spell_general_vezax_mark_of_the_faceless_leech_SpellScript); + PrepareSpellScript(spell_general_vezax_mark_of_the_faceless_leech_SpellScript) void FilterTargets(std::list& targets) { @@ -513,7 +513,7 @@ class spell_general_vezax_saronite_vapors : public SpellScriptLoader class spell_general_vezax_saronite_vapors_AuraScript : public AuraScript { - PrepareAuraScript(spell_general_vezax_saronite_vapors_AuraScript); + PrepareAuraScript(spell_general_vezax_saronite_vapors_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp index 4d904b04618a4..464efba920c03 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp @@ -921,7 +921,7 @@ class spell_biting_cold : public SpellScriptLoader class spell_biting_cold_AuraScript : public AuraScript { - PrepareAuraScript(spell_biting_cold_AuraScript); + PrepareAuraScript(spell_biting_cold_AuraScript) void HandleEffectPeriodic(AuraEffect const* /*aurEff*/) { @@ -977,7 +977,7 @@ class spell_biting_cold_dot : public SpellScriptLoader class spell_biting_cold_dot_AuraScript : public AuraScript { - PrepareAuraScript(spell_biting_cold_dot_AuraScript); + PrepareAuraScript(spell_biting_cold_dot_AuraScript) void HandleEffectPeriodic(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp index ef9bd9a8b12dc..68888e04b8f20 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp @@ -430,7 +430,7 @@ class spell_ignis_slag_pot : public SpellScriptLoader class spell_ignis_slag_pot_AuraScript : public AuraScript { - PrepareAuraScript(spell_ignis_slag_pot_AuraScript); + PrepareAuraScript(spell_ignis_slag_pot_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp index e77350e2710f9..67ec9c55eb5dd 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp @@ -331,7 +331,7 @@ class spell_ulduar_rubble_summon : public SpellScriptLoader class spell_ulduar_rubble_summonSpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_rubble_summonSpellScript); + PrepareSpellScript(spell_ulduar_rubble_summonSpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -385,7 +385,7 @@ class spell_ulduar_stone_grip_cast_target : public SpellScriptLoader class spell_ulduar_stone_grip_cast_target_SpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_stone_grip_cast_target_SpellScript); + PrepareSpellScript(spell_ulduar_stone_grip_cast_target_SpellScript) bool Load() override { @@ -445,7 +445,7 @@ class spell_ulduar_cancel_stone_grip : public SpellScriptLoader class spell_ulduar_cancel_stone_gripSpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_cancel_stone_gripSpellScript); + PrepareSpellScript(spell_ulduar_cancel_stone_gripSpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -485,7 +485,7 @@ class spell_ulduar_squeezed_lifeless : public SpellScriptLoader class spell_ulduar_squeezed_lifeless_SpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_squeezed_lifeless_SpellScript); + PrepareSpellScript(spell_ulduar_squeezed_lifeless_SpellScript) void HandleInstaKill(SpellEffIndex /*effIndex*/) { @@ -523,7 +523,7 @@ class spell_ulduar_stone_grip_absorb : public SpellScriptLoader class spell_ulduar_stone_grip_absorb_AuraScript : public AuraScript { - PrepareAuraScript(spell_ulduar_stone_grip_absorb_AuraScript); + PrepareAuraScript(spell_ulduar_stone_grip_absorb_AuraScript) //! This will be called when Right Arm (vehicle) has sustained a specific amount of damage depending on instance mode //! What we do here is remove all harmful aura's related and teleport to safe spot. @@ -560,7 +560,7 @@ class spell_ulduar_stone_grip : public SpellScriptLoader class spell_ulduar_stone_grip_AuraScript : public AuraScript { - PrepareAuraScript(spell_ulduar_stone_grip_AuraScript); + PrepareAuraScript(spell_ulduar_stone_grip_AuraScript) void OnRemoveStun(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { @@ -613,7 +613,7 @@ class spell_kologarn_stone_shout : public SpellScriptLoader class spell_kologarn_stone_shout_SpellScript : public SpellScript { - PrepareSpellScript(spell_kologarn_stone_shout_SpellScript); + PrepareSpellScript(spell_kologarn_stone_shout_SpellScript) void FilterTargets(std::list& unitList) { @@ -639,7 +639,7 @@ class spell_kologarn_summon_focused_eyebeam : public SpellScriptLoader class spell_kologarn_summon_focused_eyebeam_SpellScript : public SpellScript { - PrepareSpellScript(spell_kologarn_summon_focused_eyebeam_SpellScript); + PrepareSpellScript(spell_kologarn_summon_focused_eyebeam_SpellScript) void HandleForceCast(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp index e0d46ad21ba79..baeae55535c0d 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp @@ -1014,7 +1014,7 @@ class spell_razorscale_devouring_flame : public SpellScriptLoader class spell_razorscale_devouring_flame_SpellScript : public SpellScript { - PrepareSpellScript(spell_razorscale_devouring_flame_SpellScript); + PrepareSpellScript(spell_razorscale_devouring_flame_SpellScript) void HandleSummon(SpellEffIndex effIndex) { @@ -1047,7 +1047,7 @@ class spell_razorscale_flame_breath : public SpellScriptLoader class spell_razorscale_flame_breath_SpellScript : public SpellScript { - PrepareSpellScript(spell_razorscale_flame_breath_SpellScript); + PrepareSpellScript(spell_razorscale_flame_breath_SpellScript) void CheckDamage() { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp index c57c3b33d01fb..7290ab9943c0e 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp @@ -767,7 +767,7 @@ class spell_xt002_searing_light_spawn_life_spark : public SpellScriptLoader class spell_xt002_searing_light_spawn_life_spark_AuraScript : public AuraScript { - PrepareAuraScript(spell_xt002_searing_light_spawn_life_spark_AuraScript); + PrepareAuraScript(spell_xt002_searing_light_spawn_life_spark_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -803,7 +803,7 @@ class spell_xt002_gravity_bomb_aura : public SpellScriptLoader class spell_xt002_gravity_bomb_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_xt002_gravity_bomb_aura_AuraScript); + PrepareAuraScript(spell_xt002_gravity_bomb_aura_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -855,7 +855,7 @@ class spell_xt002_gravity_bomb_damage : public SpellScriptLoader class spell_xt002_gravity_bomb_damage_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_gravity_bomb_damage_SpellScript); + PrepareSpellScript(spell_xt002_gravity_bomb_damage_SpellScript) void HandleScript(SpellEffIndex /*eff*/) { @@ -887,7 +887,7 @@ class spell_xt002_heart_overload_periodic : public SpellScriptLoader class spell_xt002_heart_overload_periodic_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_heart_overload_periodic_SpellScript); + PrepareSpellScript(spell_xt002_heart_overload_periodic_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -954,7 +954,7 @@ class spell_xt002_tympanic_tantrum : public SpellScriptLoader class spell_xt002_tympanic_tantrum_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_tympanic_tantrum_SpellScript); + PrepareSpellScript(spell_xt002_tympanic_tantrum_SpellScript) void FilterTargets(std::list& targets) { @@ -987,7 +987,7 @@ class spell_xt002_submerged : public SpellScriptLoader class spell_xt002_submerged_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_submerged_SpellScript); + PrepareSpellScript(spell_xt002_submerged_SpellScript) void HandleScript(SpellEffIndex /*eff*/) { @@ -1018,7 +1018,7 @@ class spell_xt002_stand : public SpellScriptLoader class spell_xt002_stand_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_stand_SpellScript); + PrepareSpellScript(spell_xt002_stand_SpellScript) void HandleScript(SpellEffIndex /*eff*/) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp index 9ce5733ab0b34..98a903923cac5 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp @@ -1930,7 +1930,7 @@ class spell_yogg_saron_target_selectors : public SpellScriptLoader // 63744, class spell_yogg_saron_target_selectors_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_target_selectors_SpellScript); + PrepareSpellScript(spell_yogg_saron_target_selectors_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1988,7 +1988,7 @@ class spell_yogg_saron_psychosis : public SpellScriptLoader // 63795, 65301 class spell_yogg_saron_psychosis_SpellScript : public SanityReduction { - PrepareSpellScript(spell_yogg_saron_psychosis_SpellScript); + PrepareSpellScript(spell_yogg_saron_psychosis_SpellScript) bool Load() override { @@ -2026,7 +2026,7 @@ class spell_yogg_saron_malady_of_the_mind : public SpellScriptLoader // 63830 public: spell_yogg_saron_malady_of_the_mind_SpellScript() : SanityReduction(3) { } - PrepareSpellScript(spell_yogg_saron_malady_of_the_mind_SpellScript); + PrepareSpellScript(spell_yogg_saron_malady_of_the_mind_SpellScript) void FilterTargets(std::list& targets) { @@ -2049,7 +2049,7 @@ class spell_yogg_saron_malady_of_the_mind : public SpellScriptLoader // 63830 class spell_yogg_saron_malady_of_the_mind_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_malady_of_the_mind_AuraScript); + PrepareAuraScript(spell_yogg_saron_malady_of_the_mind_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2097,7 +2097,7 @@ class spell_yogg_saron_brain_link : public SpellScriptLoader // 63802 class spell_yogg_saron_brain_link_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_brain_link_SpellScript); + PrepareSpellScript(spell_yogg_saron_brain_link_SpellScript) void FilterTargets(std::list& targets) { @@ -2121,7 +2121,7 @@ class spell_yogg_saron_brain_link : public SpellScriptLoader // 63802 class spell_yogg_saron_brain_link_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_brain_link_AuraScript); + PrepareAuraScript(spell_yogg_saron_brain_link_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2198,7 +2198,7 @@ class spell_yogg_saron_brain_link_damage : public SpellScriptLoader // 6380 public: spell_yogg_saron_brain_link_damage_SpellScript() : SanityReduction(2) { } - PrepareSpellScript(spell_yogg_saron_brain_link_damage_SpellScript); + PrepareSpellScript(spell_yogg_saron_brain_link_damage_SpellScript) void Register() override { @@ -2219,7 +2219,7 @@ class spell_yogg_saron_boil_ominously : public SpellScriptLoader // 63030 class spell_yogg_saron_boil_ominously_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_boil_ominously_SpellScript); + PrepareSpellScript(spell_yogg_saron_boil_ominously_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2259,7 +2259,7 @@ class spell_yogg_saron_shadow_beacon : public SpellScriptLoader // 64465 class spell_yogg_saron_shadow_beacon_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_shadow_beacon_AuraScript); + PrepareAuraScript(spell_yogg_saron_shadow_beacon_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -2293,7 +2293,7 @@ class spell_yogg_saron_empowering_shadows_range_check : public SpellScriptLoader class spell_yogg_saron_empowering_shadows_range_check_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_empowering_shadows_range_check_SpellScript); + PrepareSpellScript(spell_yogg_saron_empowering_shadows_range_check_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2320,7 +2320,7 @@ class spell_yogg_saron_empowering_shadows_missile : public SpellScriptLoader class spell_yogg_saron_empowering_shadows_missile_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_empowering_shadows_missile_SpellScript); + PrepareSpellScript(spell_yogg_saron_empowering_shadows_missile_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2355,7 +2355,7 @@ class spell_yogg_saron_constrictor_tentacle : public SpellScriptLoader // 64 class spell_yogg_saron_constrictor_tentacle_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_constrictor_tentacle_AuraScript); + PrepareAuraScript(spell_yogg_saron_constrictor_tentacle_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2388,7 +2388,7 @@ class spell_yogg_saron_lunge : public SpellScriptLoader // 64131 class spell_yogg_saron_lunge_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_lunge_SpellScript); + PrepareSpellScript(spell_yogg_saron_lunge_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2425,7 +2425,7 @@ class spell_yogg_saron_squeeze : public SpellScriptLoader // 64125 class spell_yogg_saron_squeeze_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_squeeze_AuraScript); + PrepareAuraScript(spell_yogg_saron_squeeze_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -2453,7 +2453,7 @@ class spell_yogg_saron_diminsh_power : public SpellScriptLoader // 64148 class spell_yogg_saron_diminsh_power_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_diminsh_power_AuraScript); + PrepareAuraScript(spell_yogg_saron_diminsh_power_AuraScript) void HandleProc(AuraEffect const* /*aurEff*/, ProcEventInfo& /*eventInfo*/) { @@ -2483,7 +2483,7 @@ class spell_yogg_saron_empowered : public SpellScriptLoader // 64161 class spell_yogg_saron_empowered_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_empowered_AuraScript); + PrepareAuraScript(spell_yogg_saron_empowered_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2534,7 +2534,7 @@ class spell_yogg_saron_match_health : public SpellScriptLoader // 64069 class spell_yogg_saron_match_health_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_match_health_SpellScript); + PrepareSpellScript(spell_yogg_saron_match_health_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2561,7 +2561,7 @@ class spell_yogg_saron_shattered_illusion : public SpellScriptLoader // 65238 class spell_yogg_saron_shattered_illusion_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_shattered_illusion_SpellScript); + PrepareSpellScript(spell_yogg_saron_shattered_illusion_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2588,7 +2588,7 @@ class spell_yogg_saron_death_ray_warning_visual : public SpellScriptLoader / class spell_yogg_saron_death_ray_warning_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_death_ray_warning_visual_AuraScript); + PrepareAuraScript(spell_yogg_saron_death_ray_warning_visual_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2629,7 +2629,7 @@ class spell_yogg_saron_cancel_illusion_room_aura : public SpellScriptLoader / class spell_yogg_saron_cancel_illusion_room_aura_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_cancel_illusion_room_aura_SpellScript); + PrepareSpellScript(spell_yogg_saron_cancel_illusion_room_aura_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2666,7 +2666,7 @@ class spell_yogg_saron_nondescript : public SpellScriptLoader // 64010, 6401 class spell_yogg_saron_nondescript_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_nondescript_AuraScript); + PrepareAuraScript(spell_yogg_saron_nondescript_AuraScript) void OnRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { @@ -2692,7 +2692,7 @@ class spell_yogg_saron_revealed_tentacle : public SpellScriptLoader // 64012 class spell_yogg_saron_revealed_tentacle_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_revealed_tentacle_SpellScript); + PrepareSpellScript(spell_yogg_saron_revealed_tentacle_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2732,7 +2732,7 @@ class spell_yogg_saron_grim_reprisal : public SpellScriptLoader // 63305 class spell_yogg_saron_grim_reprisal_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_grim_reprisal_AuraScript); + PrepareAuraScript(spell_yogg_saron_grim_reprisal_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2766,7 +2766,7 @@ class spell_yogg_saron_induce_madness : public SpellScriptLoader // 64059 class spell_yogg_saron_induce_madness_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_induce_madness_SpellScript); + PrepareSpellScript(spell_yogg_saron_induce_madness_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2816,7 +2816,7 @@ class spell_yogg_saron_sanity : public SpellScriptLoader // 63050 class spell_yogg_saron_sanity_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_sanity_SpellScript); + PrepareSpellScript(spell_yogg_saron_sanity_SpellScript) // don't target players outside of room or handle it in SPELL_INSANE_PERIODIC? @@ -2833,7 +2833,7 @@ class spell_yogg_saron_sanity : public SpellScriptLoader // 63050 class spell_yogg_saron_sanity_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_sanity_AuraScript); + PrepareAuraScript(spell_yogg_saron_sanity_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2892,7 +2892,7 @@ class spell_yogg_saron_insane : public SpellScriptLoader // 63120 class spell_yogg_saron_insane_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_insane_AuraScript); + PrepareAuraScript(spell_yogg_saron_insane_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2936,7 +2936,7 @@ class spell_yogg_saron_insane_periodic : public SpellScriptLoader // 64555 class spell_yogg_saron_insane_periodic_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_insane_periodic_SpellScript); + PrepareSpellScript(spell_yogg_saron_insane_periodic_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2977,7 +2977,7 @@ class spell_yogg_saron_lunatic_gaze : public SpellScriptLoader // 64164, 64 class spell_yogg_saron_lunatic_gaze_SpellScript : public SanityReduction { - PrepareSpellScript(spell_yogg_saron_lunatic_gaze_SpellScript); + PrepareSpellScript(spell_yogg_saron_lunatic_gaze_SpellScript) bool Load() override { @@ -3011,7 +3011,7 @@ class spell_yogg_saron_keeper_aura : public SpellScriptLoader // 62650, 6267 class spell_yogg_saron_keeper_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_keeper_aura_AuraScript); + PrepareAuraScript(spell_yogg_saron_keeper_aura_AuraScript) bool CanApply(Unit* target) { @@ -3039,7 +3039,7 @@ class spell_yogg_saron_hate_to_zero : public SpellScriptLoader // 63984 class spell_yogg_saron_hate_to_zero_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_hate_to_zero_SpellScript); + PrepareSpellScript(spell_yogg_saron_hate_to_zero_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -3067,7 +3067,7 @@ class spell_yogg_saron_in_the_maws_of_the_old_god : public SpellScriptLoader class spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript); + PrepareSpellScript(spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript) SpellCastResult CheckRequirement() { @@ -3103,7 +3103,7 @@ class spell_yogg_saron_titanic_storm : public SpellScriptLoader // 64172 class spell_yogg_saron_titanic_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_titanic_storm_SpellScript); + PrepareSpellScript(spell_yogg_saron_titanic_storm_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -3130,7 +3130,7 @@ class spell_yogg_saron_hodirs_protective_gaze : public SpellScriptLoader // class spell_yogg_saron_hodirs_protective_gaze_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_hodirs_protective_gaze_AuraScript); + PrepareAuraScript(spell_yogg_saron_hodirs_protective_gaze_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { 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 67bf6214374cc..3e1d75e0f21b0 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 @@ -395,7 +395,7 @@ class spell_ingvar_summon_banshee : public SpellScriptLoader class spell_ingvar_summon_banshee_SpellScript : public SpellScript { - PrepareSpellScript(spell_ingvar_summon_banshee_SpellScript); + PrepareSpellScript(spell_ingvar_summon_banshee_SpellScript) void SetDest(SpellDestination& dest) { @@ -422,7 +422,7 @@ class spell_ingvar_woe_strike : public SpellScriptLoader class spell_ingvar_woe_strike_AuraScript : public AuraScript { - PrepareAuraScript(spell_ingvar_woe_strike_AuraScript); + PrepareAuraScript(spell_ingvar_woe_strike_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp index 890c39fa7754b..fefa27fc75442 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp @@ -325,7 +325,7 @@ class spell_frost_tomb : public SpellScriptLoader class spell_frost_tomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_frost_tomb_AuraScript); + PrepareAuraScript(spell_frost_tomb_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp index e54c8847d4619..5e19041eb627a 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp @@ -126,7 +126,7 @@ class spell_ticking_time_bomb : public SpellScriptLoader class spell_ticking_time_bomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_ticking_time_bomb_AuraScript); + PrepareAuraScript(spell_ticking_time_bomb_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -165,7 +165,7 @@ class spell_fixate : public SpellScriptLoader class spell_fixate_SpellScript : public SpellScript { - PrepareSpellScript(spell_fixate_SpellScript); + PrepareSpellScript(spell_fixate_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp index 621ef20e7e466..84e71900446e7 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp @@ -488,7 +488,7 @@ class spell_paralyze_pinnacle : public SpellScriptLoader class spell_paralyze_pinnacle_SpellScript : public SpellScript { - PrepareSpellScript(spell_paralyze_pinnacle_SpellScript); + PrepareSpellScript(spell_paralyze_pinnacle_SpellScript) void FilterTargets(std::list& unitList) { diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp index c164f8fbf604a..7437bddf1f684 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp @@ -217,7 +217,7 @@ class spell_archavon_rock_shards : public SpellScriptLoader class spell_archavon_rock_shards_SpellScript : public SpellScript { - PrepareSpellScript(spell_archavon_rock_shards_SpellScript); + PrepareSpellScript(spell_archavon_rock_shards_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp index b6c836eb0cd4f..37604d116cd32 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp @@ -189,7 +189,7 @@ class spell_koralon_meteor_fists : public SpellScriptLoader class spell_koralon_meteor_fists_AuraScript : public AuraScript { - PrepareAuraScript(spell_koralon_meteor_fists_AuraScript); + PrepareAuraScript(spell_koralon_meteor_fists_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -223,7 +223,7 @@ class spell_koralon_meteor_fists_damage : public SpellScriptLoader class spell_koralon_meteor_fists_damage_SpellScript : public SpellScript { - PrepareSpellScript(spell_koralon_meteor_fists_damage_SpellScript); + PrepareSpellScript(spell_koralon_meteor_fists_damage_SpellScript) bool Load() override { @@ -265,7 +265,7 @@ class spell_flame_warder_meteor_fists : public SpellScriptLoader class spell_flame_warder_meteor_fists_AuraScript : public AuraScript { - PrepareAuraScript(spell_flame_warder_meteor_fists_AuraScript); + PrepareAuraScript(spell_flame_warder_meteor_fists_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/zone_borean_tundra.cpp b/src/server/scripts/Northrend/zone_borean_tundra.cpp index c226edf28b8d1..d994f96dc4a66 100644 --- a/src/server/scripts/Northrend/zone_borean_tundra.cpp +++ b/src/server/scripts/Northrend/zone_borean_tundra.cpp @@ -2548,7 +2548,7 @@ class spell_windsoul_totem_aura : public SpellScriptLoader class spell_windsoul_totem_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_windsoul_totem_aura_AuraScript); + PrepareAuraScript(spell_windsoul_totem_aura_AuraScript) void OnRemove(AuraEffect const*, AuraEffectHandleModes) { diff --git a/src/server/scripts/Northrend/zone_dragonblight.cpp b/src/server/scripts/Northrend/zone_dragonblight.cpp index bda6d953d9f9f..4ba87ac539e28 100644 --- a/src/server/scripts/Northrend/zone_dragonblight.cpp +++ b/src/server/scripts/Northrend/zone_dragonblight.cpp @@ -432,7 +432,7 @@ class spell_q12096_q12092_dummy : public SpellScriptLoader // Strengthen the Anc class spell_q12096_q12092_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12096_q12092_dummy_SpellScript); + PrepareSpellScript(spell_q12096_q12092_dummy_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -479,7 +479,7 @@ class spell_q12096_q12092_bark : public SpellScriptLoader // Bark of the Walkers class spell_q12096_q12092_bark_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12096_q12092_bark_SpellScript); + PrepareSpellScript(spell_q12096_q12092_bark_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/zone_grizzly_hills.cpp b/src/server/scripts/Northrend/zone_grizzly_hills.cpp index e98d424abd500..d2e6df7b3c727 100644 --- a/src/server/scripts/Northrend/zone_grizzly_hills.cpp +++ b/src/server/scripts/Northrend/zone_grizzly_hills.cpp @@ -761,7 +761,7 @@ class spell_shredder_delivery : public SpellScriptLoader class spell_shredder_delivery_SpellScript : public SpellScript { - PrepareSpellScript(spell_shredder_delivery_SpellScript); + PrepareSpellScript(spell_shredder_delivery_SpellScript) bool Load() override { diff --git a/src/server/scripts/Northrend/zone_howling_fjord.cpp b/src/server/scripts/Northrend/zone_howling_fjord.cpp index c577fb2864f90..1adf5aa0fa9c6 100644 --- a/src/server/scripts/Northrend/zone_howling_fjord.cpp +++ b/src/server/scripts/Northrend/zone_howling_fjord.cpp @@ -443,7 +443,7 @@ class spell_mindless_abomination_explosion_fx_master : public SpellScriptLoader class spell_mindless_abomination_explosion_fx_master_SpellScript : public SpellScript { - PrepareSpellScript(spell_mindless_abomination_explosion_fx_master_SpellScript); + PrepareSpellScript(spell_mindless_abomination_explosion_fx_master_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/zone_sholazar_basin.cpp b/src/server/scripts/Northrend/zone_sholazar_basin.cpp index 3ec138dcfaaa0..54c07b17366c5 100644 --- a/src/server/scripts/Northrend/zone_sholazar_basin.cpp +++ b/src/server/scripts/Northrend/zone_sholazar_basin.cpp @@ -762,7 +762,7 @@ class spell_q12620_the_lifewarden_wrath : public SpellScriptLoader class spell_q12620_the_lifewarden_wrath_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12620_the_lifewarden_wrath_SpellScript); + PrepareSpellScript(spell_q12620_the_lifewarden_wrath_SpellScript) void HandleSendEvent(SpellEffIndex effIndex) { @@ -850,7 +850,7 @@ class spell_q12589_shoot_rjr : public SpellScriptLoader class spell_q12589_shoot_rjr_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12589_shoot_rjr_SpellScript); + PrepareSpellScript(spell_q12589_shoot_rjr_SpellScript) SpellCastResult CheckCast() { @@ -1109,7 +1109,7 @@ class spell_shango_tracks : public SpellScriptLoader class spell_shango_tracks_SpellScript : public SpellScript { - PrepareSpellScript(spell_shango_tracks_SpellScript); + PrepareSpellScript(spell_shango_tracks_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/zone_storm_peaks.cpp b/src/server/scripts/Northrend/zone_storm_peaks.cpp index a7faf776721a9..ee0c4522c8a94 100644 --- a/src/server/scripts/Northrend/zone_storm_peaks.cpp +++ b/src/server/scripts/Northrend/zone_storm_peaks.cpp @@ -732,7 +732,7 @@ class spell_jokkum_scriptcast : public SpellScriptLoader class spell_jokkum_scriptcast_AuraScript : public AuraScript { - PrepareAuraScript(spell_jokkum_scriptcast_AuraScript); + PrepareAuraScript(spell_jokkum_scriptcast_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -765,7 +765,7 @@ class spell_veranus_summon : public SpellScriptLoader class spell_veranus_summon_AuraScript : public AuraScript { - PrepareAuraScript(spell_veranus_summon_AuraScript); + PrepareAuraScript(spell_veranus_summon_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -804,7 +804,7 @@ class spell_close_rift : public SpellScriptLoader class spell_close_rift_AuraScript : public AuraScript { - PrepareAuraScript(spell_close_rift_AuraScript); + PrepareAuraScript(spell_close_rift_AuraScript) bool Load() override { diff --git a/src/server/scripts/Northrend/zone_wintergrasp.cpp b/src/server/scripts/Northrend/zone_wintergrasp.cpp index fe74997bb394d..a2f0ff45787eb 100644 --- a/src/server/scripts/Northrend/zone_wintergrasp.cpp +++ b/src/server/scripts/Northrend/zone_wintergrasp.cpp @@ -481,7 +481,7 @@ class spell_wintergrasp_force_building : public SpellScriptLoader class spell_wintergrasp_force_building_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_force_building_SpellScript); + PrepareSpellScript(spell_wintergrasp_force_building_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -518,7 +518,7 @@ class spell_wintergrasp_grab_passenger : public SpellScriptLoader class spell_wintergrasp_grab_passenger_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_grab_passenger_SpellScript); + PrepareSpellScript(spell_wintergrasp_grab_passenger_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -574,7 +574,7 @@ class spell_wintergrasp_defender_teleport : public SpellScriptLoader class spell_wintergrasp_defender_teleport_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_defender_teleport_SpellScript); + PrepareSpellScript(spell_wintergrasp_defender_teleport_SpellScript) SpellCastResult CheckCast() { @@ -605,7 +605,7 @@ class spell_wintergrasp_defender_teleport_trigger : public SpellScriptLoader class spell_wintergrasp_defender_teleport_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_defender_teleport_trigger_SpellScript); + PrepareSpellScript(spell_wintergrasp_defender_teleport_trigger_SpellScript) void HandleDummy(SpellEffIndex /*effindex*/) { diff --git a/src/server/scripts/Northrend/zone_zuldrak.cpp b/src/server/scripts/Northrend/zone_zuldrak.cpp index 78b9a99b2e471..632eaa7396b4a 100644 --- a/src/server/scripts/Northrend/zone_zuldrak.cpp +++ b/src/server/scripts/Northrend/zone_zuldrak.cpp @@ -613,7 +613,7 @@ class spell_random_ingredient_aura : public SpellScriptLoader class spell_random_ingredient_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_random_ingredient_aura_AuraScript); + PrepareAuraScript(spell_random_ingredient_aura_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -660,7 +660,7 @@ class spell_random_ingredient : public SpellScriptLoader class spell_random_ingredient_SpellScript : public SpellScript { - PrepareSpellScript(spell_random_ingredient_SpellScript); + PrepareSpellScript(spell_random_ingredient_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -724,7 +724,7 @@ class spell_pot_check : public SpellScriptLoader class spell_pot_check_SpellScript : public SpellScript { - PrepareSpellScript(spell_pot_check_SpellScript); + PrepareSpellScript(spell_pot_check_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -817,7 +817,7 @@ class spell_fetch_ingredient_aura : public SpellScriptLoader class spell_fetch_ingredient_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_fetch_ingredient_aura_AuraScript); + PrepareAuraScript(spell_fetch_ingredient_aura_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp index 31adf1522d446..d15ee3570c96f 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp @@ -181,7 +181,7 @@ class spell_murmur_sonic_boom : public SpellScriptLoader class spell_murmur_sonic_boom_SpellScript : public SpellScript { - PrepareSpellScript(spell_murmur_sonic_boom_SpellScript); + PrepareSpellScript(spell_murmur_sonic_boom_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -215,7 +215,7 @@ class spell_murmur_sonic_boom_effect : public SpellScriptLoader class spell_murmur_sonic_boom_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_murmur_sonic_boom_effect_SpellScript); + PrepareSpellScript(spell_murmur_sonic_boom_effect_SpellScript) void CalcDamage() { @@ -258,7 +258,7 @@ class spell_murmur_thundering_storm : public SpellScriptLoader class spell_murmur_thundering_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_murmur_thundering_storm_SpellScript); + PrepareSpellScript(spell_murmur_thundering_storm_SpellScript) void FilterTarget(std::list& targets) { diff --git a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp index 4a4addd253e7a..d17f88de9106a 100644 --- a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp +++ b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp @@ -876,7 +876,7 @@ class spell_boss_lady_malande_shield : public SpellScriptLoader class spell_boss_lady_malande_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_boss_lady_malande_shield_AuraScript); + PrepareAuraScript(spell_boss_lady_malande_shield_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp index 592ffc1f69ea4..595bf13791d1f 100644 --- a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp +++ b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp @@ -263,7 +263,7 @@ class spell_gruul_shatter : public SpellScriptLoader class spell_gruul_shatter_SpellScript : public SpellScript { - PrepareSpellScript(spell_gruul_shatter_SpellScript); + PrepareSpellScript(spell_gruul_shatter_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -302,7 +302,7 @@ class spell_gruul_shatter_effect : public SpellScriptLoader class spell_gruul_shatter_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_gruul_shatter_effect_SpellScript); + PrepareSpellScript(spell_gruul_shatter_effect_SpellScript) void CalculateDamage() { diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp index 063a30ca875e6..23dabdfd80fb2 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp @@ -195,7 +195,7 @@ class spell_broggok_poison_cloud : public SpellScriptLoader class spell_broggok_poison_cloud_AuraScript : public AuraScript { - PrepareAuraScript(spell_broggok_poison_cloud_AuraScript); + PrepareAuraScript(spell_broggok_poison_cloud_AuraScript) bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp index 5f92445f9dd5b..716963391e66e 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp @@ -513,7 +513,7 @@ class spell_astromancer_wrath_of_the_astromancer : public SpellScriptLoader class spell_astromancer_wrath_of_the_astromancer_AuraScript : public AuraScript { - PrepareAuraScript(spell_astromancer_wrath_of_the_astromancer_AuraScript); + PrepareAuraScript(spell_astromancer_wrath_of_the_astromancer_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp index f8861d1fa7f9d..7ea39f3faed05 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp @@ -163,7 +163,7 @@ class spell_capacitus_polarity_charge : public SpellScriptLoader class spell_capacitus_polarity_charge_SpellScript : public SpellScript { - PrepareSpellScript(spell_capacitus_polarity_charge_SpellScript); + PrepareSpellScript(spell_capacitus_polarity_charge_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -231,7 +231,7 @@ class spell_capacitus_polarity_shift : public SpellScriptLoader class spell_capacitus_polarity_shift_SpellScript : public SpellScript { - PrepareSpellScript(spell_capacitus_polarity_shift_SpellScript); + PrepareSpellScript(spell_capacitus_polarity_shift_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp index 7b831e82a7516..4320dbc422f84 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp @@ -156,7 +156,7 @@ class spell_commander_sarannis_summon_reinforcements : public SpellScriptLoader class spell_commander_sarannis_summon_reinforcements_SpellScript : public SpellScript { - PrepareSpellScript(spell_commander_sarannis_summon_reinforcements_SpellScript); + PrepareSpellScript(spell_commander_sarannis_summon_reinforcements_SpellScript) void HandleCast(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Outland/boss_doomlord_kazzak.cpp b/src/server/scripts/Outland/boss_doomlord_kazzak.cpp index eea03aae343c3..3eeaf8ecafad4 100644 --- a/src/server/scripts/Outland/boss_doomlord_kazzak.cpp +++ b/src/server/scripts/Outland/boss_doomlord_kazzak.cpp @@ -182,7 +182,7 @@ class spell_mark_of_kazzak : public SpellScriptLoader class spell_mark_of_kazzak_AuraScript : public AuraScript { - PrepareAuraScript(spell_mark_of_kazzak_AuraScript); + PrepareAuraScript(spell_mark_of_kazzak_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp index d21b92d3e920b..2f60a4e91066e 100644 --- a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp +++ b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp @@ -1187,7 +1187,7 @@ class spell_oscillating_field : public SpellScriptLoader class spell_oscillating_field_SpellScript : public SpellScript { - PrepareSpellScript(spell_oscillating_field_SpellScript); + PrepareSpellScript(spell_oscillating_field_SpellScript) void HandleEffect(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp index 4efa108429a43..c9ad9a6964d4e 100644 --- a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp +++ b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp @@ -1824,7 +1824,7 @@ class spell_unlocking_zuluheds_chains : public SpellScriptLoader class spell_unlocking_zuluheds_chains_SpellScript : public SpellScript { - PrepareSpellScript(spell_unlocking_zuluheds_chains_SpellScript); + PrepareSpellScript(spell_unlocking_zuluheds_chains_SpellScript) void HandleAfterHit() { diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp index 6a6ee144aac81..1637f588eef9f 100644 --- a/src/server/scripts/Spells/spell_dk.cpp +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -79,7 +79,7 @@ class spell_dk_anti_magic_shell_raid : public SpellScriptLoader class spell_dk_anti_magic_shell_raid_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_anti_magic_shell_raid_AuraScript); + PrepareAuraScript(spell_dk_anti_magic_shell_raid_AuraScript) uint32 absorbPct; @@ -121,7 +121,7 @@ class spell_dk_anti_magic_shell_self : public SpellScriptLoader class spell_dk_anti_magic_shell_self_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_anti_magic_shell_self_AuraScript); + PrepareAuraScript(spell_dk_anti_magic_shell_self_AuraScript) uint32 absorbPct, hpPct; bool Load() override @@ -178,7 +178,7 @@ class spell_dk_anti_magic_zone : public SpellScriptLoader class spell_dk_anti_magic_zone_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_anti_magic_zone_AuraScript); + PrepareAuraScript(spell_dk_anti_magic_zone_AuraScript) uint32 absorbPct; @@ -229,7 +229,7 @@ class spell_dk_blood_boil : public SpellScriptLoader class spell_dk_blood_boil_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_blood_boil_SpellScript); + PrepareSpellScript(spell_dk_blood_boil_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -275,7 +275,7 @@ class spell_dk_blood_gorged : public SpellScriptLoader class spell_dk_blood_gorged_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_blood_gorged_AuraScript); + PrepareAuraScript(spell_dk_blood_gorged_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -349,7 +349,7 @@ class spell_dk_corpse_explosion : public SpellScriptLoader class spell_dk_corpse_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_corpse_explosion_SpellScript); + PrepareSpellScript(spell_dk_corpse_explosion_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -448,7 +448,7 @@ class spell_dk_death_coil : public SpellScriptLoader class spell_dk_death_coil_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_coil_SpellScript); + PrepareSpellScript(spell_dk_death_coil_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -515,7 +515,7 @@ class spell_dk_death_gate : public SpellScriptLoader class spell_dk_death_gate_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_gate_SpellScript); + PrepareSpellScript(spell_dk_death_gate_SpellScript) SpellCastResult CheckClass() { @@ -556,7 +556,7 @@ class spell_dk_death_grip : public SpellScriptLoader class spell_dk_death_grip_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_grip_SpellScript); + PrepareSpellScript(spell_dk_death_grip_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -590,7 +590,7 @@ class spell_dk_death_pact : public SpellScriptLoader class spell_dk_death_pact_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_pact_SpellScript); + PrepareSpellScript(spell_dk_death_pact_SpellScript) SpellCastResult CheckCast() { @@ -646,7 +646,7 @@ class spell_dk_death_strike : public SpellScriptLoader class spell_dk_death_strike_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_strike_SpellScript); + PrepareSpellScript(spell_dk_death_strike_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -690,7 +690,7 @@ class spell_dk_ghoul_explode : public SpellScriptLoader class spell_dk_ghoul_explode_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_ghoul_explode_SpellScript); + PrepareSpellScript(spell_dk_ghoul_explode_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -738,7 +738,7 @@ class spell_dk_icebound_fortitude : public SpellScriptLoader class spell_dk_icebound_fortitude_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_icebound_fortitude_AuraScript); + PrepareAuraScript(spell_dk_icebound_fortitude_AuraScript) bool Load() override { @@ -787,7 +787,7 @@ class spell_dk_improved_blood_presence : public SpellScriptLoader class spell_dk_improved_blood_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_improved_blood_presence_AuraScript); + PrepareAuraScript(spell_dk_improved_blood_presence_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -834,7 +834,7 @@ class spell_dk_improved_frost_presence : public SpellScriptLoader class spell_dk_improved_frost_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_improved_frost_presence_AuraScript); + PrepareAuraScript(spell_dk_improved_frost_presence_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -881,7 +881,7 @@ class spell_dk_improved_unholy_presence : public SpellScriptLoader class spell_dk_improved_unholy_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_improved_unholy_presence_AuraScript); + PrepareAuraScript(spell_dk_improved_unholy_presence_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -941,7 +941,7 @@ class spell_dk_presence : public SpellScriptLoader class spell_dk_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_presence_AuraScript); + PrepareAuraScript(spell_dk_presence_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1057,7 +1057,7 @@ class spell_dk_raise_dead : public SpellScriptLoader class spell_dk_raise_dead_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_raise_dead_SpellScript); + PrepareSpellScript(spell_dk_raise_dead_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -1190,7 +1190,7 @@ class spell_dk_rune_tap_party : public SpellScriptLoader class spell_dk_rune_tap_party_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_rune_tap_party_SpellScript); + PrepareSpellScript(spell_dk_rune_tap_party_SpellScript) void CheckTargets(std::list& targets) { @@ -1217,7 +1217,7 @@ class spell_dk_scent_of_blood : public SpellScriptLoader class spell_dk_scent_of_blood_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_scent_of_blood_AuraScript); + PrepareAuraScript(spell_dk_scent_of_blood_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1253,7 +1253,7 @@ class spell_dk_scourge_strike : public SpellScriptLoader class spell_dk_scourge_strike_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_scourge_strike_SpellScript); + PrepareSpellScript(spell_dk_scourge_strike_SpellScript) float multiplier; bool Load() override @@ -1316,7 +1316,7 @@ class spell_dk_spell_deflection : public SpellScriptLoader class spell_dk_spell_deflection_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_spell_deflection_AuraScript); + PrepareAuraScript(spell_dk_spell_deflection_AuraScript) uint32 absorbPct; @@ -1360,7 +1360,7 @@ class spell_dk_vampiric_blood : public SpellScriptLoader class spell_dk_vampiric_blood_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_vampiric_blood_AuraScript); + PrepareAuraScript(spell_dk_vampiric_blood_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -1387,7 +1387,7 @@ class spell_dk_will_of_the_necropolis : public SpellScriptLoader class spell_dk_will_of_the_necropolis_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_will_of_the_necropolis_AuraScript); + PrepareAuraScript(spell_dk_will_of_the_necropolis_AuraScript) bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index e466c15d417fe..e16b3113545d5 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -54,7 +54,7 @@ class spell_dru_dash : public SpellScriptLoader class spell_dru_dash_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_dash_AuraScript); + PrepareAuraScript(spell_dru_dash_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -83,7 +83,7 @@ class spell_dru_enrage : public SpellScriptLoader class spell_dru_enrage_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_enrage_SpellScript); + PrepareSpellScript(spell_dru_enrage_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -119,7 +119,7 @@ class spell_dru_glyph_of_starfire : public SpellScriptLoader class spell_dru_glyph_of_starfire_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_glyph_of_starfire_SpellScript); + PrepareSpellScript(spell_dru_glyph_of_starfire_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -172,7 +172,7 @@ class spell_dru_idol_lifebloom : public SpellScriptLoader class spell_dru_idol_lifebloom_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_idol_lifebloom_AuraScript); + PrepareAuraScript(spell_dru_idol_lifebloom_AuraScript) void HandleEffectCalcSpellMod(AuraEffect const* aurEff, SpellModifier*& spellMod) { @@ -207,7 +207,7 @@ class spell_dru_innervate : public SpellScriptLoader class spell_dru_innervate_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_innervate_AuraScript); + PrepareAuraScript(spell_dru_innervate_AuraScript) void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -234,7 +234,7 @@ class spell_dru_insect_swarm : public SpellScriptLoader class spell_dru_insect_swarm_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_insect_swarm_AuraScript); + PrepareAuraScript(spell_dru_insect_swarm_AuraScript) void CalculateAmount(AuraEffect const* aurEff, int32 & amount, bool & /*canBeRecalculated*/) { @@ -263,7 +263,7 @@ class spell_dru_lifebloom : public SpellScriptLoader class spell_dru_lifebloom_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_lifebloom_AuraScript); + PrepareAuraScript(spell_dru_lifebloom_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -345,7 +345,7 @@ class spell_dru_living_seed : public SpellScriptLoader class spell_dru_living_seed_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_living_seed_AuraScript); + PrepareAuraScript(spell_dru_living_seed_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -381,7 +381,7 @@ class spell_dru_living_seed_proc : public SpellScriptLoader class spell_dru_living_seed_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_living_seed_proc_AuraScript); + PrepareAuraScript(spell_dru_living_seed_proc_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -416,7 +416,7 @@ class spell_dru_moonkin_form_passive : public SpellScriptLoader class spell_dru_moonkin_form_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_moonkin_form_passive_AuraScript); + PrepareAuraScript(spell_dru_moonkin_form_passive_AuraScript) uint32 absorbPct; @@ -460,7 +460,7 @@ class spell_dru_owlkin_frenzy : public SpellScriptLoader class spell_dru_owlkin_frenzy_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_owlkin_frenzy_AuraScript); + PrepareAuraScript(spell_dru_owlkin_frenzy_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -487,7 +487,7 @@ class spell_dru_predatory_strikes : public SpellScriptLoader class spell_dru_predatory_strikes_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_predatory_strikes_AuraScript); + PrepareAuraScript(spell_dru_predatory_strikes_AuraScript) void UpdateAmount(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -516,7 +516,7 @@ class spell_dru_primal_tenacity : public SpellScriptLoader class spell_dru_primal_tenacity_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_primal_tenacity_AuraScript); + PrepareAuraScript(spell_dru_primal_tenacity_AuraScript) uint32 absorbPct; @@ -560,7 +560,7 @@ class spell_dru_rip : public SpellScriptLoader class spell_dru_rip_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_rip_AuraScript); + PrepareAuraScript(spell_dru_rip_AuraScript) bool Load() override { @@ -608,7 +608,7 @@ class spell_dru_savage_defense : public SpellScriptLoader class spell_dru_savage_defense_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_savage_defense_AuraScript); + PrepareAuraScript(spell_dru_savage_defense_AuraScript) uint32 absorbPct; @@ -651,7 +651,7 @@ class spell_dru_savage_roar : public SpellScriptLoader class spell_dru_savage_roar_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_savage_roar_SpellScript); + PrepareSpellScript(spell_dru_savage_roar_SpellScript) SpellCastResult CheckCast() { @@ -670,7 +670,7 @@ class spell_dru_savage_roar : public SpellScriptLoader class spell_dru_savage_roar_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_savage_roar_AuraScript); + PrepareAuraScript(spell_dru_savage_roar_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -716,7 +716,7 @@ class spell_dru_starfall_aoe : public SpellScriptLoader class spell_dru_starfall_aoe_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_starfall_aoe_SpellScript); + PrepareSpellScript(spell_dru_starfall_aoe_SpellScript) void FilterTargets(std::list& targets) { @@ -743,7 +743,7 @@ class spell_dru_starfall_dummy : public SpellScriptLoader class spell_dru_starfall_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_starfall_dummy_SpellScript); + PrepareSpellScript(spell_dru_starfall_dummy_SpellScript) void FilterTargets(std::list& targets) { @@ -789,7 +789,7 @@ class spell_dru_survival_instincts : public SpellScriptLoader class spell_dru_survival_instincts_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_survival_instincts_SpellScript); + PrepareSpellScript(spell_dru_survival_instincts_SpellScript) SpellCastResult CheckCast() { @@ -808,7 +808,7 @@ class spell_dru_survival_instincts : public SpellScriptLoader class spell_dru_survival_instincts_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_survival_instincts_AuraScript); + PrepareAuraScript(spell_dru_survival_instincts_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -855,7 +855,7 @@ class spell_dru_swift_flight_passive : public SpellScriptLoader class spell_dru_swift_flight_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_swift_flight_passive_AuraScript); + PrepareAuraScript(spell_dru_swift_flight_passive_AuraScript) bool Load() override { @@ -889,7 +889,7 @@ class spell_dru_tiger_s_fury : public SpellScriptLoader class spell_dru_tiger_s_fury_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_tiger_s_fury_SpellScript); + PrepareSpellScript(spell_dru_tiger_s_fury_SpellScript) void OnHit() { @@ -917,7 +917,7 @@ class spell_dru_typhoon : public SpellScriptLoader class spell_dru_typhoon_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_typhoon_SpellScript); + PrepareSpellScript(spell_dru_typhoon_SpellScript) void HandleKnockBack(SpellEffIndex effIndex) { @@ -946,7 +946,7 @@ class spell_dru_t10_restoration_4p_bonus : public SpellScriptLoader class spell_dru_t10_restoration_4p_bonus_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_t10_restoration_4p_bonus_SpellScript); + PrepareSpellScript(spell_dru_t10_restoration_4p_bonus_SpellScript) bool Load() override { @@ -1018,7 +1018,7 @@ class spell_dru_wild_growth : public SpellScriptLoader class spell_dru_wild_growth_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_wild_growth_SpellScript); + PrepareSpellScript(spell_dru_wild_growth_SpellScript) bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index 77a4faa7e8c4e..5c90109998ef9 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -45,7 +45,7 @@ class spell_gen_absorb0_hitlimit1 : public SpellScriptLoader class spell_gen_absorb0_hitlimit1_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_absorb0_hitlimit1_AuraScript); + PrepareAuraScript(spell_gen_absorb0_hitlimit1_AuraScript) uint32 limit; @@ -90,7 +90,7 @@ class spell_gen_adaptive_warding : public SpellScriptLoader class spell_gen_adaptive_warding_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_adaptive_warding_AuraScript); + PrepareAuraScript(spell_gen_adaptive_warding_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -171,7 +171,7 @@ class spell_gen_allow_cast_from_item_only : public SpellScriptLoader class spell_gen_allow_cast_from_item_only_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_allow_cast_from_item_only_SpellScript); + PrepareSpellScript(spell_gen_allow_cast_from_item_only_SpellScript) SpellCastResult CheckRequirement() { @@ -205,7 +205,7 @@ class spell_gen_animal_blood : public SpellScriptLoader class spell_gen_animal_blood_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_animal_blood_AuraScript); + PrepareAuraScript(spell_gen_animal_blood_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -249,7 +249,7 @@ class spell_gen_aura_of_anger : public SpellScriptLoader class spell_gen_aura_of_anger_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_aura_of_anger_AuraScript); + PrepareAuraScript(spell_gen_aura_of_anger_AuraScript) void HandleEffectPeriodicUpdate(AuraEffect* aurEff) { @@ -287,7 +287,7 @@ class spell_gen_aura_service_uniform : public SpellScriptLoader class spell_gen_aura_service_uniform_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_aura_service_uniform_AuraScript); + PrepareAuraScript(spell_gen_aura_service_uniform_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -336,7 +336,7 @@ class spell_gen_av_drekthar_presence : public SpellScriptLoader class spell_gen_av_drekthar_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_av_drekthar_presence_AuraScript); + PrepareAuraScript(spell_gen_av_drekthar_presence_AuraScript) bool CheckAreaTarget(Unit* target) { @@ -384,7 +384,7 @@ class spell_gen_bandage : public SpellScriptLoader class spell_gen_bandage_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_bandage_SpellScript); + PrepareSpellScript(spell_gen_bandage_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -436,7 +436,7 @@ class spell_gen_bonked : public SpellScriptLoader class spell_gen_bonked_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_bonked_SpellScript); + PrepareSpellScript(spell_gen_bonked_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -586,7 +586,7 @@ class spell_gen_burn_brutallus : public SpellScriptLoader class spell_gen_burn_brutallus_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_burn_brutallus_AuraScript); + PrepareAuraScript(spell_gen_burn_brutallus_AuraScript) void HandleEffectPeriodicUpdate(AuraEffect* aurEff) { @@ -618,7 +618,7 @@ class spell_gen_cannibalize : public SpellScriptLoader class spell_gen_cannibalize_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_cannibalize_SpellScript); + PrepareSpellScript(spell_gen_cannibalize_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -706,7 +706,7 @@ class spell_gen_clone : public SpellScriptLoader class spell_gen_clone_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_clone_SpellScript); + PrepareSpellScript(spell_gen_clone_SpellScript) void HandleScriptEffect(SpellEffIndex effIndex) { @@ -746,7 +746,7 @@ class spell_gen_clone_weapon : public SpellScriptLoader class spell_gen_clone_weapon_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_clone_weapon_SpellScript); + PrepareSpellScript(spell_gen_clone_weapon_SpellScript) void HandleScriptEffect(SpellEffIndex effIndex) { @@ -773,7 +773,7 @@ class spell_gen_clone_weapon_aura : public SpellScriptLoader class spell_gen_clone_weapon_auraScript : public AuraScript { - PrepareAuraScript(spell_gen_clone_weapon_auraScript); + PrepareAuraScript(spell_gen_clone_weapon_auraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -940,7 +940,7 @@ class spell_gen_create_lance : public SpellScriptLoader class spell_gen_create_lance_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_create_lance_SpellScript); + PrepareSpellScript(spell_gen_create_lance_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -982,7 +982,7 @@ class spell_gen_creature_permanent_feign_death : public SpellScriptLoader class spell_gen_creature_permanent_feign_death_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_creature_permanent_feign_death_AuraScript); + PrepareAuraScript(spell_gen_creature_permanent_feign_death_AuraScript) void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1024,7 +1024,7 @@ class spell_gen_dalaran_disguise : public SpellScriptLoader class spell_gen_dalaran_disguise_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_dalaran_disguise_SpellScript); + PrepareSpellScript(spell_gen_dalaran_disguise_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -1096,7 +1096,7 @@ class spell_gen_damage_reduction_aura : public SpellScriptLoader class spell_gen_damage_reduction_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_damage_reduction_AuraScript); + PrepareAuraScript(spell_gen_damage_reduction_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1151,7 +1151,7 @@ class spell_gen_defend : public SpellScriptLoader class spell_gen_defend_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_defend_AuraScript); + PrepareAuraScript(spell_gen_defend_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1230,7 +1230,7 @@ class spell_gen_despawn_self : public SpellScriptLoader class spell_gen_despawn_self_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_despawn_self_SpellScript); + PrepareSpellScript(spell_gen_despawn_self_SpellScript) bool Load() override { @@ -1268,7 +1268,7 @@ class spell_gen_divine_storm_cd_reset : public SpellScriptLoader class spell_gen_divine_storm_cd_reset_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_divine_storm_cd_reset_SpellScript); + PrepareSpellScript(spell_gen_divine_storm_cd_reset_SpellScript) bool Load() override { @@ -1308,7 +1308,7 @@ class spell_gen_ds_flush_knockback : public SpellScriptLoader class spell_gen_ds_flush_knockback_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_ds_flush_knockback_SpellScript); + PrepareSpellScript(spell_gen_ds_flush_knockback_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1351,7 +1351,7 @@ class spell_gen_dummy_trigger : public SpellScriptLoader class spell_gen_dummy_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_dummy_trigger_SpellScript); + PrepareSpellScript(spell_gen_dummy_trigger_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1390,7 +1390,7 @@ class spell_gen_dungeon_credit : public SpellScriptLoader class spell_gen_dungeon_credit_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_dungeon_credit_SpellScript); + PrepareSpellScript(spell_gen_dungeon_credit_SpellScript) bool Load() override { @@ -1445,7 +1445,8 @@ class spell_gen_elune_candle : public SpellScriptLoader class spell_gen_elune_candle_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_elune_candle_SpellScript); + PrepareSpellScript(spell_gen_elune_candle_SpellScript) + bool Validate(SpellInfo const* /*spellInfo*/) override { if (!sSpellMgr->GetSpellInfo(SPELL_ELUNE_CANDLE_OMEN_HEAD) || @@ -1554,7 +1555,7 @@ class spell_gen_gift_of_naaru : public SpellScriptLoader class spell_gen_gift_of_naaru_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_gift_of_naaru_AuraScript); + PrepareAuraScript(spell_gen_gift_of_naaru_AuraScript) void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -1646,7 +1647,7 @@ class spell_gen_gunship_portal : public SpellScriptLoader class spell_gen_gunship_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_gunship_portal_SpellScript); + PrepareSpellScript(spell_gen_gunship_portal_SpellScript) bool Load() override { @@ -1685,7 +1686,7 @@ class spell_gen_launch : public SpellScriptLoader class spell_gen_launch_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_launch_SpellScript); + PrepareSpellScript(spell_gen_launch_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1733,7 +1734,7 @@ class spell_gen_lifeblood : public SpellScriptLoader class spell_gen_lifeblood_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_lifeblood_AuraScript); + PrepareAuraScript(spell_gen_lifeblood_AuraScript) void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -1769,7 +1770,7 @@ class spell_gen_lifebloom : public SpellScriptLoader class spell_gen_lifebloom_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_lifebloom_AuraScript); + PrepareAuraScript(spell_gen_lifebloom_AuraScript) public: spell_gen_lifebloom_AuraScript(uint32 spellId) : AuraScript(), _spellId(spellId) { } @@ -1823,7 +1824,7 @@ class spell_gen_magic_rooster : public SpellScriptLoader class spell_gen_magic_rooster_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_magic_rooster_SpellScript); + PrepareSpellScript(spell_gen_magic_rooster_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1922,7 +1923,7 @@ class spell_gen_mount : public SpellScriptLoader class spell_gen_mount_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_mount_SpellScript); + PrepareSpellScript(spell_gen_mount_SpellScript) public: spell_gen_mount_SpellScript(uint32 mount0, uint32 mount60, uint32 mount100, uint32 mount150, uint32 mount280, uint32 mount310) : SpellScript(), @@ -2210,7 +2211,7 @@ class spell_gen_netherbloom : public SpellScriptLoader class spell_gen_netherbloom_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_netherbloom_SpellScript); + PrepareSpellScript(spell_gen_netherbloom_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2268,7 +2269,7 @@ class spell_gen_nightmare_vine : public SpellScriptLoader class spell_gen_nightmare_vine_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_nightmare_vine_SpellScript); + PrepareSpellScript(spell_gen_nightmare_vine_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2319,7 +2320,7 @@ class spell_gen_obsidian_armor : public SpellScriptLoader class spell_gen_obsidian_armor_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_obsidian_armor_AuraScript); + PrepareAuraScript(spell_gen_obsidian_armor_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2490,7 +2491,7 @@ class spell_gen_on_tournament_mount : public SpellScriptLoader class spell_gen_on_tournament_mount_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_on_tournament_mount_AuraScript); + PrepareAuraScript(spell_gen_on_tournament_mount_AuraScript) uint32 _pennantSpellId; @@ -2648,7 +2649,7 @@ class spell_gen_oracle_wolvar_reputation : public SpellScriptLoader class spell_gen_oracle_wolvar_reputation_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_oracle_wolvar_reputation_SpellScript); + PrepareSpellScript(spell_gen_oracle_wolvar_reputation_SpellScript) bool Load() override { @@ -2700,7 +2701,7 @@ class spell_gen_orc_disguise : public SpellScriptLoader class spell_gen_orc_disguise_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_orc_disguise_SpellScript); + PrepareSpellScript(spell_gen_orc_disguise_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2750,7 +2751,7 @@ class spell_gen_parachute : public SpellScriptLoader class spell_gen_parachute_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_parachute_AuraScript); + PrepareAuraScript(spell_gen_parachute_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2829,7 +2830,7 @@ class spell_gen_pet_summoned : public SpellScriptLoader class spell_gen_pet_summoned_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_pet_summoned_SpellScript); + PrepareSpellScript(spell_gen_pet_summoned_SpellScript) bool Load() override { @@ -2842,30 +2843,28 @@ class spell_gen_pet_summoned : public SpellScriptLoader if (player->GetLastPetNumber()) { PetType newPetType = (player->getClass() == CLASS_HUNTER) ? HUNTER_PET : SUMMON_PET; - if (Pet* newPet = new Pet(player, newPetType)) + auto newPet = new Pet(player, newPetType); + if (newPet->LoadPetFromDB(player, 0, player->GetLastPetNumber(), true)) { - if (newPet->LoadPetFromDB(player, 0, player->GetLastPetNumber(), true)) - { - // revive the pet if it is dead - if (newPet->getDeathState() == DEAD) - newPet->setDeathState(ALIVE); + // revive the pet if it is dead + if (newPet->getDeathState() == DEAD) + newPet->setDeathState(ALIVE); - newPet->SetFullHealth(); - newPet->SetPower(newPet->getPowerType(), newPet->GetMaxPower(newPet->getPowerType())); + newPet->SetFullHealth(); + newPet->SetPower(newPet->getPowerType(), newPet->GetMaxPower(newPet->getPowerType())); - switch (newPet->GetEntry()) - { - case NPC_DOOMGUARD: - case NPC_INFERNAL: - newPet->SetEntry(NPC_IMP); - break; - default: - break; - } + switch (newPet->GetEntry()) + { + case NPC_DOOMGUARD: + case NPC_INFERNAL: + newPet->SetEntry(NPC_IMP); + break; + default: + break; } - else - delete newPet; } + else + delete newPet; } } @@ -2888,7 +2887,7 @@ class spell_gen_profession_research : public SpellScriptLoader class spell_gen_profession_research_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_profession_research_SpellScript); + PrepareSpellScript(spell_gen_profession_research_SpellScript) bool Load() override { @@ -2938,7 +2937,7 @@ class spell_gen_remove_flight_auras : public SpellScriptLoader class spell_gen_remove_flight_auras_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_remove_flight_auras_SpellScript); + PrepareSpellScript(spell_gen_remove_flight_auras_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2986,7 +2985,7 @@ class spell_gen_replenishment : public SpellScriptLoader class spell_gen_replenishment_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_replenishment_SpellScript); + PrepareSpellScript(spell_gen_replenishment_SpellScript) void RemoveInvalidTargets(std::list& targets) { @@ -3025,7 +3024,7 @@ class spell_gen_replenishment : public SpellScriptLoader class spell_gen_replenishment_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_replenishment_AuraScript); + PrepareAuraScript(spell_gen_replenishment_AuraScript) bool Load() override { @@ -3071,7 +3070,7 @@ class spell_gen_seaforium_blast : public SpellScriptLoader class spell_gen_seaforium_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_seaforium_blast_SpellScript); + PrepareSpellScript(spell_gen_seaforium_blast_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3149,7 +3148,7 @@ class spell_gen_spirit_healer_res : public SpellScriptLoader class spell_gen_spirit_healer_res_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_spirit_healer_res_SpellScript); + PrepareSpellScript(spell_gen_spirit_healer_res_SpellScript) bool Load() override { @@ -3192,7 +3191,7 @@ class spell_gen_summon_elemental : public SpellScriptLoader class spell_gen_summon_elemental_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_summon_elemental_AuraScript); + PrepareAuraScript(spell_gen_summon_elemental_AuraScript) public: spell_gen_summon_elemental_AuraScript(uint32 spellId) : AuraScript(), _spellId(spellId) { } @@ -3250,7 +3249,7 @@ class spell_gen_summon_tournament_mount : public SpellScriptLoader class spell_gen_summon_tournament_mount_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_summon_tournament_mount_SpellScript); + PrepareSpellScript(spell_gen_summon_tournament_mount_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3293,7 +3292,7 @@ class spell_gen_throw_shield : public SpellScriptLoader class spell_gen_throw_shield_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_throw_shield_SpellScript); + PrepareSpellScript(spell_gen_throw_shield_SpellScript) void HandleScriptEffect(SpellEffIndex effIndex) { @@ -3326,7 +3325,7 @@ class spell_gen_tournament_duel : public SpellScriptLoader class spell_gen_tournament_duel_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_tournament_duel_SpellScript); + PrepareSpellScript(spell_gen_tournament_duel_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3372,7 +3371,7 @@ class spell_gen_tournament_pennant : public SpellScriptLoader class spell_gen_tournament_pennant_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_tournament_pennant_AuraScript); + PrepareAuraScript(spell_gen_tournament_pennant_AuraScript) bool Load() override { @@ -3413,7 +3412,7 @@ class spell_pvp_trinket_wotf_shared_cd : public SpellScriptLoader class spell_pvp_trinket_wotf_shared_cd_SpellScript : public SpellScript { - PrepareSpellScript(spell_pvp_trinket_wotf_shared_cd_SpellScript); + PrepareSpellScript(spell_pvp_trinket_wotf_shared_cd_SpellScript) bool Load() override { @@ -3459,7 +3458,7 @@ class spell_gen_turkey_marker : public SpellScriptLoader class spell_gen_turkey_marker_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_turkey_marker_AuraScript); + PrepareAuraScript(spell_gen_turkey_marker_AuraScript) void OnApply(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { @@ -3513,7 +3512,7 @@ class spell_gen_upper_deck_create_foam_sword : public SpellScriptLoader class spell_gen_upper_deck_create_foam_sword_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_upper_deck_create_foam_sword_SpellScript); + PrepareSpellScript(spell_gen_upper_deck_create_foam_sword_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -3555,7 +3554,7 @@ class spell_gen_vehicle_scaling : public SpellScriptLoader class spell_gen_vehicle_scaling_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_vehicle_scaling_AuraScript); + PrepareAuraScript(spell_gen_vehicle_scaling_AuraScript) bool Load() override { @@ -3644,7 +3643,7 @@ class spell_gen_wg_water : public SpellScriptLoader class spell_gen_wg_water_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_wg_water_SpellScript); + PrepareSpellScript(spell_gen_wg_water_SpellScript) SpellCastResult CheckCast() { @@ -3677,7 +3676,7 @@ class spell_gen_whisper_gulch_yogg_saron_whisper : public SpellScriptLoader class spell_gen_whisper_gulch_yogg_saron_whisper_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_whisper_gulch_yogg_saron_whisper_AuraScript); + PrepareAuraScript(spell_gen_whisper_gulch_yogg_saron_whisper_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3711,7 +3710,7 @@ class spell_gen_eject_all_passengers : public SpellScriptLoader class spell_gen_eject_all_passengers_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_eject_all_passengers_SpellScript); + PrepareSpellScript(spell_gen_eject_all_passengers_SpellScript) void RemoveVehicleAuras() { diff --git a/src/server/scripts/Spells/spell_holiday.cpp b/src/server/scripts/Spells/spell_holiday.cpp index dc0c70975dde9..08984fd86d4b2 100644 --- a/src/server/scripts/Spells/spell_holiday.cpp +++ b/src/server/scripts/Spells/spell_holiday.cpp @@ -48,7 +48,7 @@ class spell_love_is_in_the_air_romantic_picnic : public SpellScriptLoader class spell_love_is_in_the_air_romantic_picnic_AuraScript : public AuraScript { - PrepareAuraScript(spell_love_is_in_the_air_romantic_picnic_AuraScript); + PrepareAuraScript(spell_love_is_in_the_air_romantic_picnic_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -134,7 +134,7 @@ class spell_hallow_end_trick : public SpellScriptLoader class spell_hallow_end_trick_SpellScript : public SpellScript { - PrepareSpellScript(spell_hallow_end_trick_SpellScript); + PrepareSpellScript(spell_hallow_end_trick_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -207,7 +207,7 @@ class spell_hallow_end_trick_or_treat : public SpellScriptLoader class spell_hallow_end_trick_or_treat_SpellScript : public SpellScript { - PrepareSpellScript(spell_hallow_end_trick_or_treat_SpellScript); + PrepareSpellScript(spell_hallow_end_trick_or_treat_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -245,7 +245,7 @@ class spell_hallow_end_tricky_treat : public SpellScriptLoader class spell_hallow_end_tricky_treat_SpellScript : public SpellScript { - PrepareSpellScript(spell_hallow_end_tricky_treat_SpellScript); + PrepareSpellScript(spell_hallow_end_tricky_treat_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -347,7 +347,7 @@ class spell_winter_veil_mistletoe : public SpellScriptLoader class spell_winter_veil_mistletoe_SpellScript : public SpellScript { - PrepareSpellScript(spell_winter_veil_mistletoe_SpellScript); + PrepareSpellScript(spell_winter_veil_mistletoe_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -395,7 +395,7 @@ class spell_winter_veil_px_238_winter_wondervolt : public SpellScriptLoader class spell_winter_veil_px_238_winter_wondervolt_SpellScript : public SpellScript { - PrepareSpellScript(spell_winter_veil_px_238_winter_wondervolt_SpellScript); + PrepareSpellScript(spell_winter_veil_px_238_winter_wondervolt_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index 2739a8453dfdd..eaefe3f863186 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -65,7 +65,7 @@ class spell_hun_aspect_of_the_beast : public SpellScriptLoader class spell_hun_aspect_of_the_beast_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_aspect_of_the_beast_AuraScript); + PrepareAuraScript(spell_hun_aspect_of_the_beast_AuraScript) bool Load() override { @@ -114,7 +114,7 @@ class spell_hun_ascpect_of_the_viper : public SpellScriptLoader class spell_hun_ascpect_of_the_viper_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_ascpect_of_the_viper_AuraScript); + PrepareAuraScript(spell_hun_ascpect_of_the_viper_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -175,7 +175,7 @@ class spell_hun_chimera_shot : public SpellScriptLoader class spell_hun_chimera_shot_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_chimera_shot_SpellScript); + PrepareSpellScript(spell_hun_chimera_shot_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -268,7 +268,7 @@ class spell_hun_disengage : public SpellScriptLoader class spell_hun_disengage_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_disengage_SpellScript); + PrepareSpellScript(spell_hun_disengage_SpellScript) SpellCastResult CheckCast() { @@ -299,7 +299,7 @@ class spell_hun_improved_mend_pet : public SpellScriptLoader class spell_hun_improved_mend_pet_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_improved_mend_pet_AuraScript); + PrepareAuraScript(spell_hun_improved_mend_pet_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -339,7 +339,7 @@ class spell_hun_invigoration : public SpellScriptLoader class spell_hun_invigoration_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_invigoration_SpellScript); + PrepareSpellScript(spell_hun_invigoration_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -376,7 +376,7 @@ class spell_hun_last_stand_pet : public SpellScriptLoader class spell_hun_last_stand_pet_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_last_stand_pet_SpellScript); + PrepareSpellScript(spell_hun_last_stand_pet_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -412,7 +412,7 @@ class spell_hun_masters_call : public SpellScriptLoader class spell_hun_masters_call_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_masters_call_SpellScript); + PrepareSpellScript(spell_hun_masters_call_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -464,7 +464,7 @@ class spell_hun_misdirection : public SpellScriptLoader class spell_hun_misdirection_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_misdirection_AuraScript); + PrepareAuraScript(spell_hun_misdirection_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -512,7 +512,7 @@ class spell_hun_misdirection_proc : public SpellScriptLoader class spell_hun_misdirection_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_misdirection_proc_AuraScript); + PrepareAuraScript(spell_hun_misdirection_proc_AuraScript) void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -539,7 +539,7 @@ class spell_hun_pet_carrion_feeder : public SpellScriptLoader class spell_hun_pet_carrion_feeder_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_pet_carrion_feeder_SpellScript); + PrepareSpellScript(spell_hun_pet_carrion_feeder_SpellScript) bool Load() override { @@ -596,7 +596,7 @@ class spell_hun_pet_heart_of_the_phoenix : public SpellScriptLoader class spell_hun_pet_heart_of_the_phoenix_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_pet_heart_of_the_phoenix_SpellScript); + PrepareSpellScript(spell_hun_pet_heart_of_the_phoenix_SpellScript) bool Load() override { @@ -643,7 +643,7 @@ class spell_hun_readiness : public SpellScriptLoader class spell_hun_readiness_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_readiness_SpellScript); + PrepareSpellScript(spell_hun_readiness_SpellScript) bool Load() override { @@ -692,7 +692,7 @@ class spell_hun_scatter_shot : public SpellScriptLoader class spell_hun_scatter_shot_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_scatter_shot_SpellScript); + PrepareSpellScript(spell_hun_scatter_shot_SpellScript) bool Load() override { @@ -728,7 +728,7 @@ class spell_hun_sniper_training : public SpellScriptLoader class spell_hun_sniper_training_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_sniper_training_AuraScript); + PrepareAuraScript(spell_hun_sniper_training_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -782,7 +782,7 @@ class spell_hun_tame_beast : public SpellScriptLoader class spell_hun_tame_beast_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_tame_beast_SpellScript); + PrepareSpellScript(spell_hun_tame_beast_SpellScript) SpellCastResult CheckCast() { @@ -835,7 +835,7 @@ class spell_hun_target_only_pet_and_owner : public SpellScriptLoader class spell_hun_target_only_pet_and_owner_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_target_only_pet_and_owner_SpellScript); + PrepareSpellScript(spell_hun_target_only_pet_and_owner_SpellScript) void FilterTargets(std::list& targets) { @@ -866,7 +866,7 @@ class spell_hun_viper_attack_speed : public SpellScriptLoader class spell_hun_viper_attack_speed_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_viper_attack_speed_AuraScript); + PrepareAuraScript(spell_hun_viper_attack_speed_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index be3b48b114de1..41e0dcbebcac2 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -40,7 +40,7 @@ class spell_item_trigger_spell : public SpellScriptLoader class spell_item_trigger_spell_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_trigger_spell_SpellScript); + PrepareSpellScript(spell_item_trigger_spell_SpellScript) private: uint32 _triggeredSpellId; @@ -86,7 +86,7 @@ class spell_item_aegis_of_preservation : public SpellScriptLoader class spell_item_aegis_of_preservation_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_aegis_of_preservation_AuraScript); + PrepareAuraScript(spell_item_aegis_of_preservation_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -121,7 +121,7 @@ class spell_item_arcane_shroud : public SpellScriptLoader class spell_item_arcane_shroud_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_arcane_shroud_AuraScript); + PrepareAuraScript(spell_item_arcane_shroud_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -155,7 +155,7 @@ class spell_item_blessing_of_ancient_kings : public SpellScriptLoader class spell_item_blessing_of_ancient_kings_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_blessing_of_ancient_kings_AuraScript); + PrepareAuraScript(spell_item_blessing_of_ancient_kings_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -215,7 +215,7 @@ class spell_item_defibrillate : public SpellScriptLoader class spell_item_defibrillate_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_defibrillate_SpellScript); + PrepareSpellScript(spell_item_defibrillate_SpellScript) public: spell_item_defibrillate_SpellScript(uint8 chance, uint32 failSpell) : SpellScript(), _chance(chance), _failSpell(failSpell) { } @@ -270,7 +270,7 @@ class spell_item_desperate_defense : public SpellScriptLoader class spell_item_desperate_defense_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_desperate_defense_AuraScript); + PrepareAuraScript(spell_item_desperate_defense_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -315,7 +315,7 @@ class spell_item_deviate_fish : public SpellScriptLoader class spell_item_deviate_fish_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_deviate_fish_SpellScript); + PrepareSpellScript(spell_item_deviate_fish_SpellScript) bool Load() override { @@ -357,7 +357,7 @@ class spell_item_echoes_of_light : public SpellScriptLoader class spell_item_echoes_of_light_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_echoes_of_light_SpellScript); + PrepareSpellScript(spell_item_echoes_of_light_SpellScript) void FilterTargets(std::list& targets) { @@ -399,7 +399,7 @@ class spell_item_flask_of_the_north : public SpellScriptLoader class spell_item_flask_of_the_north_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_flask_of_the_north_SpellScript); + PrepareSpellScript(spell_item_flask_of_the_north_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -468,7 +468,7 @@ class spell_item_gnomish_death_ray : public SpellScriptLoader class spell_item_gnomish_death_ray_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_gnomish_death_ray_SpellScript); + PrepareSpellScript(spell_item_gnomish_death_ray_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -519,7 +519,7 @@ class spell_item_make_a_wish : public SpellScriptLoader class spell_item_make_a_wish_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_make_a_wish_SpellScript); + PrepareSpellScript(spell_item_make_a_wish_SpellScript) bool Load() override { @@ -568,7 +568,7 @@ class spell_item_mingos_fortune_generator : public SpellScriptLoader class spell_item_mingos_fortune_generator_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_mingos_fortune_generator_SpellScript); + PrepareSpellScript(spell_item_mingos_fortune_generator_SpellScript) void HandleDummy(SpellEffIndex effIndex) { @@ -628,7 +628,7 @@ class spell_item_necrotic_touch : public SpellScriptLoader class spell_item_necrotic_touch_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_necrotic_touch_AuraScript); + PrepareAuraScript(spell_item_necrotic_touch_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -678,7 +678,7 @@ class spell_item_net_o_matic : public SpellScriptLoader class spell_item_net_o_matic_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_net_o_matic_SpellScript); + PrepareSpellScript(spell_item_net_o_matic_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -730,7 +730,7 @@ class spell_item_noggenfogger_elixir : public SpellScriptLoader class spell_item_noggenfogger_elixir_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_noggenfogger_elixir_SpellScript); + PrepareSpellScript(spell_item_noggenfogger_elixir_SpellScript) bool Load() override { @@ -777,7 +777,7 @@ class spell_item_piccolo_of_the_flaming_fire : public SpellScriptLoader class spell_item_piccolo_of_the_flaming_fire_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_piccolo_of_the_flaming_fire_SpellScript); + PrepareSpellScript(spell_item_piccolo_of_the_flaming_fire_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -815,7 +815,7 @@ class spell_item_savory_deviate_delight : public SpellScriptLoader class spell_item_savory_deviate_delight_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_savory_deviate_delight_SpellScript); + PrepareSpellScript(spell_item_savory_deviate_delight_SpellScript) bool Load() override { @@ -876,7 +876,7 @@ class spell_item_scroll_of_recall : public SpellScriptLoader class spell_item_scroll_of_recall_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_scroll_of_recall_SpellScript); + PrepareSpellScript(spell_item_scroll_of_recall_SpellScript) bool Load() override { @@ -943,7 +943,7 @@ class spell_item_unsated_craving : public SpellScriptLoader class spell_item_unsated_craving_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_unsated_craving_AuraScript); + PrepareAuraScript(spell_item_unsated_craving_AuraScript) bool CheckProc(ProcEventInfo& procInfo) { @@ -977,7 +977,7 @@ class spell_item_shadows_fate : public SpellScriptLoader class spell_item_shadows_fate_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_shadows_fate_AuraScript); + PrepareAuraScript(spell_item_shadows_fate_AuraScript) void HandleProc(ProcEventInfo& procInfo) { @@ -1018,7 +1018,7 @@ class spell_item_shadowmourne : public SpellScriptLoader class spell_item_shadowmourne_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_shadowmourne_AuraScript); + PrepareAuraScript(spell_item_shadowmourne_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1075,7 +1075,7 @@ class spell_item_shadowmourne_soul_fragment : public SpellScriptLoader class spell_item_shadowmourne_soul_fragment_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_shadowmourne_soul_fragment_AuraScript); + PrepareAuraScript(spell_item_shadowmourne_soul_fragment_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1144,7 +1144,7 @@ class spell_item_six_demon_bag : public SpellScriptLoader class spell_item_six_demon_bag_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_six_demon_bag_SpellScript); + PrepareSpellScript(spell_item_six_demon_bag_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1204,7 +1204,7 @@ class spell_item_the_eye_of_diminution : public SpellScriptLoader class spell_item_the_eye_of_diminution_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_the_eye_of_diminution_AuraScript); + PrepareAuraScript(spell_item_the_eye_of_diminution_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -1241,7 +1241,7 @@ class spell_item_underbelly_elixir : public SpellScriptLoader class spell_item_underbelly_elixir_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_underbelly_elixir_SpellScript); + PrepareSpellScript(spell_item_underbelly_elixir_SpellScript) bool Load() override { @@ -1292,7 +1292,7 @@ class spell_item_red_rider_air_rifle : public SpellScriptLoader class spell_item_red_rider_air_rifle_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_red_rider_air_rifle_SpellScript); + PrepareSpellScript(spell_item_red_rider_air_rifle_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1357,7 +1357,7 @@ class spell_item_create_heart_candy : public SpellScriptLoader class spell_item_create_heart_candy_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_create_heart_candy_SpellScript); + PrepareSpellScript(spell_item_create_heart_candy_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -1388,7 +1388,7 @@ class spell_item_book_of_glyph_mastery : public SpellScriptLoader class spell_item_book_of_glyph_mastery_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_book_of_glyph_mastery_SpellScript); + PrepareSpellScript(spell_item_book_of_glyph_mastery_SpellScript) bool Load() override { @@ -1442,7 +1442,7 @@ class spell_item_gift_of_the_harvester : public SpellScriptLoader class spell_item_gift_of_the_harvester_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_gift_of_the_harvester_SpellScript); + PrepareSpellScript(spell_item_gift_of_the_harvester_SpellScript) SpellCastResult CheckRequirement() { @@ -1483,7 +1483,7 @@ class spell_item_map_of_the_geyser_fields : public SpellScriptLoader class spell_item_map_of_the_geyser_fields_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_map_of_the_geyser_fields_SpellScript); + PrepareSpellScript(spell_item_map_of_the_geyser_fields_SpellScript) SpellCastResult CheckSinkholes() { @@ -1523,7 +1523,7 @@ class spell_item_vanquished_clutches : public SpellScriptLoader class spell_item_vanquished_clutches_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_vanquished_clutches_SpellScript); + PrepareSpellScript(spell_item_vanquished_clutches_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1574,7 +1574,7 @@ class spell_item_ashbringer : public SpellScriptLoader class spell_item_ashbringer_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_ashbringer_SpellScript); + PrepareSpellScript(spell_item_ashbringer_SpellScript) bool Load() override { @@ -1623,7 +1623,7 @@ class spell_magic_eater_food : public SpellScriptLoader class spell_magic_eater_food_AuraScript : public AuraScript { - PrepareAuraScript(spell_magic_eater_food_AuraScript); + PrepareAuraScript(spell_magic_eater_food_AuraScript) void HandleTriggerSpell(AuraEffect const* /*aurEff*/) { @@ -1671,7 +1671,7 @@ class spell_item_shimmering_vessel : public SpellScriptLoader class spell_item_shimmering_vessel_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_shimmering_vessel_SpellScript); + PrepareSpellScript(spell_item_shimmering_vessel_SpellScript) void HandleDummy(SpellEffIndex /* effIndex */) { @@ -1704,7 +1704,7 @@ class spell_item_purify_helboar_meat : public SpellScriptLoader class spell_item_purify_helboar_meat_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_purify_helboar_meat_SpellScript); + PrepareSpellScript(spell_item_purify_helboar_meat_SpellScript) bool Load() override { @@ -1748,7 +1748,7 @@ class spell_item_crystal_prison_dummy_dnd : public SpellScriptLoader class spell_item_crystal_prison_dummy_dnd_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_crystal_prison_dummy_dnd_SpellScript); + PrepareSpellScript(spell_item_crystal_prison_dummy_dnd_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1795,7 +1795,7 @@ class spell_item_reindeer_transformation : public SpellScriptLoader class spell_item_reindeer_transformation_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_reindeer_transformation_SpellScript); + PrepareSpellScript(spell_item_reindeer_transformation_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1860,7 +1860,7 @@ class spell_item_nigh_invulnerability : public SpellScriptLoader class spell_item_nigh_invulnerability_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_nigh_invulnerability_SpellScript); + PrepareSpellScript(spell_item_nigh_invulnerability_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1906,7 +1906,7 @@ class spell_item_poultryizer : public SpellScriptLoader class spell_item_poultryizer_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_poultryizer_SpellScript); + PrepareSpellScript(spell_item_poultryizer_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1946,7 +1946,7 @@ class spell_item_socrethars_stone : public SpellScriptLoader class spell_item_socrethars_stone_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_socrethars_stone_SpellScript); + PrepareSpellScript(spell_item_socrethars_stone_SpellScript) bool Load() override { @@ -2001,7 +2001,7 @@ class spell_item_demon_broiled_surprise : public SpellScriptLoader class spell_item_demon_broiled_surprise_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_demon_broiled_surprise_SpellScript); + PrepareSpellScript(spell_item_demon_broiled_surprise_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2058,7 +2058,7 @@ class spell_item_complete_raptor_capture : public SpellScriptLoader class spell_item_complete_raptor_capture_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_complete_raptor_capture_SpellScript); + PrepareSpellScript(spell_item_complete_raptor_capture_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2104,7 +2104,7 @@ class spell_item_impale_leviroth : public SpellScriptLoader class spell_item_impale_leviroth_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_impale_leviroth_SpellScript); + PrepareSpellScript(spell_item_impale_leviroth_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2149,7 +2149,7 @@ class spell_item_brewfest_mount_transformation : public SpellScriptLoader class spell_item_brewfest_mount_transformation_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_brewfest_mount_transformation_SpellScript); + PrepareSpellScript(spell_item_brewfest_mount_transformation_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2212,7 +2212,7 @@ class spell_item_nitro_boots : public SpellScriptLoader class spell_item_nitro_boots_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_nitro_boots_SpellScript); + PrepareSpellScript(spell_item_nitro_boots_SpellScript) bool Load() override { @@ -2259,7 +2259,7 @@ class spell_item_teach_language : public SpellScriptLoader class spell_item_teach_language_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_teach_language_SpellScript); + PrepareSpellScript(spell_item_teach_language_SpellScript) bool Load() override { @@ -2305,7 +2305,7 @@ class spell_item_rocket_boots : public SpellScriptLoader class spell_item_rocket_boots_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_rocket_boots_SpellScript); + PrepareSpellScript(spell_item_rocket_boots_SpellScript) bool Load() override { @@ -2362,7 +2362,7 @@ class spell_item_pygmy_oil : public SpellScriptLoader class spell_item_pygmy_oil_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_pygmy_oil_SpellScript); + PrepareSpellScript(spell_item_pygmy_oil_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2408,7 +2408,7 @@ class spell_item_unusual_compass : public SpellScriptLoader class spell_item_unusual_compass_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_unusual_compass_SpellScript); + PrepareSpellScript(spell_item_unusual_compass_SpellScript) void HandleDummy(SpellEffIndex /* effIndex */) { @@ -2443,7 +2443,7 @@ class spell_item_chicken_cover : public SpellScriptLoader class spell_item_chicken_cover_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_chicken_cover_SpellScript); + PrepareSpellScript(spell_item_chicken_cover_SpellScript) bool Load() override { @@ -2496,7 +2496,7 @@ class spell_item_refocus : public SpellScriptLoader class spell_item_refocus_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_refocus_SpellScript); + PrepareSpellScript(spell_item_refocus_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -2534,7 +2534,7 @@ class spell_item_muisek_vessel : public SpellScriptLoader class spell_item_muisek_vessel_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_muisek_vessel_SpellScript); + PrepareSpellScript(spell_item_muisek_vessel_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -2566,7 +2566,7 @@ class spell_item_greatmothers_soulcatcher : public SpellScriptLoader class spell_item_greatmothers_soulcatcher_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_greatmothers_soulcatcher_SpellScript); + PrepareSpellScript(spell_item_greatmothers_soulcatcher_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp index edb9cd04b44d6..1f41c7974cd54 100644 --- a/src/server/scripts/Spells/spell_mage.cpp +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -82,7 +82,7 @@ class spell_mage_blast_wave : public SpellScriptLoader class spell_mage_blast_wave_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_blast_wave_SpellScript); + PrepareSpellScript(spell_mage_blast_wave_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -117,7 +117,7 @@ class spell_mage_burnout : public SpellScriptLoader class spell_mage_burnout_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_burnout_AuraScript); + PrepareAuraScript(spell_mage_burnout_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -162,7 +162,7 @@ class spell_mage_cold_snap : public SpellScriptLoader class spell_mage_cold_snap_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_cold_snap_SpellScript); + PrepareSpellScript(spell_mage_cold_snap_SpellScript) bool Load() override { @@ -210,7 +210,7 @@ class spell_mage_fire_frost_ward : public SpellScriptLoader class spell_mage_fire_frost_ward_AuraScript : public spell_mage_incanters_absorbtion_base_AuraScript { - PrepareAuraScript(spell_mage_fire_frost_ward_AuraScript); + PrepareAuraScript(spell_mage_fire_frost_ward_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -276,7 +276,7 @@ class spell_mage_focus_magic : public SpellScriptLoader class spell_mage_focus_magic_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_focus_magic_AuraScript); + PrepareAuraScript(spell_mage_focus_magic_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -327,7 +327,7 @@ class spell_mage_ice_barrier : public SpellScriptLoader class spell_mage_ice_barrier_AuraScript : public spell_mage_incanters_absorbtion_base_AuraScript { - PrepareAuraScript(spell_mage_ice_barrier_AuraScript); + PrepareAuraScript(spell_mage_ice_barrier_AuraScript) void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated) { @@ -370,7 +370,7 @@ class spell_mage_ignite : public SpellScriptLoader class spell_mage_ignite_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_ignite_AuraScript); + PrepareAuraScript(spell_mage_ignite_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -417,7 +417,7 @@ class spell_mage_living_bomb : public SpellScriptLoader class spell_mage_living_bomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_living_bomb_AuraScript); + PrepareAuraScript(spell_mage_living_bomb_AuraScript) bool Validate(SpellInfo const* spell) override { @@ -456,7 +456,7 @@ class spell_mage_mana_shield : public SpellScriptLoader class spell_mage_mana_shield_AuraScript : public spell_mage_incanters_absorbtion_base_AuraScript { - PrepareAuraScript(spell_mage_mana_shield_AuraScript); + PrepareAuraScript(spell_mage_mana_shield_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated) { @@ -494,7 +494,7 @@ class spell_mage_master_of_elements : public SpellScriptLoader class spell_mage_master_of_elements_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_master_of_elements_AuraScript); + PrepareAuraScript(spell_mage_master_of_elements_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -546,7 +546,7 @@ class spell_mage_polymorph_cast_visual : public SpellScriptLoader class spell_mage_polymorph_cast_visual_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_polymorph_cast_visual_SpellScript); + PrepareSpellScript(spell_mage_polymorph_cast_visual_SpellScript) static const uint32 PolymorhForms[6]; @@ -596,7 +596,7 @@ class spell_mage_summon_water_elemental : public SpellScriptLoader class spell_mage_summon_water_elemental_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_summon_water_elemental_SpellScript); + PrepareSpellScript(spell_mage_summon_water_elemental_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index bf4f1b77a19cb..753d521c6527e 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -97,7 +97,7 @@ class spell_pal_ardent_defender : public SpellScriptLoader class spell_pal_ardent_defender_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_ardent_defender_AuraScript); + PrepareAuraScript(spell_pal_ardent_defender_AuraScript) uint32 absorbPct, healPct; @@ -173,7 +173,7 @@ class spell_pal_aura_mastery : public SpellScriptLoader class spell_pal_aura_mastery_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_aura_mastery_AuraScript); + PrepareAuraScript(spell_pal_aura_mastery_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -213,7 +213,7 @@ class spell_pal_aura_mastery_immune : public SpellScriptLoader class spell_pal_aura_mastery_immune_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_aura_mastery_immune_AuraScript); + PrepareAuraScript(spell_pal_aura_mastery_immune_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -247,7 +247,7 @@ class spell_pal_avenging_wrath : public SpellScriptLoader class spell_pal_avenging_wrath_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_avenging_wrath_AuraScript); + PrepareAuraScript(spell_pal_avenging_wrath_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -293,7 +293,7 @@ class spell_pal_blessing_of_faith : public SpellScriptLoader class spell_pal_blessing_of_faith_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_blessing_of_faith_SpellScript); + PrepareSpellScript(spell_pal_blessing_of_faith_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -350,7 +350,7 @@ class spell_pal_blessing_of_sanctuary : public SpellScriptLoader class spell_pal_blessing_of_sanctuary_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_blessing_of_sanctuary_AuraScript); + PrepareAuraScript(spell_pal_blessing_of_sanctuary_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -408,7 +408,7 @@ class spell_pal_divine_sacrifice : public SpellScriptLoader class spell_pal_divine_sacrifice_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_divine_sacrifice_AuraScript); + PrepareAuraScript(spell_pal_divine_sacrifice_AuraScript) uint32 groupSize, minHpPct; int32 remainingAmount; @@ -463,7 +463,7 @@ class spell_pal_divine_storm : public SpellScriptLoader class spell_pal_divine_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_divine_storm_SpellScript); + PrepareSpellScript(spell_pal_divine_storm_SpellScript) uint32 healPct; @@ -506,7 +506,7 @@ class spell_pal_divine_storm_dummy : public SpellScriptLoader class spell_pal_divine_storm_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_divine_storm_dummy_SpellScript); + PrepareSpellScript(spell_pal_divine_storm_dummy_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -552,7 +552,7 @@ class spell_pal_exorcism_and_holy_wrath_damage : public SpellScriptLoader class spell_pal_exorcism_and_holy_wrath_damage_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_exorcism_and_holy_wrath_damage_AuraScript); + PrepareAuraScript(spell_pal_exorcism_and_holy_wrath_damage_AuraScript) void HandleEffectCalcSpellMod(AuraEffect const* aurEff, SpellModifier*& spellMod) { @@ -588,7 +588,7 @@ class spell_pal_eye_for_an_eye : public SpellScriptLoader class spell_pal_eye_for_an_eye_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_eye_for_an_eye_AuraScript); + PrepareAuraScript(spell_pal_eye_for_an_eye_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -625,7 +625,7 @@ class spell_pal_glyph_of_holy_light : public SpellScriptLoader class spell_pal_glyph_of_holy_light_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_glyph_of_holy_light_SpellScript); + PrepareSpellScript(spell_pal_glyph_of_holy_light_SpellScript) void FilterTargets(std::list& targets) { @@ -658,7 +658,7 @@ class spell_pal_guarded_by_the_light : public SpellScriptLoader class spell_pal_guarded_by_the_light_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_guarded_by_the_light_SpellScript); + PrepareSpellScript(spell_pal_guarded_by_the_light_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -694,7 +694,7 @@ class spell_pal_hand_of_sacrifice : public SpellScriptLoader class spell_pal_hand_of_sacrifice_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_hand_of_sacrifice_AuraScript); + PrepareAuraScript(spell_pal_hand_of_sacrifice_AuraScript) int32 remainingAmount; @@ -738,7 +738,7 @@ class spell_pal_hand_of_salvation : public SpellScriptLoader class spell_pal_hand_of_salvation_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_hand_of_salvation_AuraScript); + PrepareAuraScript(spell_pal_hand_of_salvation_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -771,7 +771,7 @@ class spell_pal_holy_shock : public SpellScriptLoader class spell_pal_holy_shock_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_holy_shock_SpellScript); + PrepareSpellScript(spell_pal_holy_shock_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -849,7 +849,7 @@ class spell_pal_improved_aura : public SpellScriptLoader class spell_pal_improved_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_improved_aura_AuraScript); + PrepareAuraScript(spell_pal_improved_aura_AuraScript) public: spell_pal_improved_aura_AuraScript(uint32 spellId) : AuraScript(), _spellId(spellId) { } @@ -910,7 +910,7 @@ class spell_pal_improved_aura_effect : public SpellScriptLoader class spell_pal_improved_aura_effect_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_improved_aura_effect_AuraScript); + PrepareAuraScript(spell_pal_improved_aura_effect_AuraScript) bool CheckAreaTarget(Unit* target) { @@ -950,7 +950,7 @@ class spell_pal_item_healing_discount : public SpellScriptLoader class spell_pal_item_healing_discount_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_item_healing_discount_AuraScript); + PrepareAuraScript(spell_pal_item_healing_discount_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -987,7 +987,7 @@ class spell_pal_judgement : public SpellScriptLoader class spell_pal_judgement_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_judgement_SpellScript); + PrepareSpellScript(spell_pal_judgement_SpellScript) public: spell_pal_judgement_SpellScript(uint32 spellId) : SpellScript(), _spellId(spellId) { } @@ -1046,7 +1046,7 @@ class spell_pal_judgement_of_command : public SpellScriptLoader class spell_pal_judgement_of_command_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_judgement_of_command_SpellScript); + PrepareSpellScript(spell_pal_judgement_of_command_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1075,7 +1075,7 @@ class spell_pal_lay_on_hands : public SpellScriptLoader class spell_pal_lay_on_hands_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_lay_on_hands_SpellScript); + PrepareSpellScript(spell_pal_lay_on_hands_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1131,7 +1131,7 @@ class spell_pal_righteous_defense : public SpellScriptLoader class spell_pal_righteous_defense_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_righteous_defense_SpellScript); + PrepareSpellScript(spell_pal_righteous_defense_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1195,7 +1195,7 @@ class spell_pal_sacred_shield : public SpellScriptLoader class spell_pal_sacred_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_sacred_shield_AuraScript); + PrepareAuraScript(spell_pal_sacred_shield_AuraScript) void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -1239,7 +1239,7 @@ class spell_pal_seal_of_righteousness : public SpellScriptLoader class spell_pal_seal_of_righteousness_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_seal_of_righteousness_AuraScript); + PrepareAuraScript(spell_pal_seal_of_righteousness_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_pet.cpp b/src/server/scripts/Spells/spell_pet.cpp index 775f9f505f9ac..6eabf61b0532b 100644 --- a/src/server/scripts/Spells/spell_pet.cpp +++ b/src/server/scripts/Spells/spell_pet.cpp @@ -93,7 +93,7 @@ class spell_gen_pet_calculate : public SpellScriptLoader class spell_gen_pet_calculate_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_pet_calculate_AuraScript); + PrepareAuraScript(spell_gen_pet_calculate_AuraScript) bool Load() override { @@ -227,7 +227,7 @@ class spell_warl_pet_scaling_01 : public SpellScriptLoader class spell_warl_pet_scaling_01_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_01_AuraScript); + PrepareAuraScript(spell_warl_pet_scaling_01_AuraScript) bool Load() override { @@ -364,7 +364,7 @@ class spell_warl_pet_scaling_02 : public SpellScriptLoader class spell_warl_pet_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_02_AuraScript); + PrepareAuraScript(spell_warl_pet_scaling_02_AuraScript) bool Load() override { @@ -477,7 +477,7 @@ class spell_warl_pet_scaling_03 : public SpellScriptLoader class spell_warl_pet_scaling_03_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_03_AuraScript); + PrepareAuraScript(spell_warl_pet_scaling_03_AuraScript) bool Load() override { @@ -544,7 +544,7 @@ class spell_warl_pet_scaling_04 : public SpellScriptLoader class spell_warl_pet_scaling_04_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_04_AuraScript); + PrepareAuraScript(spell_warl_pet_scaling_04_AuraScript) bool Load() override { @@ -584,7 +584,7 @@ class spell_warl_pet_scaling_05 : public SpellScriptLoader class spell_warl_pet_scaling_05_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_05_AuraScript); + PrepareAuraScript(spell_warl_pet_scaling_05_AuraScript) bool Load() override { @@ -659,7 +659,7 @@ class spell_warl_pet_passive : public SpellScriptLoader class spell_warl_pet_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_passive_AuraScript); + PrepareAuraScript(spell_warl_pet_passive_AuraScript) bool Load() override { @@ -732,7 +732,7 @@ class spell_warl_pet_passive_damage_done : public SpellScriptLoader class spell_warl_pet_passive_damage_done_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_passive_damage_done_AuraScript); + PrepareAuraScript(spell_warl_pet_passive_damage_done_AuraScript) bool Load() override { @@ -783,7 +783,7 @@ class spell_warl_pet_passive_voidwalker : public SpellScriptLoader class spell_warl_pet_passive_voidwalker_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_passive_voidwalker_AuraScript); + PrepareAuraScript(spell_warl_pet_passive_voidwalker_AuraScript) bool Load() override { @@ -821,7 +821,7 @@ class spell_sha_pet_scaling_04 : public SpellScriptLoader class spell_sha_pet_scaling_04_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_pet_scaling_04_AuraScript); + PrepareAuraScript(spell_sha_pet_scaling_04_AuraScript) bool Load() override { @@ -880,7 +880,7 @@ class spell_hun_pet_scaling_01 : public SpellScriptLoader class spell_hun_pet_scaling_01_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_01_AuraScript); + PrepareAuraScript(spell_hun_pet_scaling_01_AuraScript) void CalculateStaminaAmount(AuraEffect const* /* aurEff */, int32& amount, bool& /*canBeRecalculated*/) { @@ -1006,7 +1006,7 @@ class spell_hun_pet_scaling_02 : public SpellScriptLoader class spell_hun_pet_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_02_AuraScript); + PrepareAuraScript(spell_hun_pet_scaling_02_AuraScript) bool Load() override { @@ -1093,7 +1093,7 @@ class spell_hun_pet_scaling_03 : public SpellScriptLoader class spell_hun_pet_scaling_03_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_03_AuraScript); + PrepareAuraScript(spell_hun_pet_scaling_03_AuraScript) bool Load() override { @@ -1180,7 +1180,7 @@ class spell_hun_pet_scaling_04 : public SpellScriptLoader class spell_hun_pet_scaling_04_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_04_AuraScript); + PrepareAuraScript(spell_hun_pet_scaling_04_AuraScript) bool Load() override { @@ -1261,7 +1261,7 @@ class spell_hun_pet_passive_crit : public SpellScriptLoader class spell_hun_pet_passive_crit_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_passive_crit_AuraScript); + PrepareAuraScript(spell_hun_pet_passive_crit_AuraScript) bool Load() override { @@ -1332,7 +1332,7 @@ class spell_hun_pet_passive_damage_done : public SpellScriptLoader class spell_hun_pet_passive_damage_done_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_passive_damage_done_AuraScript); + PrepareAuraScript(spell_hun_pet_passive_damage_done_AuraScript) bool Load() override { @@ -1390,7 +1390,7 @@ class spell_hun_animal_handler : public SpellScriptLoader class spell_hun_animal_handler_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_animal_handler_AuraScript); + PrepareAuraScript(spell_hun_animal_handler_AuraScript) bool Load() override { @@ -1432,7 +1432,7 @@ class spell_dk_avoidance_passive : public SpellScriptLoader class spell_dk_avoidance_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_avoidance_passive_AuraScript); + PrepareAuraScript(spell_dk_avoidance_passive_AuraScript) bool Load() override { @@ -1476,7 +1476,7 @@ class spell_dk_pet_scaling_01 : public SpellScriptLoader class spell_dk_pet_scaling_01_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_pet_scaling_01_AuraScript); + PrepareAuraScript(spell_dk_pet_scaling_01_AuraScript) bool Load() override { @@ -1579,7 +1579,7 @@ class spell_dk_pet_scaling_02 : public SpellScriptLoader class spell_dk_pet_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_pet_scaling_02_AuraScript); + PrepareAuraScript(spell_dk_pet_scaling_02_AuraScript) bool Load() override { @@ -1622,7 +1622,7 @@ class spell_dk_pet_scaling_03 : public SpellScriptLoader class spell_dk_pet_scaling_03_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_pet_scaling_03_AuraScript); + PrepareAuraScript(spell_dk_pet_scaling_03_AuraScript) bool Load() override { @@ -1685,7 +1685,7 @@ class spell_dk_rune_weapon_scaling_02 : public SpellScriptLoader class spell_dk_rune_weapon_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_rune_weapon_scaling_02_AuraScript); + PrepareAuraScript(spell_dk_rune_weapon_scaling_02_AuraScript) bool Load() override { diff --git a/src/server/scripts/Spells/spell_priest.cpp b/src/server/scripts/Spells/spell_priest.cpp index f96a30c903aed..3345a4a6eef3d 100644 --- a/src/server/scripts/Spells/spell_priest.cpp +++ b/src/server/scripts/Spells/spell_priest.cpp @@ -96,7 +96,7 @@ class spell_pri_circle_of_healing : public SpellScriptLoader class spell_pri_circle_of_healing_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_circle_of_healing_SpellScript); + PrepareSpellScript(spell_pri_circle_of_healing_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -138,7 +138,7 @@ class spell_pri_divine_aegis : public SpellScriptLoader class spell_pri_divine_aegis_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_divine_aegis_AuraScript); + PrepareAuraScript(spell_pri_divine_aegis_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -188,7 +188,7 @@ class spell_pri_divine_hymn : public SpellScriptLoader class spell_pri_divine_hymn_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_divine_hymn_SpellScript); + PrepareSpellScript(spell_pri_divine_hymn_SpellScript) void FilterTargets(std::list& targets) { @@ -223,7 +223,7 @@ class spell_pri_glyph_of_prayer_of_healing : public SpellScriptLoader class spell_pri_glyph_of_prayer_of_healing_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_glyph_of_prayer_of_healing_AuraScript); + PrepareAuraScript(spell_pri_glyph_of_prayer_of_healing_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -261,7 +261,7 @@ class spell_pri_guardian_spirit : public SpellScriptLoader class spell_pri_guardian_spirit_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_guardian_spirit_AuraScript); + PrepareAuraScript(spell_pri_guardian_spirit_AuraScript) uint32 healPct; @@ -318,7 +318,7 @@ class spell_pri_hymn_of_hope : public SpellScriptLoader class spell_pri_hymn_of_hope_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_hymn_of_hope_SpellScript); + PrepareSpellScript(spell_pri_hymn_of_hope_SpellScript) void FilterTargets(std::list& targets) { @@ -354,7 +354,7 @@ class spell_pri_item_greater_heal_refund : public SpellScriptLoader class spell_pri_item_greater_heal_refund_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_item_greater_heal_refund_AuraScript); + PrepareAuraScript(spell_pri_item_greater_heal_refund_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -389,7 +389,7 @@ class spell_pri_lightwell_renew : public SpellScriptLoader class spell_pri_lightwell_renew_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_lightwell_renew_AuraScript); + PrepareAuraScript(spell_pri_lightwell_renew_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -421,7 +421,7 @@ class spell_pri_mana_burn : public SpellScriptLoader class spell_pri_mana_burn_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_mana_burn_SpellScript); + PrepareSpellScript(spell_pri_mana_burn_SpellScript) void HandleAfterHit() { @@ -449,7 +449,7 @@ class spell_pri_mana_leech : public SpellScriptLoader class spell_pri_mana_leech_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_mana_leech_AuraScript); + PrepareAuraScript(spell_pri_mana_leech_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -500,7 +500,7 @@ class spell_pri_mind_sear : public SpellScriptLoader class spell_pri_mind_sear_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_mind_sear_SpellScript); + PrepareSpellScript(spell_pri_mind_sear_SpellScript) void FilterTargets(std::list& unitList) { @@ -527,7 +527,7 @@ class spell_pri_pain_and_suffering_proc : public SpellScriptLoader class spell_pri_pain_and_suffering_proc_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_pain_and_suffering_proc_SpellScript); + PrepareSpellScript(spell_pri_pain_and_suffering_proc_SpellScript) void HandleEffectScriptEffect(SpellEffIndex /*effIndex*/) { @@ -557,7 +557,7 @@ class spell_pri_penance : public SpellScriptLoader class spell_pri_penance_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_penance_SpellScript); + PrepareSpellScript(spell_pri_penance_SpellScript) bool Load() override { @@ -630,7 +630,7 @@ class spell_pri_power_word_shield : public SpellScriptLoader class spell_pri_power_word_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_power_word_shield_AuraScript); + PrepareAuraScript(spell_pri_power_word_shield_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -705,7 +705,7 @@ class spell_pri_prayer_of_mending_heal : public SpellScriptLoader class spell_pri_prayer_of_mending_heal_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_prayer_of_mending_heal_SpellScript); + PrepareSpellScript(spell_pri_prayer_of_mending_heal_SpellScript) void HandleHeal(SpellEffIndex /*effIndex*/) { @@ -740,7 +740,7 @@ class spell_pri_renew : public SpellScriptLoader class spell_pri_renew_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_renew_AuraScript); + PrepareAuraScript(spell_pri_renew_AuraScript) bool Load() override { @@ -783,7 +783,7 @@ class spell_pri_shadow_word_death : public SpellScriptLoader class spell_pri_shadow_word_death_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_shadow_word_death_SpellScript); + PrepareSpellScript(spell_pri_shadow_word_death_SpellScript) void HandleDamage() { @@ -816,7 +816,7 @@ class spell_pri_vampiric_touch : public SpellScriptLoader class spell_pri_vampiric_touch_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_vampiric_touch_AuraScript); + PrepareAuraScript(spell_pri_vampiric_touch_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index f895381574ef9..76355a5f1fd17 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -33,7 +33,7 @@ class spell_generic_quest_update_entry_SpellScript : public SpellScript { - PrepareSpellScript(spell_generic_quest_update_entry_SpellScript); + PrepareSpellScript(spell_generic_quest_update_entry_SpellScript) private: uint16 _spellEffect; uint8 _effIndex; @@ -99,7 +99,7 @@ class spell_q2203_thaumaturgy_channel : public SpellScriptLoader class spell_q2203_thaumaturgy_channel_AuraScript : public AuraScript { - PrepareAuraScript(spell_q2203_thaumaturgy_channel_AuraScript); + PrepareAuraScript(spell_q2203_thaumaturgy_channel_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -142,7 +142,7 @@ class spell_q5206_test_fetid_skull : public SpellScriptLoader class spell_q5206_test_fetid_skull_SpellScript : public SpellScript { - PrepareSpellScript(spell_q5206_test_fetid_skull_SpellScript); + PrepareSpellScript(spell_q5206_test_fetid_skull_SpellScript) bool Load() override { @@ -194,7 +194,7 @@ class spell_q6124_6129_apply_salve : public SpellScriptLoader class spell_q6124_6129_apply_salve_SpellScript : public SpellScript { - PrepareSpellScript(spell_q6124_6129_apply_salve_SpellScript); + PrepareSpellScript(spell_q6124_6129_apply_salve_SpellScript) bool Load() override { @@ -274,7 +274,7 @@ class spell_q11396_11399_force_shield_arcane_purple_x3 : public SpellScriptLoade class spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript : public AuraScript { - PrepareAuraScript(spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript); + PrepareAuraScript(spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript) void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -310,7 +310,7 @@ class spell_q11396_11399_scourging_crystal_controller : public SpellScriptLoader class spell_q11396_11399_scourging_crystal_controller_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_SpellScript); + PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_SpellScript) bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -348,7 +348,7 @@ class spell_q11396_11399_scourging_crystal_controller_dummy : public SpellScript class spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript); + PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript) bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -411,7 +411,7 @@ class spell_q11587_arcane_prisoner_rescue : public SpellScriptLoader class spell_q11587_arcane_prisoner_rescue_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11587_arcane_prisoner_rescue_SpellScript); + PrepareSpellScript(spell_q11587_arcane_prisoner_rescue_SpellScript) bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -469,7 +469,7 @@ class spell_q11730_ultrasonic_screwdriver : public SpellScriptLoader class spell_q11730_ultrasonic_screwdriver_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11730_ultrasonic_screwdriver_SpellScript); + PrepareSpellScript(spell_q11730_ultrasonic_screwdriver_SpellScript) bool Load() override { @@ -539,7 +539,7 @@ class spell_q12459_seeds_of_natures_wrath : public SpellScriptLoader class spell_q12459_seeds_of_natures_wrath_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12459_seeds_of_natures_wrath_SpellScript); + PrepareSpellScript(spell_q12459_seeds_of_natures_wrath_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -586,7 +586,7 @@ class spell_q12634_despawn_fruit_tosser : public SpellScriptLoader class spell_q12634_despawn_fruit_tosser_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12634_despawn_fruit_tosser_SpellScript); + PrepareSpellScript(spell_q12634_despawn_fruit_tosser_SpellScript) bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -630,7 +630,7 @@ class spell_q12683_take_sputum_sample : public SpellScriptLoader class spell_q12683_take_sputum_sample_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12683_take_sputum_sample_SpellScript); + PrepareSpellScript(spell_q12683_take_sputum_sample_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -675,7 +675,7 @@ class spell_q12851_going_bearback : public SpellScriptLoader class spell_q12851_going_bearback_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12851_going_bearback_AuraScript); + PrepareAuraScript(spell_q12851_going_bearback_AuraScript) void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -733,7 +733,7 @@ class spell_q12937_relief_for_the_fallen : public SpellScriptLoader class spell_q12937_relief_for_the_fallen_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12937_relief_for_the_fallen_SpellScript); + PrepareSpellScript(spell_q12937_relief_for_the_fallen_SpellScript) bool Load() override { @@ -784,7 +784,7 @@ class spell_q10041_q10040_who_are_they : public SpellScriptLoader class spell_q10041_q10040_who_are_they_SpellScript : public SpellScript { - PrepareSpellScript(spell_q10041_q10040_who_are_they_SpellScript); + PrepareSpellScript(spell_q10041_q10040_who_are_they_SpellScript) bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -828,7 +828,7 @@ class spell_symbol_of_life_dummy : public SpellScriptLoader class spell_symbol_of_life_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_symbol_of_life_dummy_SpellScript); + PrepareSpellScript(spell_symbol_of_life_dummy_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -871,7 +871,7 @@ class spell_q12659_ahunaes_knife : public SpellScriptLoader class spell_q12659_ahunaes_knife_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12659_ahunaes_knife_SpellScript); + PrepareSpellScript(spell_q12659_ahunaes_knife_SpellScript) bool Load() override { @@ -915,7 +915,7 @@ class spell_q9874_liquid_fire : public SpellScriptLoader class spell_q9874_liquid_fire_SpellScript : public SpellScript { - PrepareSpellScript(spell_q9874_liquid_fire_SpellScript); + PrepareSpellScript(spell_q9874_liquid_fire_SpellScript) bool Load() override { @@ -960,7 +960,7 @@ class spell_q12805_lifeblood_dummy : public SpellScriptLoader class spell_q12805_lifeblood_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12805_lifeblood_dummy_SpellScript); + PrepareSpellScript(spell_q12805_lifeblood_dummy_SpellScript) bool Load() override { @@ -1008,7 +1008,7 @@ class spell_q13280_13283_plant_battle_standard: public SpellScriptLoader class spell_q13280_13283_plant_battle_standard_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13280_13283_plant_battle_standard_SpellScript); + PrepareSpellScript(spell_q13280_13283_plant_battle_standard_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1045,7 +1045,7 @@ class spell_q14112_14145_chum_the_water: public SpellScriptLoader class spell_q14112_14145_chum_the_water_SpellScript : public SpellScript { - PrepareSpellScript(spell_q14112_14145_chum_the_water_SpellScript); + PrepareSpellScript(spell_q14112_14145_chum_the_water_SpellScript) bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -1087,7 +1087,7 @@ class spell_q9452_cast_net: public SpellScriptLoader class spell_q9452_cast_net_SpellScript : public SpellScript { - PrepareSpellScript(spell_q9452_cast_net_SpellScript); + PrepareSpellScript(spell_q9452_cast_net_SpellScript) bool Load() override { @@ -1130,7 +1130,7 @@ class spell_q12987_read_pronouncement : public SpellScriptLoader class spell_q12987_read_pronouncement_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12987_read_pronouncement_AuraScript); + PrepareAuraScript(spell_q12987_read_pronouncement_AuraScript) void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1171,7 +1171,7 @@ class spell_q12277_wintergarde_mine_explosion : public SpellScriptLoader class spell_q12277_wintergarde_mine_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12277_wintergarde_mine_explosion_SpellScript); + PrepareSpellScript(spell_q12277_wintergarde_mine_explosion_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1224,7 +1224,7 @@ class spell_q12066_bunny_kill_credit : public SpellScriptLoader class spell_q12066_bunny_kill_credit_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12066_bunny_kill_credit_SpellScript); + PrepareSpellScript(spell_q12066_bunny_kill_credit_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1262,7 +1262,7 @@ class spell_q12735_song_of_cleansing : public SpellScriptLoader class spell_q12735_song_of_cleansing_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12735_song_of_cleansing_SpellScript); + PrepareSpellScript(spell_q12735_song_of_cleansing_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1307,7 +1307,7 @@ class spell_q12372_cast_from_gossip_trigger : public SpellScriptLoader class spell_q12372_cast_from_gossip_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12372_cast_from_gossip_trigger_SpellScript); + PrepareSpellScript(spell_q12372_cast_from_gossip_trigger_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1343,7 +1343,7 @@ class spell_q12372_destabilize_azure_dragonshrine_dummy : public SpellScriptLoad class spell_q12372_destabilize_azure_dragonshrine_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12372_destabilize_azure_dragonshrine_dummy_SpellScript); + PrepareSpellScript(spell_q12372_destabilize_azure_dragonshrine_dummy_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1375,7 +1375,7 @@ class spell_q12372_azure_on_death_force_whisper : public SpellScriptLoader class spell_q12372_azure_on_death_force_whisper_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12372_azure_on_death_force_whisper_SpellScript); + PrepareSpellScript(spell_q12372_azure_on_death_force_whisper_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1414,7 +1414,7 @@ class spell_q11010_q11102_q11023_aggro_check_aura : public SpellScriptLoader class spell_q11010_q11102_q11023_aggro_check_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_q11010_q11102_q11023_aggro_check_aura_AuraScript); + PrepareAuraScript(spell_q11010_q11102_q11023_aggro_check_aura_AuraScript) void HandleTriggerSpell(AuraEffect const* /*aurEff*/) { @@ -1443,7 +1443,7 @@ class spell_q11010_q11102_q11023_aggro_check : public SpellScriptLoader class spell_q11010_q11102_q11023_aggro_check_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11010_q11102_q11023_aggro_check_SpellScript); + PrepareSpellScript(spell_q11010_q11102_q11023_aggro_check_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1473,7 +1473,7 @@ class spell_q11010_q11102_q11023_aggro_burst : public SpellScriptLoader class spell_q11010_q11102_q11023_aggro_burst_AuraScript : public AuraScript { - PrepareAuraScript(spell_q11010_q11102_q11023_aggro_burst_AuraScript); + PrepareAuraScript(spell_q11010_q11102_q11023_aggro_burst_AuraScript) void HandleEffectPeriodic(AuraEffect const* /*aurEff*/) { @@ -1502,7 +1502,7 @@ class spell_q11010_q11102_q11023_choose_loc : public SpellScriptLoader class spell_q11010_q11102_q11023_choose_loc_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11010_q11102_q11023_choose_loc_SpellScript); + PrepareSpellScript(spell_q11010_q11102_q11023_choose_loc_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1540,7 +1540,7 @@ class spell_q11010_q11102_q11023_q11008_check_fly_mount : public SpellScriptLoad class spell_q11010_q11102_q11023_q11008_check_fly_mount_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11010_q11102_q11023_q11008_check_fly_mount_SpellScript); + PrepareSpellScript(spell_q11010_q11102_q11023_q11008_check_fly_mount_SpellScript) SpellCastResult CheckRequirement() { @@ -1575,7 +1575,7 @@ class spell_q12527_zuldrak_rat : public SpellScriptLoader class spell_q12527_zuldrak_rat_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12527_zuldrak_rat_SpellScript); + PrepareSpellScript(spell_q12527_zuldrak_rat_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1614,7 +1614,7 @@ class spell_q12661_q12669_q12676_q12677_q12713_summon_stefan : public SpellScrip class spell_q12661_q12669_q12676_q12677_q12713_summon_stefan_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12661_q12669_q12676_q12677_q12713_summon_stefan_SpellScript); + PrepareSpellScript(spell_q12661_q12669_q12676_q12677_q12713_summon_stefan_SpellScript) void SetDest(SpellDestination& dest) { @@ -1647,7 +1647,7 @@ class spell_q12730_quenching_mist : public SpellScriptLoader class spell_q12730_quenching_mist_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12730_quenching_mist_AuraScript); + PrepareAuraScript(spell_q12730_quenching_mist_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1690,7 +1690,7 @@ class spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy : public class spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy_SpellScript); + PrepareSpellScript(spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -1729,7 +1729,7 @@ class spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon : public S class spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon_SpellScript); + PrepareSpellScript(spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon_SpellScript) void SetDest(SpellDestination& dest) { @@ -1758,7 +1758,7 @@ class spell_q12847_summon_soul_moveto_bunny : public SpellScriptLoader class spell_q12847_summon_soul_moveto_bunny_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12847_summon_soul_moveto_bunny_SpellScript); + PrepareSpellScript(spell_q12847_summon_soul_moveto_bunny_SpellScript) void SetDest(SpellDestination& dest) { @@ -1793,7 +1793,7 @@ class spell_q13011_bear_flank_master : public SpellScriptLoader class spell_q13011_bear_flank_master_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13011_bear_flank_master_SpellScript); + PrepareSpellScript(spell_q13011_bear_flank_master_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1843,7 +1843,7 @@ class spell_q13086_cannons_target : public SpellScriptLoader class spell_q13086_cannons_target_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13086_cannons_target_SpellScript); + PrepareSpellScript(spell_q13086_cannons_target_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -1894,7 +1894,7 @@ class spell_q12690_burst_at_the_seams : public SpellScriptLoader class spell_q12690_burst_at_the_seams_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12690_burst_at_the_seams_SpellScript); + PrepareSpellScript(spell_q12690_burst_at_the_seams_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1970,7 +1970,7 @@ class spell_q12308_escape_from_silverbrook : public SpellScriptLoader class spell_q12308_escape_from_silverbrook_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12308_escape_from_silverbrook_SpellScript); + PrepareSpellScript(spell_q12308_escape_from_silverbrook_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2004,7 +2004,7 @@ class spell_q12308_escape_from_silverbrook_summon_worgen : public SpellScriptLoa class spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript); + PrepareSpellScript(spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript) void ModDest(SpellDestination& dest) { @@ -2049,7 +2049,7 @@ class spell_q12641_death_comes_from_on_high : public SpellScriptLoader class spell_q12641_death_comes_from_on_high_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12641_death_comes_from_on_high_SpellScript); + PrepareSpellScript(spell_q12641_death_comes_from_on_high_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2106,7 +2106,7 @@ class spell_q12619_emblazon_runeblade : public SpellScriptLoader class spell_q12619_emblazon_runeblade_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12619_emblazon_runeblade_AuraScript); + PrepareAuraScript(spell_q12619_emblazon_runeblade_AuraScript) void HandleEffectPeriodic(AuraEffect const* aurEff) { @@ -2135,7 +2135,7 @@ class spell_q12619_emblazon_runeblade_effect : public SpellScriptLoader class spell_q12619_emblazon_runeblade_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12619_emblazon_runeblade_effect_SpellScript); + PrepareSpellScript(spell_q12619_emblazon_runeblade_effect_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2167,7 +2167,7 @@ class spell_q12919_gymers_grab : public SpellScriptLoader class spell_q12919_gymers_grab_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12919_gymers_grab_SpellScript); + PrepareSpellScript(spell_q12919_gymers_grab_SpellScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -2209,7 +2209,7 @@ class spell_q12919_gymers_throw : public SpellScriptLoader class spell_q12919_gymers_throw_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12919_gymers_throw_SpellScript); + PrepareSpellScript(spell_q12919_gymers_throw_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2246,7 +2246,7 @@ class spell_q13400_illidan_kill_master : public SpellScriptLoader class spell_q13400_illidan_kill_master_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13400_illidan_kill_master_SpellScript); + PrepareSpellScript(spell_q13400_illidan_kill_master_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2288,7 +2288,7 @@ class spell_q14100_q14111_make_player_destroy_totems : public SpellScriptLoader class spell_q14100_q14111_make_player_destroy_totems_SpellScript : public SpellScript { - PrepareSpellScript(spell_q14100_q14111_make_player_destroy_totems_SpellScript); + PrepareSpellScript(spell_q14100_q14111_make_player_destroy_totems_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp index bf413aef6a33d..1653848410071 100644 --- a/src/server/scripts/Spells/spell_rogue.cpp +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -50,7 +50,7 @@ class spell_rog_blade_flurry : public SpellScriptLoader class spell_rog_blade_flurry_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_blade_flurry_AuraScript); + PrepareAuraScript(spell_rog_blade_flurry_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -105,7 +105,7 @@ class spell_rog_cheat_death : public SpellScriptLoader class spell_rog_cheat_death_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_cheat_death_AuraScript); + PrepareAuraScript(spell_rog_cheat_death_AuraScript) uint32 absorbChance; @@ -168,7 +168,7 @@ class spell_rog_deadly_poison : public SpellScriptLoader class spell_rog_deadly_poison_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_deadly_poison_SpellScript); + PrepareSpellScript(spell_rog_deadly_poison_SpellScript) bool Load() override { @@ -263,7 +263,7 @@ class spell_rog_killing_spree : public SpellScriptLoader class spell_rog_killing_spree_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_killing_spree_SpellScript); + PrepareSpellScript(spell_rog_killing_spree_SpellScript) void FilterTargets(std::list& targets) { @@ -294,7 +294,7 @@ class spell_rog_killing_spree : public SpellScriptLoader class spell_rog_killing_spree_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_killing_spree_AuraScript); + PrepareAuraScript(spell_rog_killing_spree_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -362,7 +362,7 @@ class spell_rog_nerves_of_steel : public SpellScriptLoader class spell_rog_nerves_of_steel_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_nerves_of_steel_AuraScript); + PrepareAuraScript(spell_rog_nerves_of_steel_AuraScript) uint32 absorbPct; @@ -406,7 +406,7 @@ class spell_rog_preparation : public SpellScriptLoader class spell_rog_preparation_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_preparation_SpellScript); + PrepareSpellScript(spell_rog_preparation_SpellScript) bool Load() override { @@ -473,7 +473,7 @@ class spell_rog_prey_on_the_weak : public SpellScriptLoader class spell_rog_prey_on_the_weak_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_prey_on_the_weak_AuraScript); + PrepareAuraScript(spell_rog_prey_on_the_weak_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -518,7 +518,7 @@ class spell_rog_rupture : public SpellScriptLoader class spell_rog_rupture_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_rupture_AuraScript); + PrepareAuraScript(spell_rog_rupture_AuraScript) bool Load() override { @@ -570,7 +570,7 @@ class spell_rog_shiv : public SpellScriptLoader class spell_rog_shiv_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_shiv_SpellScript); + PrepareSpellScript(spell_rog_shiv_SpellScript) bool Load() override { @@ -611,7 +611,7 @@ class spell_rog_tricks_of_the_trade : public SpellScriptLoader class spell_rog_tricks_of_the_trade_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_tricks_of_the_trade_AuraScript); + PrepareAuraScript(spell_rog_tricks_of_the_trade_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -675,7 +675,7 @@ class spell_rog_tricks_of_the_trade_proc : public SpellScriptLoader class spell_rog_tricks_of_the_trade_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_tricks_of_the_trade_proc_AuraScript); + PrepareAuraScript(spell_rog_tricks_of_the_trade_proc_AuraScript) void HandleRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp index 590cad7007fba..1d1d8223a2a01 100644 --- a/src/server/scripts/Spells/spell_shaman.cpp +++ b/src/server/scripts/Spells/spell_shaman.cpp @@ -70,7 +70,7 @@ class spell_sha_ancestral_awakening_proc : public SpellScriptLoader class spell_sha_ancestral_awakening_proc_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_ancestral_awakening_proc_SpellScript); + PrepareSpellScript(spell_sha_ancestral_awakening_proc_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -119,7 +119,7 @@ class spell_sha_astral_shift : public SpellScriptLoader class spell_sha_astral_shift_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_astral_shift_AuraScript); + PrepareAuraScript(spell_sha_astral_shift_AuraScript) uint32 absorbPct; @@ -163,7 +163,7 @@ class spell_sha_bloodlust : public SpellScriptLoader class spell_sha_bloodlust_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_bloodlust_SpellScript); + PrepareSpellScript(spell_sha_bloodlust_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -206,7 +206,7 @@ class spell_sha_chain_heal : public SpellScriptLoader class spell_sha_chain_heal_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_chain_heal_SpellScript); + PrepareSpellScript(spell_sha_chain_heal_SpellScript) bool Load() override { @@ -256,7 +256,7 @@ class spell_sha_cleansing_totem_pulse : public SpellScriptLoader class spell_sha_cleansing_totem_pulse_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_cleansing_totem_pulse_SpellScript); + PrepareSpellScript(spell_sha_cleansing_totem_pulse_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -292,7 +292,7 @@ class spell_sha_earth_shield : public SpellScriptLoader class spell_sha_earth_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_earth_shield_AuraScript); + PrepareAuraScript(spell_sha_earth_shield_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -360,7 +360,7 @@ class spell_sha_earthbind_totem : public SpellScriptLoader class spell_sha_earthbind_totem_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_earthbind_totem_AuraScript); + PrepareAuraScript(spell_sha_earthbind_totem_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -432,7 +432,7 @@ class spell_sha_earthen_power : public SpellScriptLoader class spell_sha_earthen_power_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_earthen_power_SpellScript); + PrepareSpellScript(spell_sha_earthen_power_SpellScript) void FilterTargets(std::list& unitList) { @@ -459,7 +459,7 @@ class spell_sha_fire_nova : public SpellScriptLoader class spell_sha_fire_nova_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_fire_nova_SpellScript); + PrepareSpellScript(spell_sha_fire_nova_SpellScript) bool Validate(SpellInfo const* spellInfo) override { @@ -517,7 +517,7 @@ class spell_sha_flame_shock : public SpellScriptLoader class spell_sha_flame_shock_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_flame_shock_AuraScript); + PrepareAuraScript(spell_sha_flame_shock_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -563,7 +563,7 @@ class spell_sha_healing_stream_totem : public SpellScriptLoader class spell_sha_healing_stream_totem_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_healing_stream_totem_SpellScript); + PrepareSpellScript(spell_sha_healing_stream_totem_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -618,7 +618,7 @@ class spell_sha_heroism : public SpellScriptLoader class spell_sha_heroism_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_heroism_SpellScript); + PrepareSpellScript(spell_sha_heroism_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -661,7 +661,7 @@ class spell_sha_item_lightning_shield : public SpellScriptLoader class spell_sha_item_lightning_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_item_lightning_shield_AuraScript); + PrepareAuraScript(spell_sha_item_lightning_shield_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -696,7 +696,7 @@ class spell_sha_item_lightning_shield_trigger : public SpellScriptLoader class spell_sha_item_lightning_shield_trigger_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_item_lightning_shield_trigger_AuraScript); + PrepareAuraScript(spell_sha_item_lightning_shield_trigger_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -731,7 +731,7 @@ class spell_sha_item_mana_surge : public SpellScriptLoader class spell_sha_item_mana_surge_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_item_mana_surge_AuraScript); + PrepareAuraScript(spell_sha_item_mana_surge_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -819,7 +819,7 @@ class spell_sha_mana_spring_totem : public SpellScriptLoader class spell_sha_mana_spring_totem_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_mana_spring_totem_SpellScript); + PrepareSpellScript(spell_sha_mana_spring_totem_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -858,7 +858,7 @@ class spell_sha_mana_tide_totem : public SpellScriptLoader class spell_sha_mana_tide_totem_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_mana_tide_totem_SpellScript); + PrepareSpellScript(spell_sha_mana_tide_totem_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -906,7 +906,7 @@ class spell_sha_sentry_totem : public SpellScriptLoader class spell_sha_sentry_totem_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_sentry_totem_AuraScript); + PrepareAuraScript(spell_sha_sentry_totem_AuraScript) bool Validate(SpellInfo const* /*spell*/) override { @@ -951,7 +951,7 @@ class spell_sha_thunderstorm : public SpellScriptLoader class spell_sha_thunderstorm_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_thunderstorm_SpellScript); + PrepareSpellScript(spell_sha_thunderstorm_SpellScript) void HandleKnockBack(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index 18979d24ecbc7..20f9cd83cad8a 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -69,7 +69,7 @@ class spell_warl_banish : public SpellScriptLoader class spell_warl_banish_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_banish_SpellScript); + PrepareSpellScript(spell_warl_banish_SpellScript) bool Load() override { @@ -121,7 +121,7 @@ class spell_warl_create_healthstone : public SpellScriptLoader class spell_warl_create_healthstone_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_create_healthstone_SpellScript); + PrepareSpellScript(spell_warl_create_healthstone_SpellScript) static uint32 const iTypes[8][3]; @@ -204,7 +204,7 @@ class spell_warl_curse_of_doom : public SpellScriptLoader class spell_warl_curse_of_doom_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_curse_of_doom_AuraScript); + PrepareAuraScript(spell_warl_curse_of_doom_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -251,7 +251,7 @@ class spell_warl_demonic_circle_summon : public SpellScriptLoader class spell_warl_demonic_circle_summon_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_demonic_circle_summon_AuraScript); + PrepareAuraScript(spell_warl_demonic_circle_summon_AuraScript) void HandleRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes mode) { @@ -303,7 +303,7 @@ class spell_warl_demonic_circle_teleport : public SpellScriptLoader class spell_warl_demonic_circle_teleport_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_demonic_circle_teleport_AuraScript); + PrepareAuraScript(spell_warl_demonic_circle_teleport_AuraScript) void HandleTeleport(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -337,7 +337,7 @@ class spell_warl_demonic_empowerment : public SpellScriptLoader class spell_warl_demonic_empowerment_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_demonic_empowerment_SpellScript); + PrepareSpellScript(spell_warl_demonic_empowerment_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -401,7 +401,7 @@ class spell_warl_everlasting_affliction : public SpellScriptLoader class spell_warl_everlasting_affliction_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_everlasting_affliction_SpellScript); + PrepareSpellScript(spell_warl_everlasting_affliction_SpellScript) void HandleScriptEffect(SpellEffIndex /*effIndex*/) { @@ -431,7 +431,7 @@ class spell_warl_fel_synergy : public SpellScriptLoader class spell_warl_fel_synergy_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_fel_synergy_AuraScript); + PrepareAuraScript(spell_warl_fel_synergy_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -474,7 +474,7 @@ class spell_warl_glyph_of_shadowflame : public SpellScriptLoader class spell_warl_glyph_of_shadowflame_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_glyph_of_shadowflame_AuraScript); + PrepareAuraScript(spell_warl_glyph_of_shadowflame_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -509,7 +509,7 @@ class spell_warl_haunt : public SpellScriptLoader class spell_warl_haunt_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_haunt_SpellScript); + PrepareSpellScript(spell_warl_haunt_SpellScript) void HandleOnHit() { @@ -526,7 +526,7 @@ class spell_warl_haunt : public SpellScriptLoader class spell_warl_haunt_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_haunt_AuraScript); + PrepareAuraScript(spell_warl_haunt_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -569,7 +569,7 @@ class spell_warl_health_funnel : public SpellScriptLoader class spell_warl_health_funnel_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_health_funnel_AuraScript); + PrepareAuraScript(spell_warl_health_funnel_AuraScript) void ApplyEffect(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -612,7 +612,7 @@ class spell_warl_life_tap : public SpellScriptLoader class spell_warl_life_tap_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_life_tap_SpellScript); + PrepareSpellScript(spell_warl_life_tap_SpellScript) bool Load() override { @@ -684,7 +684,7 @@ class spell_warl_ritual_of_doom_effect : public SpellScriptLoader class spell_warl_ritual_of_doom_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_ritual_of_doom_effect_SpellScript); + PrepareSpellScript(spell_warl_ritual_of_doom_effect_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -712,7 +712,7 @@ class spell_warl_seed_of_corruption : public SpellScriptLoader class spell_warl_seed_of_corruption_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_seed_of_corruption_SpellScript); + PrepareSpellScript(spell_warl_seed_of_corruption_SpellScript) void FilterTargets(std::list& targets) { @@ -740,7 +740,7 @@ class spell_warl_shadow_ward : public SpellScriptLoader class spell_warl_shadow_ward_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_shadow_ward_AuraScript); + PrepareAuraScript(spell_warl_shadow_ward_AuraScript) void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated) { @@ -777,7 +777,7 @@ class spell_warl_siphon_life : public SpellScriptLoader class spell_warl_siphon_life_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_siphon_life_AuraScript); + PrepareAuraScript(spell_warl_siphon_life_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -826,7 +826,7 @@ class spell_warl_soulshatter : public SpellScriptLoader class spell_warl_soulshatter_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_soulshatter_SpellScript); + PrepareSpellScript(spell_warl_soulshatter_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -865,7 +865,7 @@ class spell_warl_unstable_affliction : public SpellScriptLoader class spell_warl_unstable_affliction_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_unstable_affliction_AuraScript); + PrepareAuraScript(spell_warl_unstable_affliction_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index fd1c785cf5078..8b49c1c9a6dbc 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -78,7 +78,7 @@ class spell_warr_bloodthirst : public SpellScriptLoader class spell_warr_bloodthirst_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_bloodthirst_SpellScript); + PrepareSpellScript(spell_warr_bloodthirst_SpellScript) void HandleDamage(SpellEffIndex /*effIndex*/) { @@ -120,7 +120,7 @@ class spell_warr_bloodthirst_heal : public SpellScriptLoader class spell_warr_bloodthirst_heal_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_bloodthirst_heal_SpellScript); + PrepareSpellScript(spell_warr_bloodthirst_heal_SpellScript) void HandleHeal(SpellEffIndex /*effIndex*/) { @@ -148,7 +148,7 @@ class spell_warr_charge : public SpellScriptLoader class spell_warr_charge_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_charge_SpellScript); + PrepareSpellScript(spell_warr_charge_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -188,7 +188,7 @@ class spell_warr_concussion_blow : public SpellScriptLoader class spell_warr_concussion_blow_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_concussion_blow_SpellScript); + PrepareSpellScript(spell_warr_concussion_blow_SpellScript) void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -215,7 +215,7 @@ class spell_warr_damage_shield : public SpellScriptLoader class spell_warr_damage_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_damage_shield_AuraScript); + PrepareAuraScript(spell_warr_damage_shield_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -253,7 +253,7 @@ class spell_warr_deep_wounds : public SpellScriptLoader class spell_warr_deep_wounds_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_deep_wounds_SpellScript); + PrepareSpellScript(spell_warr_deep_wounds_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -308,7 +308,7 @@ class spell_warr_execute : public SpellScriptLoader class spell_warr_execute_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_execute_SpellScript); + PrepareSpellScript(spell_warr_execute_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -364,7 +364,7 @@ class spell_warr_glyph_of_sunder_armor : public SpellScriptLoader class spell_warr_glyph_of_sunder_armor_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_glyph_of_sunder_armor_AuraScript); + PrepareAuraScript(spell_warr_glyph_of_sunder_armor_AuraScript) void HandleEffectCalcSpellMod(AuraEffect const* aurEff, SpellModifier*& spellMod) { @@ -400,7 +400,7 @@ class spell_warr_improved_spell_reflection : public SpellScriptLoader class spell_warr_improved_spell_reflection_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_improved_spell_reflection_SpellScript); + PrepareSpellScript(spell_warr_improved_spell_reflection_SpellScript) void FilterTargets(std::list& unitList) { @@ -428,7 +428,7 @@ class spell_warr_intimidating_shout : public SpellScriptLoader class spell_warr_intimidating_shout_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_intimidating_shout_SpellScript); + PrepareSpellScript(spell_warr_intimidating_shout_SpellScript) void FilterTargets(std::list& unitList) { @@ -456,7 +456,7 @@ class spell_warr_last_stand : public SpellScriptLoader class spell_warr_last_stand_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_last_stand_SpellScript); + PrepareSpellScript(spell_warr_last_stand_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -492,7 +492,7 @@ class spell_warr_overpower : public SpellScriptLoader class spell_warr_overpower_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_overpower_SpellScript); + PrepareSpellScript(spell_warr_overpower_SpellScript) void HandleEffect(SpellEffIndex /*effIndex*/) { @@ -530,7 +530,7 @@ class spell_warr_rend : public SpellScriptLoader class spell_warr_rend_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_rend_AuraScript); + PrepareAuraScript(spell_warr_rend_AuraScript) void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated) { @@ -576,7 +576,7 @@ class spell_warr_retaliation : public SpellScriptLoader class spell_warr_retaliation_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_retaliation_AuraScript); + PrepareAuraScript(spell_warr_retaliation_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -618,7 +618,7 @@ class spell_warr_shattering_throw : public SpellScriptLoader class spell_warr_shattering_throw_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_shattering_throw_SpellScript); + PrepareSpellScript(spell_warr_shattering_throw_SpellScript) void HandleScript(SpellEffIndex effIndex) { @@ -649,7 +649,7 @@ class spell_warr_slam : public SpellScriptLoader class spell_warr_slam_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_slam_SpellScript); + PrepareSpellScript(spell_warr_slam_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -684,7 +684,7 @@ class spell_warr_sweeping_strikes : public SpellScriptLoader class spell_warr_sweeping_strikes_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_sweeping_strikes_AuraScript); + PrepareAuraScript(spell_warr_sweeping_strikes_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -748,7 +748,7 @@ class spell_warr_vigilance : public SpellScriptLoader class spell_warr_vigilance_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_vigilance_AuraScript); + PrepareAuraScript(spell_warr_vigilance_AuraScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -842,7 +842,7 @@ class spell_warr_vigilance_trigger : public SpellScriptLoader class spell_warr_vigilance_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_vigilance_trigger_SpellScript); + PrepareSpellScript(spell_warr_vigilance_trigger_SpellScript) void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/World/boss_emerald_dragons.cpp b/src/server/scripts/World/boss_emerald_dragons.cpp index 362c02e1af5cd..900c43d329fab 100644 --- a/src/server/scripts/World/boss_emerald_dragons.cpp +++ b/src/server/scripts/World/boss_emerald_dragons.cpp @@ -687,7 +687,7 @@ class spell_dream_fog_sleep : public SpellScriptLoader class spell_dream_fog_sleep_SpellScript : public SpellScript { - PrepareSpellScript(spell_dream_fog_sleep_SpellScript); + PrepareSpellScript(spell_dream_fog_sleep_SpellScript) void FilterTargets(std::list& targets) { @@ -731,7 +731,7 @@ class spell_mark_of_nature : public SpellScriptLoader class spell_mark_of_nature_SpellScript : public SpellScript { - PrepareSpellScript(spell_mark_of_nature_SpellScript); + PrepareSpellScript(spell_mark_of_nature_SpellScript) bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -781,4 +781,4 @@ void AddSC_emerald_dragons() // dragon spellscripts new spell_dream_fog_sleep(); new spell_mark_of_nature(); -}; +} diff --git a/src/tools/mmaps_generator/TerrainBuilder.cpp b/src/tools/mmaps_generator/TerrainBuilder.cpp index 19112d8426621..7832cef18decf 100644 --- a/src/tools/mmaps_generator/TerrainBuilder.cpp +++ b/src/tools/mmaps_generator/TerrainBuilder.cpp @@ -906,7 +906,7 @@ namespace MMAP float p0[3], p1[3]; uint32 mid, tx, ty; float size; - if (sscanf(buf, "%d %d,%d (%f %f %f) (%f %f %f) %f", &mid, &tx, &ty, + if (sscanf(buf, "%u %u,%u (%f %f %f) (%f %f %f) %f", &mid, &tx, &ty, &p0[0], &p0[1], &p0[2], &p1[0], &p1[1], &p1[2], &size) != 10) continue; From e7255e66da1734872c3a05651f910b74b18c765a Mon Sep 17 00:00:00 2001 From: Praetonus Date: Thu, 15 May 2014 23:10:21 +0200 Subject: [PATCH 07/27] Remove changes in dep file. --- dep/g3dlite/include/G3D/debugAssert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dep/g3dlite/include/G3D/debugAssert.h b/dep/g3dlite/include/G3D/debugAssert.h index 51b16ebbe17b2..edff671061dfe 100644 --- a/dep/g3dlite/include/G3D/debugAssert.h +++ b/dep/g3dlite/include/G3D/debugAssert.h @@ -228,6 +228,6 @@ void _releaseInputGrab_(); @internal*/ void _restoreInputGrab_(); -} } // namespace +}; }; // namespace #endif From 488e4ef8e1f55aea3ac320390b4526c39ab4bfdb Mon Sep 17 00:00:00 2001 From: Warpten Date: Sat, 17 May 2014 14:54:17 +0200 Subject: [PATCH 08/27] Contrib: Added an updated version of the configuration file merger tool. This one lets you choose which value to keep between the two configuration files. Make sure to carefully read the file's lines 3 to 9 to make sure you don't misuse it and get back at me later raging. It is not exactly as I would like it to be, but current state will have to do. You can try it out live at: http://tinyurl.com/kzxmrlm --- contrib/conf_merge/confdiffmerge.php | 169 +++++++++++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 contrib/conf_merge/confdiffmerge.php diff --git a/contrib/conf_merge/confdiffmerge.php b/contrib/conf_merge/confdiffmerge.php new file mode 100644 index 0000000000000..7bcaef5042e76 --- /dev/null +++ b/contrib/conf_merge/confdiffmerge.php @@ -0,0 +1,169 @@ + + + + + <world/auth>server.conf diff + + + + + +
+
+

Paste the new configuration file

+ +
+

Paste the old configuration file

+ + +
+ +
+"); + + define('EOL', "\n\n"); + $settingsData = array(); + + // Process them + $newFile = explode(EOL, $_POST['leftFile']); + $oldFile = explode(EOL, $_POST['rightFile']); + + for ($i = 0, $o = count($oldFile); $i < $o; ++$i) + { + $oldFile[$i] = explode(PHP_EOL, $oldFile[$i]); + for ($j = 0, $p = count($oldFile[$i]); $j < $p; ++$j) + { + $currentLine = $oldFile[$i][$j]; + if (preg_match("#^([A-Z.]+) = (?:\"?)(.*)(?:\"?)$#iU", $currentLine, $data) !== false) + if (strlen($data[1]) != 0) + $settingsData[$data[1]]["oldValue"] = str_replace('"', '', trim($data[2])); + } + } + + for ($i = 0, $o = count($newFile); $i < $o; ++$i) + { + $newFile[$i] = explode(PHP_EOL, $newFile[$i]); + for ($j = 0, $p = count($newFile[$i]); $j < $p; ++$j) + { + $currentLine = $newFile[$i][$j]; + if (preg_match("#^([A-Z.]+) = (?:\"?)(.*)(?:\"?)$#iU", $currentLine, $data) !== false) + if (strlen($data[1]) != 0) + $settingsData[$data[1]]["newValue"] = str_replace('"', '', trim($data[2])); + } + } + + printIndent("

Please select values you want to keep. Note the script will default to new values, unless said new value does not exist.
You also can take advantage of this form and edit fields.

", 1); + printIndent('
', 1); + + foreach ($settingsData as $itemName => &$values) + { + $displayOld = isset($values['oldValue']) ? $values['oldValue'] : "Value missing"; + $displayNew = isset($values['newValue']) ? $values['newValue'] : "Value missing"; + + if ($displayOld == $displayNew) + continue; + + $line = '

'; + $line .= ''; + $line .= ' '; + $line .= ''; + $line .= '

'; + printIndent($line, 2); + } + printIndent('', 2); + printIndent('', 2); + printIndent('', 2); + printIndent('
', 1); +} +else if ($_POST['step'] == 1) +{ + $errors = array(); + + $confFile = $_POST['file']; + + foreach ($_POST['optionSelector'] as $valueName => &$keyName) + { + $definiteValueIndex = -1; + foreach ($_POST['nameCross'] as $index => &$key) + { + if ($key == $valueName) + { + $definiteValueIndex = $index; + break; + } + } + + if ($definiteValueIndex == -1) + { + // TODO: Handle custom values that get lost + continue; + } + + $newStr = $_POST[$keyName][$definiteValueIndex]; + $oldStr = $_POST[$keyName == "oldValue" ? "newValue" : "oldValue"][$definiteValueIndex]; + if (!ctype_digit($newStr)) + $newStr = '"' . $newStr . '"'; + if (!ctype_digit($oldStr)) + $oldStr = '"' . $oldStr . '"'; + + $newValueString = $valueName . " = " . $newStr; + $oldValueString = $valueName . " = " . $oldStr; + $confFile = str_replace($oldValueString, $newValueString, $confFile); + } + echo "

Here is your new configuration file:

"; + echo '
'; + + if (!empty($errors)) + { + echo "

The following errors happened during processing:

  • "; + echo implode("
  • ", $errors); + echo "
  • "; + } +} +?> + + + + From 1dbc943297a51bb8979dbc9e33063e98cc0a4a51 Mon Sep 17 00:00:00 2001 From: joschiwald Date: Sat, 17 May 2014 20:05:43 +0200 Subject: [PATCH 09/27] Core/GameObjects: fixed instant reset of gameobjects after activation --- src/server/game/Entities/GameObject/GameObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 40488df9ef342..306e4209e4df6 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -1100,7 +1100,7 @@ void GameObject::UseDoorOrButton(uint32 time_to_restore, bool alternative /* = f SwitchDoorOrButton(true, alternative); SetLootState(GO_ACTIVATED, user); - m_cooldownTime = time(NULL) + time_to_restore; + m_cooldownTime = time_to_restore ? (time(NULL) + time_to_restore) : 0; } void GameObject::SetGoArtKit(uint8 kit) From a62f95e4c26650ed1bc0c6be46e75d1df5925c14 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 17 May 2014 21:02:01 +0200 Subject: [PATCH 10/27] Core/Calendar: Use single database transaction for adding multiple invites when creating new event --- src/server/game/Calendar/CalendarMgr.cpp | 22 +++++++++++++------- src/server/game/Calendar/CalendarMgr.h | 2 ++ src/server/game/Handlers/CalendarHandler.cpp | 16 ++++++++++++-- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/src/server/game/Calendar/CalendarMgr.cpp b/src/server/game/Calendar/CalendarMgr.cpp index 52ed50f3948a3..5aabb8b405639 100644 --- a/src/server/game/Calendar/CalendarMgr.cpp +++ b/src/server/game/Calendar/CalendarMgr.cpp @@ -127,6 +127,12 @@ void CalendarMgr::AddEvent(CalendarEvent* calendarEvent, CalendarSendEventType s } void CalendarMgr::AddInvite(CalendarEvent* calendarEvent, CalendarInvite* invite) +{ + SQLTransaction dummy; + AddInvite(calendarEvent, invite, dummy); +} + +void CalendarMgr::AddInvite(CalendarEvent* calendarEvent, CalendarInvite* invite, SQLTransaction& trans) { if (!calendarEvent->IsGuildAnnouncement()) SendCalendarEventInvite(*invite); @@ -137,7 +143,7 @@ void CalendarMgr::AddInvite(CalendarEvent* calendarEvent, CalendarInvite* invite if (!calendarEvent->IsGuildAnnouncement()) { _invites[invite->GetEventId()].push_back(invite); - UpdateInvite(invite); + UpdateInvite(invite, trans); } } @@ -221,7 +227,6 @@ void CalendarMgr::RemoveInvite(uint64 inviteId, uint64 eventId, uint64 /*remover void CalendarMgr::UpdateEvent(CalendarEvent* calendarEvent) { - SQLTransaction trans = CharacterDatabase.BeginTransaction(); PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_REP_CALENDAR_EVENT); stmt->setUInt64(0, calendarEvent->GetEventId()); stmt->setUInt32(1, GUID_LOPART(calendarEvent->GetCreatorGUID())); @@ -232,13 +237,17 @@ void CalendarMgr::UpdateEvent(CalendarEvent* calendarEvent) stmt->setUInt32(6, uint32(calendarEvent->GetEventTime())); stmt->setUInt32(7, calendarEvent->GetFlags()); stmt->setUInt32(8, calendarEvent->GetTimeZoneTime()); // correct? - trans->Append(stmt); - CharacterDatabase.CommitTransaction(trans); + CharacterDatabase.Execute(stmt); } void CalendarMgr::UpdateInvite(CalendarInvite* invite) { - SQLTransaction trans = CharacterDatabase.BeginTransaction(); + SQLTransaction dummy; + UpdateInvite(invite, dummy); +} + +void CalendarMgr::UpdateInvite(CalendarInvite* invite, SQLTransaction& trans) +{ PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_REP_CALENDAR_INVITE); stmt->setUInt64(0, invite->GetInviteId()); stmt->setUInt64(1, invite->GetEventId()); @@ -248,8 +257,7 @@ void CalendarMgr::UpdateInvite(CalendarInvite* invite) stmt->setUInt32(5, uint32(invite->GetStatusTime())); stmt->setUInt8(6, invite->GetRank()); stmt->setString(7, invite->GetText()); - trans->Append(stmt); - CharacterDatabase.CommitTransaction(trans); + CharacterDatabase.ExecuteOrAppend(trans, stmt); } void CalendarMgr::RemoveAllPlayerEventsAndInvites(uint64 guid) diff --git a/src/server/game/Calendar/CalendarMgr.h b/src/server/game/Calendar/CalendarMgr.h index da185d519d5a1..90252178449e6 100644 --- a/src/server/game/Calendar/CalendarMgr.h +++ b/src/server/game/Calendar/CalendarMgr.h @@ -305,8 +305,10 @@ class CalendarMgr void UpdateEvent(CalendarEvent* calendarEvent); void AddInvite(CalendarEvent* calendarEvent, CalendarInvite* invite); + void AddInvite(CalendarEvent* calendarEvent, CalendarInvite* invite, SQLTransaction& trans); void RemoveInvite(uint64 inviteId, uint64 eventId, uint64 remover); void UpdateInvite(CalendarInvite* invite); + void UpdateInvite(CalendarInvite* invite, SQLTransaction& trans); void RemoveAllPlayerEventsAndInvites(uint64 guid); void RemovePlayerGuildEventsAndSignups(uint64 guid, uint32 guildId); diff --git a/src/server/game/Handlers/CalendarHandler.cpp b/src/server/game/Handlers/CalendarHandler.cpp index 45d4d221d0664..6e2f120b062a7 100644 --- a/src/server/game/Handlers/CalendarHandler.cpp +++ b/src/server/game/Handlers/CalendarHandler.cpp @@ -255,6 +255,10 @@ void WorldSession::HandleCalendarAddEvent(WorldPacket& recvData) uint32 inviteCount; recvData >> inviteCount; + SQLTransaction trans; + if (inviteCount > 1) + trans = CharacterDatabase.BeginTransaction(); + for (uint32 i = 0; i < inviteCount; ++i) { uint64 invitee = 0; @@ -265,8 +269,11 @@ void WorldSession::HandleCalendarAddEvent(WorldPacket& recvData) // 946684800 is 01/01/2000 00:00:00 - default response time CalendarInvite* invite = new CalendarInvite(sCalendarMgr->GetFreeInviteId(), calendarEvent.GetEventId(), invitee, guid, 946684800, CalendarInviteStatus(status), CalendarModerationRank(rank), ""); - sCalendarMgr->AddInvite(&calendarEvent, invite); + sCalendarMgr->AddInvite(&calendarEvent, invite, trans); } + + if (inviteCount > 1) + CharacterDatabase.CommitTransaction(trans); } sCalendarMgr->AddEvent(new CalendarEvent(calendarEvent, calendarEvent.GetEventId()), CALENDAR_SENDTYPE_ADD); @@ -350,10 +357,15 @@ void WorldSession::HandleCalendarCopyEvent(WorldPacket& recvData) sCalendarMgr->AddEvent(newEvent, CALENDAR_SENDTYPE_COPY); CalendarInviteStore invites = sCalendarMgr->GetEventInvites(eventId); + SQLTransaction trans; + if (invites.size() > 1) + trans = CharacterDatabase.BeginTransaction(); for (CalendarInviteStore::const_iterator itr = invites.begin(); itr != invites.end(); ++itr) - sCalendarMgr->AddInvite(newEvent, new CalendarInvite(**itr, sCalendarMgr->GetFreeInviteId(), newEvent->GetEventId())); + sCalendarMgr->AddInvite(newEvent, new CalendarInvite(**itr, sCalendarMgr->GetFreeInviteId(), newEvent->GetEventId()), trans); + if (invites.size() > 1) + CharacterDatabase.CommitTransaction(trans); // should we change owner when somebody makes a copy of event owned by another person? } else From b6048f89f7456ab683901f12ea4f90ac5d23be70 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sat, 17 May 2014 21:22:28 +0200 Subject: [PATCH 11/27] Core/Calendar: Align max amount of Players to be invited to Client limits Limit the max amount of Players to be invited to a Calendar event to 100, same limit as the one in the Client --- src/server/game/Handlers/CalendarHandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/server/game/Handlers/CalendarHandler.cpp b/src/server/game/Handlers/CalendarHandler.cpp index 6e2f120b062a7..ebb1f9c8e571c 100644 --- a/src/server/game/Handlers/CalendarHandler.cpp +++ b/src/server/game/Handlers/CalendarHandler.cpp @@ -259,7 +259,10 @@ void WorldSession::HandleCalendarAddEvent(WorldPacket& recvData) if (inviteCount > 1) trans = CharacterDatabase.BeginTransaction(); - for (uint32 i = 0; i < inviteCount; ++i) + // client limits the amount of players to be invited to 100 + const int MaxPlayerInvites = 100; + + for (uint32 i = 0; i < inviteCount && i < MaxPlayerInvites; ++i) { uint64 invitee = 0; uint8 status = 0; From 8eeec647d1c953884b3b01d869e6cbc76ce4dbb8 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 17 May 2014 21:35:39 +0200 Subject: [PATCH 12/27] Fixed build without pch --- src/server/game/Calendar/CalendarMgr.cpp | 1 - src/server/game/Calendar/CalendarMgr.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Calendar/CalendarMgr.cpp b/src/server/game/Calendar/CalendarMgr.cpp index 5aabb8b405639..a4cb972e62553 100644 --- a/src/server/game/Calendar/CalendarMgr.cpp +++ b/src/server/game/Calendar/CalendarMgr.cpp @@ -17,7 +17,6 @@ #include "CalendarMgr.h" #include "QueryResult.h" -#include "DatabaseEnv.h" #include "Log.h" #include "Player.h" #include "GuildMgr.h" diff --git a/src/server/game/Calendar/CalendarMgr.h b/src/server/game/Calendar/CalendarMgr.h index 90252178449e6..8f44b013e5c0a 100644 --- a/src/server/game/Calendar/CalendarMgr.h +++ b/src/server/game/Calendar/CalendarMgr.h @@ -20,6 +20,7 @@ #include #include "Common.h" +#include "DatabaseEnv.h" #include "WorldPacket.h" enum CalendarMailAnswers From 03f16d2e901f72ecccaeeabcb0a2149497c4fe2b Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sat, 17 May 2014 23:48:32 +0200 Subject: [PATCH 13/27] Shared/Database: Increase Database Worker Pool queue size Increase DatabaseWorkerPool queue size from the default 16KB to 8MB to avoid blocking the caller thread when queuing an async statement/transaction. --- src/server/shared/Database/DatabaseWorkerPool.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/server/shared/Database/DatabaseWorkerPool.h b/src/server/shared/Database/DatabaseWorkerPool.h index c60458323f703..3665a388854a7 100644 --- a/src/server/shared/Database/DatabaseWorkerPool.h +++ b/src/server/shared/Database/DatabaseWorkerPool.h @@ -49,8 +49,10 @@ class DatabaseWorkerPool { public: /* Activity state */ - DatabaseWorkerPool() : _queue(new ACE_Activation_Queue()), _connectionInfo(NULL) + DatabaseWorkerPool() : _connectionInfo(NULL) { + _messageQueue = new ACE_Message_Queue(8 * 1024 * 1024, 8 * 1024 * 1024); + _queue = new ACE_Activation_Queue(_messageQueue); memset(_connectionCount, 0, sizeof(_connectionCount)); _connections.resize(IDX_SIZE); @@ -131,6 +133,7 @@ class DatabaseWorkerPool //! Deletes the ACE_Activation_Queue object and its underlying ACE_Message_Queue delete _queue; + delete _messageQueue; TC_LOG_INFO("sql.driver", "All connections on DatabasePool '%s' closed.", GetDatabaseName()); @@ -520,6 +523,7 @@ class DatabaseWorkerPool IDX_SIZE }; + ACE_Message_Queue* _messageQueue; //! Message Queue used by ACE_Activation_Queue ACE_Activation_Queue* _queue; //! Queue shared by async worker threads. std::vector< std::vector > _connections; uint32 _connectionCount[2]; //! Counter of MySQL connections; From c200d2c8cc360d2cc8eb4fc2630dbac32e53a649 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 18 May 2014 00:29:00 +0200 Subject: [PATCH 14/27] Core/Warden: Fix crash Fix crash with empty CMSG_WARDEN_DATA packets --- src/server/game/Warden/Warden.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Warden/Warden.cpp b/src/server/game/Warden/Warden.cpp index 42872bba22e63..0810295c0ccb9 100644 --- a/src/server/game/Warden/Warden.cpp +++ b/src/server/game/Warden/Warden.cpp @@ -223,7 +223,7 @@ std::string Warden::Penalty(WardenCheck* check /*= NULL*/) void WorldSession::HandleWardenDataOpcode(WorldPacket& recvData) { - if (!_warden) + if (!_warden || recvData.empty()) return; _warden->DecryptData(recvData.contents(), recvData.size()); From 5e86dea0b06566bc643018fe8cc026d0dd24ad79 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 18 May 2014 00:51:40 +0200 Subject: [PATCH 15/27] Shared/Packets: Handle crash by throwing an exception instead Throw a ByteBufferException when trying to access the first element of an empty ByteBuffer class --- src/server/shared/Packets/ByteBuffer.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h index bc46b87fa270f..dd0a9d5fdf4f4 100644 --- a/src/server/shared/Packets/ByteBuffer.h +++ b/src/server/shared/Packets/ByteBuffer.h @@ -377,9 +377,19 @@ class ByteBuffer return *this; } - uint8 * contents() { return &_storage[0]; } + uint8 * contents() + { + if (_storage.empty()) + throw ByteBufferException(); + return &_storage[0]; + } - const uint8 *contents() const { return &_storage[0]; } + const uint8 *contents() const + { + if (_storage.empty()) + throw ByteBufferException(); + return &_storage[0]; + } size_t size() const { return _storage.size(); } bool empty() const { return _storage.empty(); } From 2d1272da5f0f341ff4c9e5fd1500db4337bb7c96 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 01:39:03 +0200 Subject: [PATCH 16/27] DB/Creature: Highlord Darion Mograine - Restore Shadow's Edge gossip By Foldy, closes #12079 --- sql/updates/world/2014_05_18_00_world_misc.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sql/updates/world/2014_05_18_00_world_misc.sql diff --git a/sql/updates/world/2014_05_18_00_world_misc.sql b/sql/updates/world/2014_05_18_00_world_misc.sql new file mode 100644 index 0000000000000..fe0b59dc32f1a --- /dev/null +++ b/sql/updates/world/2014_05_18_00_world_misc.sql @@ -0,0 +1,17 @@ +-- +UPDATE `creature_template` SET `npcflag`=3, `AIName`='SmartAI' WHERE `entry`=37120; + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=10910 AND `id`=1; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`) VALUES +(10910, 1, 'I must ask that you reforge Shadow''s Edge for me, Highlord Mograine.', 37855, 1, 1); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=37120; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(37120, 0, 0, 0, 62, 0, 100, 0, 10910, 1, 0, 0, 11, 72995, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Highlord Darion Mograine - On Gossip Option 1 Selected - Cast Shadow''s Edge'), +(37120, 0, 1, 0, 62, 0, 100, 0, 10910, 1, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Highlord Darion Mograine - On Gossip Option 1 Selected - Close Gossip'); + +DELETE FROM `conditions` WHERE `SourceGroup`=10910; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 10910, 1, 0, 0, 8, 0, 24912, 0, 0, 1, 0, 0, '', 'Highlord Darion Mograine: Hide Gossip option if player has quest 24912 rewarded'), +(15, 10910, 1, 0, 0, 8, 0, 24743, 0, 0, 0, 0, 0, '', 'Highlord Darion Mograine: Show Gossip option if player has quest 24743 rewarded'), +(15, 10910, 1, 0, 0, 2, 0, 49888, 1, 0, 1, 0, 0, '', 'Highlord Darion Mograine: Show Gossip option if player does not have Shadow''s Edge'); From f8f8819befde2953a798b06877135a8b05708266 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 01:43:40 +0200 Subject: [PATCH 17/27] DB/Creature: Ethereal Soul-Trader By Foldy, closes #12080 updates #4152 --- .../world/2014_05_18_01_world_misc.sql | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 sql/updates/world/2014_05_18_01_world_misc.sql diff --git a/sql/updates/world/2014_05_18_01_world_misc.sql b/sql/updates/world/2014_05_18_01_world_misc.sql new file mode 100644 index 0000000000000..66df66dc7b580 --- /dev/null +++ b/sql/updates/world/2014_05_18_01_world_misc.sql @@ -0,0 +1,37 @@ +-- +SET @ENTRY := 27914; +UPDATE `creature_template` SET `gossip_menu_id`=9619, `npcflag`=129 WHERE `entry`=@ENTRY; + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9619; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES +(9619, 0, 0, 'How does this work?', 27298, 1, 1, 9620, 0, 0, 0, '', 0), +(9619, 1, 1, 'Show me what you have to trade.', 27299, 3, 128, 0, 0, 0, 0, '', 0); + +DELETE FROM `gossip_menu` WHERE `entry` IN (9619,9620) AND `text_id` IN (13005,13006); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(9619, 13005), +(9620, 13006); + +DELETE FROM `creature_text` WHERE `entry`=@ENTRY; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@ENTRY, 0, 0, 'I have arrived. Shall we set to work, then?', 12, 0, 100, 0, 0, 0, 'Ethereal Soul-Trader', 27295), +(@ENTRY, 1, 0, 'Ah, more essence to capture...', 12, 0, 100, 0, 0, 0, 'Ethereal Soul-Trader', 27336), +(@ENTRY, 2, 0, 'Here is your share.', 12, 0, 100, 0, 0, 0, 'Ethereal Soul-Trader', 27341); + +DELETE FROM `npc_text` WHERE `ID` IN (13005,13006); +INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `prob0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `BroadcastTextID1`, `lang1`, `prob1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `BroadcastTextID2`, `lang2`, `prob2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `BroadcastTextID3`, `lang3`, `prob3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `BroadcastTextID4`, `lang4`, `prob4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `BroadcastTextID5`, `lang5`, `prob5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `BroadcastTextID6`, `lang6`, `prob6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `BroadcastTextID7`, `lang7`, `prob7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `VerifiedBuild`) VALUES +(13005, 'How may this one help you, $gsir:madame;?', '', 27296, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 18019), +(13006, 'My business partner slays things; I drain a portion of their essence... a pittance, really; the slightest of slivers. It won''t be missed.$B$BStill, to fulfil my portion of the contract, I pay in Ethereal Credits.$B$BOne may redeem these credits for items I sell at any time. I''m bound to have something that will interest you...', '', 27300, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 18019); + +DELETE FROM `npc_vendor` WHERE `entry`=@ENTRY; +INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES +(@ENTRY, 0, 38308, 0, 0, 2411), -- Ethereal Essence Sphere +(@ENTRY, 1, 38300, 0, 0, 2411), -- Diluted Ethereum Essence +(@ENTRY, 2, 38294, 0, 0, 2412), -- Ethereal Liqueur +(@ENTRY, 3, 38291, 0, 0, 2408), -- Ethereal Mutagen +(@ENTRY, 4, 38163, 0, 0, 2408), -- Soul-Trader's Head Wrap +(@ENTRY, 5, 38160, 0, 0, 2410), -- Soul-trader's Bindings +(@ENTRY, 6, 38286, 0, 0, 2407), -- Soul-Trader's Pauldrons +(@ENTRY, 7, 38285, 0, 0, 2408), -- Soul-Trader's Waistband +(@ENTRY, 8, 38161, 0, 0, 2409), -- Soul-Trader's Gloves +(@ENTRY, 9, 38162, 0, 0, 2409); -- Soul-Trader's Boots From 820095230d39f863e3289d1f1c5c88cfeb4cf88e Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 01:47:52 +0200 Subject: [PATCH 18/27] DB/Gameobject: Thunderbrew Lager Keg By Foldy, closes #12078 --- "sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 "sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" diff --git "a/sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" "b/sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" new file mode 100644 index 0000000000000..0d3357de2a16f --- /dev/null +++ "b/sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" @@ -0,0 +1,4 @@ +-- +UPDATE `gameobject` SET `position_x`=914.3752, `position_y`=-146.9912, `position_z`=-49.75655, `orientation`=3.68265, `VerifiedBuild`=15595 WHERE `guid`=43097; +UPDATE `gameobject` SET `position_x`=915.7144, `position_y`=-149.2887, `position_z`=-49.75705, `orientation`=3.647741, `VerifiedBuild`=15595 WHERE `guid`=43098; +UPDATE `gameobject` SET `position_x`=917.0272, `position_y`=-151.5825, `position_z`=-49.75756, `orientation`=3.647741, `VerifiedBuild`=15595 WHERE `guid`=43099; From 71e38c7b516df122694a98a31a6769dddf1f1b9d Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 01:58:24 +0200 Subject: [PATCH 19/27] DB/Misc: Nesingwary Lackey Ear By nelegalno, closes #8624 --- .../world/2014_05_18_03_world_misc.sql | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 sql/updates/world/2014_05_18_03_world_misc.sql diff --git a/sql/updates/world/2014_05_18_03_world_misc.sql b/sql/updates/world/2014_05_18_03_world_misc.sql new file mode 100644 index 0000000000000..86d018dd7b04c --- /dev/null +++ b/sql/updates/world/2014_05_18_03_world_misc.sql @@ -0,0 +1,48 @@ +-- +-- Nesingwary Lackey Ear (35188) drop chance fix by nelegalno +-- Needed for Can't Get Ear-nough... (11867) "turn in only" repeatable quest +SET @EAR := 35188; + +UPDATE `creature_loot_template` SET `ChanceOrQuestChance` = ABS(`ChanceOrQuestChance`) WHERE `item`=@EAR; + +-- Clam Master K +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=25800 AND `SourceEntry`=@EAR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(1,25800,@EAR,0,0,9,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Clam Master K only if Ears of Our Enemies quest taken"), +(1,25800,@EAR,0,1,8,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Clam Master K only if Ears of Our Enemies quest rewarded"); + +-- Loot Crazed Poacher +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=25806 AND `SourceEntry`=@EAR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(1,25806,@EAR,0,0,9,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Loot Crazed Poacher only if Ears of Our Enemies quest taken"), +(1,25806,@EAR,0,1,8,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Loot Crazed Poacher only if Ears of Our Enemies quest rewarded"); + +-- Loot Crazed Diver +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=25836 AND `SourceEntry`=@EAR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(1,25836,@EAR,0,0,9,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Loot Crazed Diver only if Ears of Our Enemies quest taken"), +(1,25836,@EAR,0,1,8,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Loot Crazed Diver only if Ears of Our Enemies quest rewarded"); + +-- Northsea Mercenary +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=25839 AND `SourceEntry`=@EAR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(1,25839,@EAR,0,0,9,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Northsea Mercenary only if Ears of Our Enemies quest taken"), +(1,25839,@EAR,0,1,8,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Northsea Mercenary only if Ears of Our Enemies quest rewarded"); + +-- Northsea Thug +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=25843 AND `SourceEntry`=@EAR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(1,25843,@EAR,0,0,9,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Northsea Thug only if Ears of Our Enemies quest taken"), +(1,25843,@EAR,0,1,8,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Northsea Thug only if Ears of Our Enemies quest rewarded"); + + -- Minion of Kaw +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=25880 AND `SourceEntry`=@EAR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(1,25880,@EAR,0,0,9,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Minion of Kaw only if Ears of Our Enemies quest taken"), +(1,25880,@EAR,0,1,8,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Minion of Kaw only if Ears of Our Enemies quest rewarded"); + + -- Loot Crazed Hunter +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=25979 AND `SourceEntry`=@EAR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(1,25979,@EAR,0,0,9,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Loot Crazed Hunter only if Ears of Our Enemies quest taken"), +(1,25979,@EAR,0,1,8,0,11866,0,0,0,0,'',"Nesingwary Lackey Ear drops from Loot Crazed Hunter only if Ears of Our Enemies quest rewarded"); From f3676f367553c4d38eec5342f23d026d3314bee5 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 01:59:07 +0200 Subject: [PATCH 20/27] Rename 2014_05_18_02_world_gameobject.sql to 2014_05_18_02_world_gameobject.sql --- .../updates/world/2014_05_18_02_world_gameobject.sql | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" => sql/updates/world/2014_05_18_02_world_gameobject.sql (100%) diff --git "a/sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" b/sql/updates/world/2014_05_18_02_world_gameobject.sql similarity index 100% rename from "sql/updates/world/ \t2014_05_18_02_world_gameobject.sql" rename to sql/updates/world/2014_05_18_02_world_gameobject.sql From 83c3abce61e0a78c541873efb8e78435a7f4b444 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 03:12:53 +0200 Subject: [PATCH 21/27] DB/Spawns: Myralion Sunblaze Frozen Halls spawns By Foldy, closes #11899 --- .../world/2014_05_18_04_world_misc.sql | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sql/updates/world/2014_05_18_04_world_misc.sql diff --git a/sql/updates/world/2014_05_18_04_world_misc.sql b/sql/updates/world/2014_05_18_04_world_misc.sql new file mode 100644 index 0000000000000..0996c8ff21984 --- /dev/null +++ b/sql/updates/world/2014_05_18_04_world_misc.sql @@ -0,0 +1,28 @@ +-- +SET @CGUID := 68101; -- set by TDB team (3) +SET @OGUID := 6100; -- set by TDB team (2) + +DELETE FROM `spell_area` WHERE `spell`=71314; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(71314, 4862, 24559, 24562, 0, 0, 2, 1, 74, 11); + +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@CGUID+0, 0, 0, 0x10000, 0x1, 0, '71312'), +(@CGUID+1, 0, 0, 0x10000, 0x1, 0, '71312'), +(@CGUID+2, 0, 0, 0x10000, 0x1, 0, '71312'); + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 36657, 571, 1, 1, 5630.028, 2082.906, 798.1375, 0, 120, 0, 0), -- Sunreaver War Mage (Area: 210) +(@CGUID+1, 36642, 571, 1, 1, 5630.374, 2087.88, 798.1375, 6.213372, 120, 0, 0), -- Myralion Sunblaze (Area: 210) +(@CGUID+2, 36657, 571, 1, 1, 5631.038, 2092.561, 798.1375, 6.143559, 120, 0, 0); -- Sunreaver War Mage (Area: 210) + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+1; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 202192, 571, 1, 1, 5628.946, 2079.644, 798.0542, 0.6457717, 0, 0, 0, 1, 120, 255, 1), -- Sunreaver Banner (Area: 210) +(@OGUID+1, 202192, 571, 1, 1, 5630.607, 2096.247, 798.0542, 5.881761, 0, 0, 0, 1, 120, 255, 1); -- Sunreaver Banner (Area: 210) + +DELETE FROM `gameobject_template` WHERE `entry`=202192; +INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `faction`, `flags`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES +(202192, 5, 6794, 'Sunreaver Banner', '', '', '', 0, 0, 0.8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 16992); From 23691bd4d19d0b0fa79faebb55661d083272a365 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 03:30:02 +0200 Subject: [PATCH 22/27] Update 2014_05_18_04_world_misc.sql --- sql/updates/world/2014_05_18_04_world_misc.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/updates/world/2014_05_18_04_world_misc.sql b/sql/updates/world/2014_05_18_04_world_misc.sql index 0996c8ff21984..c1b2a3ccea751 100644 --- a/sql/updates/world/2014_05_18_04_world_misc.sql +++ b/sql/updates/world/2014_05_18_04_world_misc.sql @@ -1,5 +1,5 @@ -- -SET @CGUID := 68101; -- set by TDB team (3) +SET @CGUID := 68279; -- set by TDB team (3) SET @OGUID := 6100; -- set by TDB team (2) DELETE FROM `spell_area` WHERE `spell`=71314; From fce80ffa6e0d719c2f7a3ce954dcab491b015541 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 18 May 2014 03:30:44 +0200 Subject: [PATCH 23/27] Update 2014_05_18_04_world_misc.sql --- sql/updates/world/2014_05_18_04_world_misc.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/updates/world/2014_05_18_04_world_misc.sql b/sql/updates/world/2014_05_18_04_world_misc.sql index c1b2a3ccea751..89dc227f7ca3a 100644 --- a/sql/updates/world/2014_05_18_04_world_misc.sql +++ b/sql/updates/world/2014_05_18_04_world_misc.sql @@ -1,6 +1,6 @@ -- SET @CGUID := 68279; -- set by TDB team (3) -SET @OGUID := 6100; -- set by TDB team (2) +SET @OGUID := 6134; -- set by TDB team (2) DELETE FROM `spell_area` WHERE `spell`=71314; INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES From f9c7bb417150f87c5ac8c161e019d6c292dfec37 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 18 May 2014 12:50:10 +0200 Subject: [PATCH 24/27] Partially revert f296095191c7b5c6b10f79c2b1433dc227a462f5 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic." Visual studio does not support constexpr Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline --- src/server/game/Entities/Player/Player.cpp | 2 + src/server/game/Entities/Player/Player.h | 2 +- src/server/game/Spells/SpellScript.h | 4 +- .../BlackwingLair/boss_razorgore.cpp | 2 +- .../Scholomance/boss_darkmaster_gandling.cpp | 4 +- .../ShadowfangKeep/shadowfang_keep.cpp | 2 +- .../EasternKingdoms/ZulAman/boss_hexlord.cpp | 2 +- .../EasternKingdoms/ZulAman/zulaman.cpp | 2 +- .../ZulGurub/boss_mandokir.cpp | 2 +- .../EasternKingdoms/zone_blasted_lands.cpp | 2 +- src/server/scripts/Examples/example_spell.cpp | 10 +- .../BattleForMountHyjal/boss_kazrogal.cpp | 4 +- .../Kalimdor/RazorfenKraul/razorfen_kraul.cpp | 2 +- .../Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp | 2 +- .../Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp | 2 +- src/server/scripts/Kalimdor/boss_azuregos.cpp | 2 +- src/server/scripts/Kalimdor/zone_durotar.cpp | 6 +- .../Kalimdor/zone_dustwallow_marsh.cpp | 6 +- src/server/scripts/Kalimdor/zone_feralas.cpp | 2 +- .../AzjolNerub/Ahnkahet/boss_elder_nadox.cpp | 2 +- .../Ahnkahet/boss_prince_taldaram.cpp | 4 +- .../boss_baltharus_the_warborn.cpp | 2 +- .../RubySanctum/boss_halion.cpp | 18 +-- .../RubySanctum/boss_saviana_ragefire.cpp | 4 +- .../boss_argent_challenge.cpp | 4 +- .../boss_anubarak_trial.cpp | 4 +- .../boss_faction_champions.cpp | 8 +- .../TrialOfTheCrusader/boss_lord_jaraxxus.cpp | 4 +- .../boss_northrend_beasts.cpp | 2 +- .../TrialOfTheCrusader/boss_twin_valkyr.cpp | 7 +- .../Northrend/DraktharonKeep/boss_novos.cpp | 2 +- .../DraktharonKeep/boss_tharon_ja.cpp | 2 +- .../DraktharonKeep/boss_trollgore.cpp | 6 +- .../ForgeOfSouls/boss_bronjahm.cpp | 10 +- .../ForgeOfSouls/boss_devourer_of_souls.cpp | 6 +- .../HallsOfReflection/boss_marwyn.cpp | 2 +- .../PitOfSaron/boss_forgemaster_garfrost.cpp | 2 +- .../PitOfSaron/boss_krickandick.cpp | 12 +- .../PitOfSaron/boss_scourgelord_tyrannus.cpp | 4 +- .../FrozenHalls/PitOfSaron/pit_of_saron.cpp | 2 +- .../boss_blood_prince_council.cpp | 20 +-- .../boss_blood_queen_lana_thel.cpp | 14 +- .../boss_deathbringer_saurfang.cpp | 18 +-- .../IcecrownCitadel/boss_festergut.cpp | 6 +- .../boss_icecrown_gunship_battle.cpp | 32 ++--- .../boss_lady_deathwhisper.cpp | 4 +- .../IcecrownCitadel/boss_lord_marrowgar.cpp | 12 +- .../boss_professor_putricide.cpp | 36 ++--- .../IcecrownCitadel/boss_rotface.cpp | 18 +-- .../IcecrownCitadel/boss_sindragosa.cpp | 26 ++-- .../IcecrownCitadel/boss_the_lich_king.cpp | 60 ++++---- .../boss_valithria_dreamwalker.cpp | 18 +-- .../IcecrownCitadel/icecrown_citadel.cpp | 14 +- .../IcecrownCitadel/icecrown_citadel.h | 2 +- .../Naxxramas/boss_four_horsemen.cpp | 2 +- .../Northrend/Naxxramas/boss_gothik.cpp | 2 +- .../Northrend/Naxxramas/boss_grobbulus.cpp | 4 +- .../Northrend/Naxxramas/boss_heigan.cpp | 2 +- .../Northrend/Naxxramas/boss_kelthuzad.cpp | 2 +- .../Northrend/Naxxramas/boss_loatheb.cpp | 2 +- .../Northrend/Naxxramas/boss_thaddius.cpp | 4 +- .../Nexus/EyeOfEternity/boss_malygos.cpp | 34 ++--- .../Nexus/Nexus/boss_keristrasza.cpp | 2 +- .../Northrend/Nexus/Nexus/boss_ormorok.cpp | 2 +- .../Northrend/Nexus/Oculus/boss_eregos.cpp | 2 +- .../Northrend/Nexus/Oculus/boss_varos.cpp | 6 +- .../scripts/Northrend/Nexus/Oculus/oculus.cpp | 16 +-- .../Ulduar/HallsOfLightning/boss_loken.cpp | 2 +- .../Ulduar/HallsOfStone/boss_krystallus.cpp | 4 +- .../Ulduar/boss_algalon_the_observer.cpp | 18 +-- .../Ulduar/Ulduar/boss_assembly_of_iron.cpp | 6 +- .../Northrend/Ulduar/Ulduar/boss_auriaya.cpp | 4 +- .../Ulduar/Ulduar/boss_flame_leviathan.cpp | 10 +- .../Northrend/Ulduar/Ulduar/boss_freya.cpp | 4 +- .../Ulduar/Ulduar/boss_general_vezax.cpp | 6 +- .../Northrend/Ulduar/Ulduar/boss_hodir.cpp | 4 +- .../Northrend/Ulduar/Ulduar/boss_ignis.cpp | 2 +- .../Northrend/Ulduar/Ulduar/boss_kologarn.cpp | 16 +-- .../Northrend/Ulduar/Ulduar/boss_mimiron.cpp | 2 +- .../Ulduar/Ulduar/boss_razorscale.cpp | 4 +- .../Northrend/Ulduar/Ulduar/boss_xt002.cpp | 14 +- .../Ulduar/Ulduar/boss_yogg_saron.cpp | 68 ++++----- .../UtgardeKeep/boss_ingvar_the_plunderer.cpp | 4 +- .../UtgardeKeep/UtgardeKeep/boss_keleseth.cpp | 2 +- .../UtgardeKeep/UtgardeKeep/utgarde_keep.cpp | 4 +- .../UtgardePinnacle/boss_svala.cpp | 2 +- .../VaultOfArchavon/boss_archavon.cpp | 2 +- .../VaultOfArchavon/boss_koralon.cpp | 6 +- .../scripts/Northrend/zone_borean_tundra.cpp | 2 +- .../scripts/Northrend/zone_dragonblight.cpp | 4 +- .../scripts/Northrend/zone_grizzly_hills.cpp | 2 +- .../scripts/Northrend/zone_howling_fjord.cpp | 2 +- .../scripts/Northrend/zone_sholazar_basin.cpp | 6 +- .../scripts/Northrend/zone_storm_peaks.cpp | 6 +- .../scripts/Northrend/zone_wintergrasp.cpp | 8 +- src/server/scripts/Northrend/zone_zuldrak.cpp | 8 +- .../ShadowLabyrinth/boss_murmur.cpp | 6 +- .../Outland/BlackTemple/illidari_council.cpp | 2 +- .../scripts/Outland/GruulsLair/boss_gruul.cpp | 4 +- .../BloodFurnace/boss_broggok.cpp | 2 +- .../TempestKeep/Eye/boss_astromancer.cpp | 2 +- .../Mechanar/boss_mechano_lord_capacitus.cpp | 4 +- .../botanica/boss_commander_sarannis.cpp | 2 +- .../scripts/Outland/boss_doomlord_kazzak.cpp | 2 +- .../Outland/zone_blades_edge_mountains.cpp | 2 +- .../Outland/zone_shadowmoon_valley.cpp | 2 +- src/server/scripts/Spells/spell_dk.cpp | 48 +++---- src/server/scripts/Spells/spell_druid.cpp | 52 +++---- src/server/scripts/Spells/spell_generic.cpp | 136 +++++++++--------- src/server/scripts/Spells/spell_holiday.cpp | 14 +- src/server/scripts/Spells/spell_hunter.cpp | 36 ++--- src/server/scripts/Spells/spell_item.cpp | 106 +++++++------- src/server/scripts/Spells/spell_mage.cpp | 24 ++-- src/server/scripts/Spells/spell_paladin.cpp | 50 +++---- src/server/scripts/Spells/spell_pet.cpp | 44 +++--- src/server/scripts/Spells/spell_priest.cpp | 36 ++--- src/server/scripts/Spells/spell_quest.cpp | 104 +++++++------- src/server/scripts/Spells/spell_rogue.cpp | 24 ++-- src/server/scripts/Spells/spell_shaman.cpp | 40 +++--- src/server/scripts/Spells/spell_warlock.cpp | 38 ++--- src/server/scripts/Spells/spell_warrior.cpp | 38 ++--- .../scripts/World/boss_emerald_dragons.cpp | 4 +- 122 files changed, 786 insertions(+), 785 deletions(-) diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index 29a178b419ff8..563d7fed107ef 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -144,6 +144,8 @@ enum CharacterCustomizeFlags static uint32 copseReclaimDelay[MAX_DEATH_COUNT] = { 30, 60, 120 }; +uint32 const MAX_MONEY_AMOUNT = static_cast(std::numeric_limits::max()); + // == PlayerTaxi ================================================ PlayerTaxi::PlayerTaxi() diff --git a/src/server/game/Entities/Player/Player.h b/src/server/game/Entities/Player/Player.h index 39f3c80402538..0826f533df732 100644 --- a/src/server/game/Entities/Player/Player.h +++ b/src/server/game/Entities/Player/Player.h @@ -826,7 +826,7 @@ enum PlayerDelayedOperations // Player summoning auto-decline time (in secs) #define MAX_PLAYER_SUMMON_DELAY (2*MINUTE) // Maximum money amount : 2^31 - 1 -auto constexpr MAX_MONEY_AMOUNT(static_cast(std::numeric_limits::max())); +extern uint32 const MAX_MONEY_AMOUNT; struct InstancePlayerBind { diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h index 75a191a98013b..32b8781fb8906 100644 --- a/src/server/game/Spells/SpellScript.h +++ b/src/server/game/Spells/SpellScript.h @@ -249,7 +249,7 @@ class SpellScript : public _SpellScript class HitHandlerFunction : public SpellScript::HitHandler { public: HitHandlerFunction(SpellHitFnType _pHitHandlerScript) : SpellScript::HitHandler((SpellScript::SpellHitFnType)_pHitHandlerScript) { } }; \ class ObjectAreaTargetSelectHandlerFunction : public SpellScript::ObjectAreaTargetSelectHandler { public: ObjectAreaTargetSelectHandlerFunction(SpellObjectAreaTargetSelectFnType _pObjectAreaTargetSelectHandlerScript, uint8 _effIndex, uint16 _targetType) : SpellScript::ObjectAreaTargetSelectHandler((SpellScript::SpellObjectAreaTargetSelectFnType)_pObjectAreaTargetSelectHandlerScript, _effIndex, _targetType) { } }; \ class ObjectTargetSelectHandlerFunction : public SpellScript::ObjectTargetSelectHandler { public: ObjectTargetSelectHandlerFunction(SpellObjectTargetSelectFnType _pObjectTargetSelectHandlerScript, uint8 _effIndex, uint16 _targetType) : SpellScript::ObjectTargetSelectHandler((SpellScript::SpellObjectTargetSelectFnType)_pObjectTargetSelectHandlerScript, _effIndex, _targetType) { } }; \ - class DestinationTargetSelectHandlerFunction : public SpellScript::DestinationTargetSelectHandler { public: DestinationTargetSelectHandlerFunction(SpellDestinationTargetSelectFnType _DestinationTargetSelectHandlerScript, uint8 _effIndex, uint16 _targetType) : SpellScript::DestinationTargetSelectHandler((SpellScript::SpellDestinationTargetSelectFnType)_DestinationTargetSelectHandlerScript, _effIndex, _targetType) { } }; + class DestinationTargetSelectHandlerFunction : public SpellScript::DestinationTargetSelectHandler { public: DestinationTargetSelectHandlerFunction(SpellDestinationTargetSelectFnType _DestinationTargetSelectHandlerScript, uint8 _effIndex, uint16 _targetType) : SpellScript::DestinationTargetSelectHandler((SpellScript::SpellDestinationTargetSelectFnType)_DestinationTargetSelectHandlerScript, _effIndex, _targetType) { } } #define PrepareSpellScript(CLASSNAME) SPELLSCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) SPELLSCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) public: @@ -623,7 +623,7 @@ class AuraScript : public _SpellScript class EffectSplitFunction : public AuraScript::EffectSplitHandler { public: EffectSplitFunction(AuraEffectSplitFnType _pEffectHandlerScript, uint8 _effIndex) : AuraScript::EffectSplitHandler((AuraScript::AuraEffectSplitFnType)_pEffectHandlerScript, _effIndex) { } }; \ class CheckProcHandlerFunction : public AuraScript::CheckProcHandler { public: CheckProcHandlerFunction(AuraCheckProcFnType handlerScript) : AuraScript::CheckProcHandler((AuraScript::AuraCheckProcFnType)handlerScript) { } }; \ class AuraProcHandlerFunction : public AuraScript::AuraProcHandler { public: AuraProcHandlerFunction(AuraProcFnType handlerScript) : AuraScript::AuraProcHandler((AuraScript::AuraProcFnType)handlerScript) { } }; \ - class EffectProcHandlerFunction : public AuraScript::EffectProcHandler { public: EffectProcHandlerFunction(AuraEffectProcFnType effectHandlerScript, uint8 effIndex, uint16 effName) : AuraScript::EffectProcHandler((AuraScript::AuraEffectProcFnType)effectHandlerScript, effIndex, effName) { } }; \ + class EffectProcHandlerFunction : public AuraScript::EffectProcHandler { public: EffectProcHandlerFunction(AuraEffectProcFnType effectHandlerScript, uint8 effIndex, uint16 effName) : AuraScript::EffectProcHandler((AuraScript::AuraEffectProcFnType)effectHandlerScript, effIndex, effName) { } } #define PrepareAuraScript(CLASSNAME) AURASCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) AURASCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp index b30973a64aeca..ea4784bb5a4c2 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp @@ -183,7 +183,7 @@ class spell_egg_event : public SpellScriptLoader class spell_egg_eventSpellScript : public SpellScript { - PrepareSpellScript(spell_egg_eventSpellScript) + PrepareSpellScript(spell_egg_eventSpellScript); void HandleOnHit() { diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp index 82f0fc14490db..9a1f8f14557a1 100644 --- a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp +++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp @@ -160,7 +160,7 @@ class spell_shadow_portal : public SpellScriptLoader class spell_shadow_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_shadow_portal_SpellScript) + PrepareSpellScript(spell_shadow_portal_SpellScript); void HandleCast(SpellEffIndex /*effIndex*/) { @@ -274,7 +274,7 @@ class spell_shadow_portal_rooms : public SpellScriptLoader class spell_shadow_portal_rooms_SpellScript : public SpellScript { - PrepareSpellScript(spell_shadow_portal_rooms_SpellScript) + PrepareSpellScript(spell_shadow_portal_rooms_SpellScript); void HandleSendEvent(SpellEffIndex effIndex) { diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp index bbb56d09f438c..fb839650b861c 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp @@ -208,7 +208,7 @@ class spell_shadowfang_keep_haunting_spirits : public SpellScriptLoader class spell_shadowfang_keep_haunting_spirits_AuraScript : public AuraScript { - PrepareAuraScript(spell_shadowfang_keep_haunting_spirits_AuraScript) + PrepareAuraScript(spell_shadowfang_keep_haunting_spirits_AuraScript); void CalcPeriodic(AuraEffect const* /*aurEff*/, bool& isPeriodic, int32& amplitude) { diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp index b93a247502744..a7afa93e835ca 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp @@ -959,7 +959,7 @@ class spell_hexlord_unstable_affliction : public SpellScriptLoader class spell_hexlord_unstable_affliction_AuraScript : public AuraScript { - PrepareAuraScript(spell_hexlord_unstable_affliction_AuraScript) + PrepareAuraScript(spell_hexlord_unstable_affliction_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp index 77bf23fa3a145..b2eec0574f3a5 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp @@ -464,7 +464,7 @@ class spell_banging_the_gong : public SpellScriptLoader class spell_banging_the_gong_SpellScript : public SpellScript { - PrepareSpellScript(spell_banging_the_gong_SpellScript) + PrepareSpellScript(spell_banging_the_gong_SpellScript); void Activate(SpellEffIndex index) { diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp index 4b08ad06ddaf2..72ba9db363736 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp @@ -408,7 +408,7 @@ class spell_threatening_gaze : public SpellScriptLoader class spell_threatening_gaze_AuraScript : public AuraScript { - PrepareAuraScript(spell_threatening_gaze_AuraScript) + PrepareAuraScript(spell_threatening_gaze_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp index c08ea7f8dcc8b..293a6b90915c4 100644 --- a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp @@ -44,7 +44,7 @@ class spell_razelikh_teleport_group : public SpellScriptLoader class spell_razelikh_teleport_group_SpellScript : public SpellScript { - PrepareSpellScript(spell_razelikh_teleport_group_SpellScript) + PrepareSpellScript(spell_razelikh_teleport_group_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Examples/example_spell.cpp b/src/server/scripts/Examples/example_spell.cpp index 28c2a0cf71e2f..9097f7cd650d1 100644 --- a/src/server/scripts/Examples/example_spell.cpp +++ b/src/server/scripts/Examples/example_spell.cpp @@ -43,7 +43,7 @@ class spell_ex_5581 : public SpellScriptLoader // initialize script, this macro does compile time check for type of the function - prevents possible issues // if you have assigned wrong type of function to a hook you'll receive type conversion error during build // this line is required, otherwise you'll get XXXHandlerFunction - identifier not found errors - PrepareSpellScript(spell_ex_5581SpellScript) + PrepareSpellScript(spell_ex_5581SpellScript); std::string localVariable; char* localVariable2; @@ -205,7 +205,7 @@ class spell_ex_66244 : public SpellScriptLoader class spell_ex_66244AuraScript : public AuraScript { - PrepareAuraScript(spell_ex_66244AuraScript) + PrepareAuraScript(spell_ex_66244AuraScript); // function called on server startup // checks if script has data required for it to work bool Validate(SpellInfo const* /*spellInfo*/) override @@ -364,7 +364,7 @@ class spell_ex_absorb_aura : public SpellScriptLoader class spell_ex_absorb_auraAuraScript : public AuraScript { - PrepareAuraScript(spell_ex_absorb_auraAuraScript) + PrepareAuraScript(spell_ex_absorb_auraAuraScript); void HandleOnEffectAbsorb(AuraEffect* /*aurEff*/, DamageInfo & dmgInfo, uint32 & absorbAmount) { @@ -400,7 +400,7 @@ class spell_ex_463 : public SpellScriptLoader class spell_ex_463AuraScript : public AuraScript { - PrepareAuraScript(spell_ex_463AuraScript) + PrepareAuraScript(spell_ex_463AuraScript); bool CheckAreaTarget(Unit* target) { @@ -438,7 +438,7 @@ class spell_ex : public SpellScriptLoader class spell_ex_SpellScript : public SpellScript { - PrepareSpellScript(spell_ex_SpellScript) + PrepareSpellScript(spell_ex_SpellScript); //bool Validate(SpellInfo const* spellEntry){return true;} override //bool Load(){return true;} diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp index 0ba6ead07420d..193b8bfe483b3 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp @@ -181,7 +181,7 @@ class spell_mark_of_kazrogal : public SpellScriptLoader class spell_mark_of_kazrogal_SpellScript : public SpellScript { - PrepareSpellScript(spell_mark_of_kazrogal_SpellScript) + PrepareSpellScript(spell_mark_of_kazrogal_SpellScript); void FilterTargets(std::list& targets) { @@ -196,7 +196,7 @@ class spell_mark_of_kazrogal : public SpellScriptLoader class spell_mark_of_kazrogal_AuraScript : public AuraScript { - PrepareAuraScript(spell_mark_of_kazrogal_AuraScript) + PrepareAuraScript(spell_mark_of_kazrogal_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp index 7a6a5969783c4..835fd6228e152 100644 --- a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp +++ b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp @@ -257,7 +257,7 @@ class spell_snufflenose_command : public SpellScriptLoader class spell_snufflenose_commandSpellScript : public SpellScript { - PrepareSpellScript(spell_snufflenose_commandSpellScript) + PrepareSpellScript(spell_snufflenose_commandSpellScript); bool Load() override { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp index 822e4356202bd..ac490b1440d84 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp @@ -247,7 +247,7 @@ class spell_egg_explosion : public SpellScriptLoader class spell_egg_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_egg_explosion_SpellScript) + PrepareSpellScript(spell_egg_explosion_SpellScript); void HandleAfterCast() { diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp index efb814dac73fb..51384cc117dc9 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp @@ -215,7 +215,7 @@ class spell_skeram_arcane_explosion : public SpellScriptLoader class spell_skeram_arcane_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_skeram_arcane_explosion_SpellScript) + PrepareSpellScript(spell_skeram_arcane_explosion_SpellScript); void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Kalimdor/boss_azuregos.cpp b/src/server/scripts/Kalimdor/boss_azuregos.cpp index 42d432f1642a4..db41213e94e52 100644 --- a/src/server/scripts/Kalimdor/boss_azuregos.cpp +++ b/src/server/scripts/Kalimdor/boss_azuregos.cpp @@ -178,7 +178,7 @@ class spell_mark_of_frost : public SpellScriptLoader class spell_mark_of_frost_SpellScript : public SpellScript { - PrepareSpellScript(spell_mark_of_frost_SpellScript) + PrepareSpellScript(spell_mark_of_frost_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Kalimdor/zone_durotar.cpp b/src/server/scripts/Kalimdor/zone_durotar.cpp index 8d6ae347b853b..358814d440a6d 100644 --- a/src/server/scripts/Kalimdor/zone_durotar.cpp +++ b/src/server/scripts/Kalimdor/zone_durotar.cpp @@ -447,7 +447,7 @@ class spell_mount_check : public SpellScriptLoader class spell_mount_check_AuraScript : public AuraScript { - PrepareAuraScript(spell_mount_check_AuraScript) + PrepareAuraScript(spell_mount_check_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -495,7 +495,7 @@ class spell_voljin_war_drums : public SpellScriptLoader class spell_voljin_war_drums_SpellScript : public SpellScript { - PrepareSpellScript(spell_voljin_war_drums_SpellScript) + PrepareSpellScript(spell_voljin_war_drums_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -552,7 +552,7 @@ class spell_voodoo : public SpellScriptLoader class spell_voodoo_SpellScript : public SpellScript { - PrepareSpellScript(spell_voodoo_SpellScript) + PrepareSpellScript(spell_voodoo_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp index a96133dad167f..aa9774bfd62c0 100644 --- a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp +++ b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp @@ -610,7 +610,7 @@ class spell_ooze_zap : public SpellScriptLoader class spell_ooze_zap_SpellScript : public SpellScript { - PrepareSpellScript(spell_ooze_zap_SpellScript) + PrepareSpellScript(spell_ooze_zap_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -657,7 +657,7 @@ class spell_ooze_zap_channel_end : public SpellScriptLoader class spell_ooze_zap_channel_end_SpellScript : public SpellScript { - PrepareSpellScript(spell_ooze_zap_channel_end_SpellScript) + PrepareSpellScript(spell_ooze_zap_channel_end_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -693,7 +693,7 @@ class spell_energize_aoe : public SpellScriptLoader class spell_energize_aoe_SpellScript : public SpellScript { - PrepareSpellScript(spell_energize_aoe_SpellScript) + PrepareSpellScript(spell_energize_aoe_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Kalimdor/zone_feralas.cpp b/src/server/scripts/Kalimdor/zone_feralas.cpp index 8baa02e72b310..fa5336df1f350 100644 --- a/src/server/scripts/Kalimdor/zone_feralas.cpp +++ b/src/server/scripts/Kalimdor/zone_feralas.cpp @@ -215,7 +215,7 @@ class spell_gordunni_trap : public SpellScriptLoader class spell_gordunni_trap_SpellScript : public SpellScript { - PrepareSpellScript(spell_gordunni_trap_SpellScript) + PrepareSpellScript(spell_gordunni_trap_SpellScript); void HandleDummy() { 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 63827c48f4487..ab142c1375cc5 100644 --- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp @@ -267,7 +267,7 @@ class spell_elder_nadox_guardian : public SpellScriptLoader class spell_elder_nadox_guardian_SpellScript : public SpellScript { - PrepareSpellScript(spell_elder_nadox_guardian_SpellScript) + PrepareSpellScript(spell_elder_nadox_guardian_SpellScript); void FilterTargets(std::list& targets) { 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 f392bea327b51..e3156e213712c 100644 --- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp @@ -417,7 +417,7 @@ class spell_prince_taldaram_conjure_flame_sphere : public SpellScriptLoader class spell_prince_taldaram_conjure_flame_sphere_SpellScript : public SpellScript { - PrepareSpellScript(spell_prince_taldaram_conjure_flame_sphere_SpellScript) + PrepareSpellScript(spell_prince_taldaram_conjure_flame_sphere_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -460,7 +460,7 @@ class spell_prince_taldaram_flame_sphere_summon : public SpellScriptLoader class spell_prince_taldaram_flame_sphere_summon_SpellScript : public SpellScript { - PrepareSpellScript(spell_prince_taldaram_flame_sphere_summon_SpellScript) + PrepareSpellScript(spell_prince_taldaram_flame_sphere_summon_SpellScript); void SetDest(SpellDestination& dest) { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp index 5eae42d2abde8..69605574f8684 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp @@ -312,7 +312,7 @@ class spell_baltharus_enervating_brand_trigger : public SpellScriptLoader class spell_baltharus_enervating_brand_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_baltharus_enervating_brand_trigger_SpellScript) + PrepareSpellScript(spell_baltharus_enervating_brand_trigger_SpellScript); void CheckDistance() { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp index e4167fc28ad39..f352b4faace68 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp @@ -1342,7 +1342,7 @@ class spell_halion_meteor_strike_marker : public SpellScriptLoader class spell_halion_meteor_strike_marker_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_meteor_strike_marker_AuraScript) + PrepareAuraScript(spell_halion_meteor_strike_marker_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1373,7 +1373,7 @@ class spell_halion_combustion_consumption : public SpellScriptLoader class spell_halion_combustion_consumption_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_combustion_consumption_AuraScript) + PrepareAuraScript(spell_halion_combustion_consumption_AuraScript); public: spell_halion_combustion_consumption_AuraScript(uint32 spellID) : AuraScript(), _markSpell(spellID) { } @@ -1431,7 +1431,7 @@ class spell_halion_marks : public SpellScriptLoader class spell_halion_marks_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_marks_AuraScript) + PrepareAuraScript(spell_halion_marks_AuraScript); public: spell_halion_marks_AuraScript(uint32 summonSpell, uint32 removeSpell) : AuraScript(), @@ -1491,7 +1491,7 @@ class spell_halion_damage_aoe_summon : public SpellScriptLoader class spell_halion_damage_aoe_summon_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_damage_aoe_summon_SpellScript) + PrepareSpellScript(spell_halion_damage_aoe_summon_SpellScript); void HandleSummon(SpellEffIndex effIndex) { @@ -1528,7 +1528,7 @@ class spell_halion_twilight_realm_handlers : public SpellScriptLoader class spell_halion_twilight_realm_handlers_AuraScript : public AuraScript { - PrepareAuraScript(spell_halion_twilight_realm_handlers_AuraScript) + PrepareAuraScript(spell_halion_twilight_realm_handlers_AuraScript); public: spell_halion_twilight_realm_handlers_AuraScript(uint32 beforeHitSpell, bool isApplyHandler) : AuraScript(), @@ -1592,7 +1592,7 @@ class spell_halion_clear_debuffs : public SpellScriptLoader class spell_halion_clear_debuffs_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_clear_debuffs_SpellScript) + PrepareSpellScript(spell_halion_clear_debuffs_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1643,7 +1643,7 @@ class spell_halion_twilight_cutter : public SpellScriptLoader class spell_halion_twilight_cutter_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_twilight_cutter_SpellScript) + PrepareSpellScript(spell_halion_twilight_cutter_SpellScript); void RemoveNotBetween(std::list& unitList) { @@ -1680,7 +1680,7 @@ class spell_halion_twilight_phasing : public SpellScriptLoader class spell_halion_twilight_phasing_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_twilight_phasing_SpellScript) + PrepareSpellScript(spell_halion_twilight_phasing_SpellScript); void Phase() { @@ -1709,7 +1709,7 @@ class spell_halion_summon_exit_portals : public SpellScriptLoader class spell_halion_summon_exit_portals_SpellScript : public SpellScript { - PrepareSpellScript(spell_halion_summon_exit_portals_SpellScript) + PrepareSpellScript(spell_halion_summon_exit_portals_SpellScript); void SetDest0(SpellDestination& dest) { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp index eab099ccabef6..199337b063109 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp @@ -221,7 +221,7 @@ class spell_saviana_conflagration_init : public SpellScriptLoader class spell_saviana_conflagration_init_SpellScript : public SpellScript { - PrepareSpellScript(spell_saviana_conflagration_init_SpellScript) + PrepareSpellScript(spell_saviana_conflagration_init_SpellScript); void FilterTargets(std::list& targets) { @@ -258,7 +258,7 @@ class spell_saviana_conflagration_throwback : public SpellScriptLoader class spell_saviana_conflagration_throwback_SpellScript : public SpellScript { - PrepareSpellScript(spell_saviana_conflagration_throwback_SpellScript) + PrepareSpellScript(spell_saviana_conflagration_throwback_SpellScript); void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp index 99390da7dcd64..cb0cba21d6c7e 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp @@ -128,7 +128,7 @@ class spell_eadric_radiance : public SpellScriptLoader spell_eadric_radiance() : SpellScriptLoader("spell_eadric_radiance") { } class spell_eadric_radiance_SpellScript : public SpellScript { - PrepareSpellScript(spell_eadric_radiance_SpellScript) + PrepareSpellScript(spell_eadric_radiance_SpellScript); void FilterTargets(std::list& unitList) { @@ -627,7 +627,7 @@ class spell_paletress_summon_memory : public SpellScriptLoader class spell_paletress_summon_memory_SpellScript : public SpellScript { - PrepareSpellScript(spell_paletress_summon_memory_SpellScript) + PrepareSpellScript(spell_paletress_summon_memory_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp index 355e3cade4d47..77e4e740333a6 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp @@ -815,7 +815,7 @@ class spell_impale : public SpellScriptLoader class spell_impale_SpellScript : public SpellScript { - PrepareSpellScript(spell_impale_SpellScript) + PrepareSpellScript(spell_impale_SpellScript); void HandleDamageCalc(SpellEffIndex /*effIndex*/) { @@ -846,7 +846,7 @@ class spell_anubarak_leeching_swarm : public SpellScriptLoader class spell_anubarak_leeching_swarm_AuraScript : public AuraScript { - PrepareAuraScript(spell_anubarak_leeching_swarm_AuraScript) + PrepareAuraScript(spell_anubarak_leeching_swarm_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp index 5cdce96d5aeb5..71df7d05378ce 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp @@ -2232,7 +2232,7 @@ class spell_faction_champion_warl_unstable_affliction : public SpellScriptLoader class spell_faction_champion_warl_unstable_affliction_AuraScript : public AuraScript { - PrepareAuraScript(spell_faction_champion_warl_unstable_affliction_AuraScript) + PrepareAuraScript(spell_faction_champion_warl_unstable_affliction_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2266,7 +2266,7 @@ class spell_faction_champion_death_grip : public SpellScriptLoader class spell_faction_champion_death_grip_SpellScript : public SpellScript { - PrepareSpellScript(spell_faction_champion_death_grip_SpellScript) + PrepareSpellScript(spell_faction_champion_death_grip_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2304,7 +2304,7 @@ class spell_toc_bloodlust : public SpellScriptLoader class spell_toc_bloodlust_SpellScript : public SpellScript { - PrepareSpellScript(spell_toc_bloodlust_SpellScript) + PrepareSpellScript(spell_toc_bloodlust_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2345,7 +2345,7 @@ class spell_toc_heroism : public SpellScriptLoader class spell_toc_heroism_SpellScript : public SpellScript { - PrepareSpellScript(spell_toc_heroism_SpellScript) + PrepareSpellScript(spell_toc_heroism_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp index 6acaf4895ecdd..c0f7b2f1856f9 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp @@ -495,7 +495,7 @@ class spell_mistress_kiss : public SpellScriptLoader class spell_mistress_kiss_AuraScript : public AuraScript { - PrepareAuraScript(spell_mistress_kiss_AuraScript) + PrepareAuraScript(spell_mistress_kiss_AuraScript); bool Load() override { @@ -553,7 +553,7 @@ class spell_mistress_kiss_area : public SpellScriptLoader class spell_mistress_kiss_area_SpellScript : public SpellScript { - PrepareSpellScript(spell_mistress_kiss_area_SpellScript) + PrepareSpellScript(spell_mistress_kiss_area_SpellScript); void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp index 63236d68f58ea..f45a57bd0bc37 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp @@ -819,7 +819,7 @@ class spell_gormok_fire_bomb : public SpellScriptLoader class spell_gormok_fire_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_gormok_fire_bomb_SpellScript) + PrepareSpellScript(spell_gormok_fire_bomb_SpellScript); void TriggerFireBomb(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp index 8176422eed6e1..5fa52c1eb5348 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp @@ -673,8 +673,7 @@ class spell_powering_up : public SpellScriptLoader class spell_powering_up_SpellScript : public SpellScript { - public: - PrepareSpellScript(spell_powering_up_SpellScript) + PrepareSpellScript(spell_powering_up_SpellScript); uint32 spellId; uint32 poweringUp; @@ -731,7 +730,7 @@ class spell_valkyr_essences : public SpellScriptLoader class spell_valkyr_essences_AuraScript : public AuraScript { - PrepareAuraScript(spell_valkyr_essences_AuraScript) + PrepareAuraScript(spell_valkyr_essences_AuraScript); uint32 spellId; @@ -826,7 +825,7 @@ class spell_power_of_the_twins : public SpellScriptLoader class spell_power_of_the_twins_AuraScript : public AuraScript { - PrepareAuraScript(spell_power_of_the_twins_AuraScript) + PrepareAuraScript(spell_power_of_the_twins_AuraScript); bool Load() override { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp index c67193fc11e96..72e4b0b5eb9ce 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp @@ -354,7 +354,7 @@ class spell_novos_summon_minions : public SpellScriptLoader class spell_novos_summon_minions_SpellScript : public SpellScript { - PrepareSpellScript(spell_novos_summon_minions_SpellScript) + PrepareSpellScript(spell_novos_summon_minions_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp index 1b6cfceaf6c88..77f026b1d3a54 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp @@ -212,7 +212,7 @@ class spell_tharon_ja_clear_gift_of_tharon_ja : public SpellScriptLoader class spell_tharon_ja_clear_gift_of_tharon_ja_SpellScript : public SpellScript { - PrepareSpellScript(spell_tharon_ja_clear_gift_of_tharon_ja_SpellScript) + PrepareSpellScript(spell_tharon_ja_clear_gift_of_tharon_ja_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp index 9ac087f5a45a9..13d968d9e0658 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp @@ -219,7 +219,7 @@ class spell_trollgore_consume : public SpellScriptLoader class spell_trollgore_consume_SpellScript : public SpellScript { - PrepareSpellScript(spell_trollgore_consume_SpellScript) + PrepareSpellScript(spell_trollgore_consume_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -254,7 +254,7 @@ class spell_trollgore_corpse_explode : public SpellScriptLoader class spell_trollgore_corpse_explode_AuraScript : public AuraScript { - PrepareAuraScript(spell_trollgore_corpse_explode_AuraScript) + PrepareAuraScript(spell_trollgore_corpse_explode_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -297,7 +297,7 @@ class spell_trollgore_invader_taunt : public SpellScriptLoader class spell_trollgore_invader_taunt_SpellScript : public SpellScript { - PrepareSpellScript(spell_trollgore_invader_taunt_SpellScript) + PrepareSpellScript(spell_trollgore_invader_taunt_SpellScript); bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp index 526c412cfce6b..fe98f005bca28 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp @@ -239,7 +239,7 @@ class spell_bronjahm_magic_bane : public SpellScriptLoader class spell_bronjahm_magic_bane_SpellScript : public SpellScript { - PrepareSpellScript(spell_bronjahm_magic_bane_SpellScript) + PrepareSpellScript(spell_bronjahm_magic_bane_SpellScript); void RecalculateDamage() { @@ -273,7 +273,7 @@ class spell_bronjahm_consume_soul : public SpellScriptLoader class spell_bronjahm_consume_soul_SpellScript : public SpellScript { - PrepareSpellScript(spell_bronjahm_consume_soul_SpellScript) + PrepareSpellScript(spell_bronjahm_consume_soul_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -300,7 +300,7 @@ class spell_bronjahm_soulstorm_channel : public SpellScriptLoader class spell_bronjahm_soulstorm_channel_AuraScript : public AuraScript { - PrepareAuraScript(spell_bronjahm_soulstorm_channel_AuraScript) + PrepareAuraScript(spell_bronjahm_soulstorm_channel_AuraScript); void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -328,7 +328,7 @@ class spell_bronjahm_soulstorm_visual : public SpellScriptLoader class spell_bronjahm_soulstorm_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_bronjahm_soulstorm_visual_AuraScript) + PrepareAuraScript(spell_bronjahm_soulstorm_visual_AuraScript); void HandlePeriodicTick(AuraEffect const* aurEff) { @@ -374,7 +374,7 @@ class spell_bronjahm_soulstorm_targeting : public SpellScriptLoader class spell_bronjahm_soulstorm_targeting_SpellScript : public SpellScript { - PrepareSpellScript(spell_bronjahm_soulstorm_targeting_SpellScript) + PrepareSpellScript(spell_bronjahm_soulstorm_targeting_SpellScript); void FilterTargetsInitial(std::list& targets) { diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp index 4c0e10780beae..e64067fb995e6 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp @@ -357,7 +357,7 @@ class spell_devourer_of_souls_mirrored_soul : public SpellScriptLoader class spell_devourer_of_souls_mirrored_soul_SpellScript : public SpellScript { - PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_SpellScript) + PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -392,7 +392,7 @@ class spell_devourer_of_souls_mirrored_soul_proc : public SpellScriptLoader class spell_devourer_of_souls_mirrored_soul_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_devourer_of_souls_mirrored_soul_proc_AuraScript) + PrepareAuraScript(spell_devourer_of_souls_mirrored_soul_proc_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -439,7 +439,7 @@ class spell_devourer_of_souls_mirrored_soul_target_selector : public SpellScript class spell_devourer_of_souls_mirrored_soul_target_selector_SpellScript : public SpellScript { - PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_target_selector_SpellScript) + PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_target_selector_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp index b18e5ea28c641..902a917c59452 100644 --- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp @@ -139,7 +139,7 @@ class spell_marwyn_shared_suffering : public SpellScriptLoader class spell_marwyn_shared_suffering_AuraScript : public AuraScript { - PrepareAuraScript(spell_marwyn_shared_suffering_AuraScript) + PrepareAuraScript(spell_marwyn_shared_suffering_AuraScript); void HandleEffectRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp index 392d604c8f897..9cbd296d69e94 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp @@ -246,7 +246,7 @@ class spell_garfrost_permafrost : public SpellScriptLoader class spell_garfrost_permafrost_SpellScript : public SpellScript { - PrepareSpellScript(spell_garfrost_permafrost_SpellScript) + PrepareSpellScript(spell_garfrost_permafrost_SpellScript); bool Load() override { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp index c83c6cdaa50ca..26ab1f61ae8ff 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp @@ -504,7 +504,7 @@ class spell_krick_explosive_barrage : public SpellScriptLoader class spell_krick_explosive_barrage_AuraScript : public AuraScript { - PrepareAuraScript(spell_krick_explosive_barrage_AuraScript) + PrepareAuraScript(spell_krick_explosive_barrage_AuraScript); void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -539,7 +539,7 @@ class spell_ick_explosive_barrage : public SpellScriptLoader class spell_ick_explosive_barrage_AuraScript : public AuraScript { - PrepareAuraScript(spell_ick_explosive_barrage_AuraScript) + PrepareAuraScript(spell_ick_explosive_barrage_AuraScript); void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -578,7 +578,7 @@ class spell_exploding_orb_hasty_grow : public SpellScriptLoader class spell_exploding_orb_hasty_grow_AuraScript : public AuraScript { - PrepareAuraScript(spell_exploding_orb_hasty_grow_AuraScript) + PrepareAuraScript(spell_exploding_orb_hasty_grow_AuraScript); void OnStackChange(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -613,7 +613,7 @@ class spell_krick_pursuit : public SpellScriptLoader class spell_krick_pursuit_SpellScript : public SpellScript { - PrepareSpellScript(spell_krick_pursuit_SpellScript) + PrepareSpellScript(spell_krick_pursuit_SpellScript); void HandleScriptEffect(SpellEffIndex /*effIndex*/) { @@ -639,7 +639,7 @@ class spell_krick_pursuit : public SpellScriptLoader class spell_krick_pursuit_AuraScript : public AuraScript { - PrepareAuraScript(spell_krick_pursuit_AuraScript) + PrepareAuraScript(spell_krick_pursuit_AuraScript); void HandleExtraEffect(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -672,7 +672,7 @@ class spell_krick_pursuit_confusion : public SpellScriptLoader class spell_krick_pursuit_confusion_AuraScript : public AuraScript { - PrepareAuraScript(spell_krick_pursuit_confusion_AuraScript) + PrepareAuraScript(spell_krick_pursuit_confusion_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp index fd5fda682be82..a501bf4ea55f1 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp @@ -413,7 +413,7 @@ class spell_tyrannus_overlord_brand : public SpellScriptLoader class spell_tyrannus_overlord_brand_AuraScript : public AuraScript { - PrepareAuraScript(spell_tyrannus_overlord_brand_AuraScript) + PrepareAuraScript(spell_tyrannus_overlord_brand_AuraScript); bool Load() override { @@ -465,7 +465,7 @@ class spell_tyrannus_mark_of_rimefang : public SpellScriptLoader class spell_tyrannus_mark_of_rimefang_AuraScript : public AuraScript { - PrepareAuraScript(spell_tyrannus_mark_of_rimefang_AuraScript) + PrepareAuraScript(spell_tyrannus_mark_of_rimefang_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp index 21d3766d766cf..7bd9325dd974a 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp @@ -212,7 +212,7 @@ class spell_trash_npc_glacial_strike : public SpellScriptLoader class spell_trash_npc_glacial_strike_AuraScript : public AuraScript { - PrepareAuraScript(spell_trash_npc_glacial_strike_AuraScript) + PrepareAuraScript(spell_trash_npc_glacial_strike_AuraScript); void PeriodicTick(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp index 5824b1b65def6..a9088207ebe83 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp @@ -1373,7 +1373,7 @@ class spell_taldaram_glittering_sparks : public SpellScriptLoader class spell_taldaram_glittering_sparks_SpellScript : public SpellScript { - PrepareSpellScript(spell_taldaram_glittering_sparks_SpellScript) + PrepareSpellScript(spell_taldaram_glittering_sparks_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1400,7 +1400,7 @@ class spell_taldaram_summon_flame_ball : public SpellScriptLoader class spell_taldaram_summon_flame_ball_SpellScript : public SpellScript { - PrepareSpellScript(spell_taldaram_summon_flame_ball_SpellScript) + PrepareSpellScript(spell_taldaram_summon_flame_ball_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1427,7 +1427,7 @@ class spell_taldaram_flame_ball_visual : public SpellScriptLoader class spell_flame_ball_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_flame_ball_visual_AuraScript) + PrepareAuraScript(spell_flame_ball_visual_AuraScript); bool Load() override { @@ -1471,7 +1471,7 @@ class spell_taldaram_ball_of_inferno_flame : public SpellScriptLoader class spell_taldaram_ball_of_inferno_flame_SpellScript : public SpellScript { - PrepareSpellScript(spell_taldaram_ball_of_inferno_flame_SpellScript) + PrepareSpellScript(spell_taldaram_ball_of_inferno_flame_SpellScript); void ModAuraStack() { @@ -1499,7 +1499,7 @@ class spell_valanar_kinetic_bomb : public SpellScriptLoader class spell_valanar_kinetic_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_valanar_kinetic_bomb_SpellScript) + PrepareSpellScript(spell_valanar_kinetic_bomb_SpellScript); void SetDest(SpellDestination& dest) { @@ -1515,7 +1515,7 @@ class spell_valanar_kinetic_bomb : public SpellScriptLoader class spell_valanar_kinetic_bomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_valanar_kinetic_bomb_AuraScript) + PrepareAuraScript(spell_valanar_kinetic_bomb_AuraScript); void HandleDummyTick(AuraEffect const* /*aurEff*/) { @@ -1556,7 +1556,7 @@ class spell_valanar_kinetic_bomb_knockback : public SpellScriptLoader class spell_valanar_kinetic_bomb_knockback_SpellScript : public SpellScript { - PrepareSpellScript(spell_valanar_kinetic_bomb_knockback_SpellScript) + PrepareSpellScript(spell_valanar_kinetic_bomb_knockback_SpellScript); void KnockIntoAir() { @@ -1583,7 +1583,7 @@ class spell_valanar_kinetic_bomb_absorb : public SpellScriptLoader class spell_valanar_kinetic_bomb_absorb_AuraScript : public AuraScript { - PrepareAuraScript(spell_valanar_kinetic_bomb_absorb_AuraScript) + PrepareAuraScript(spell_valanar_kinetic_bomb_absorb_AuraScript); void OnAbsorb(AuraEffect* aurEff, DamageInfo& dmgInfo, uint32& absorbAmount) { @@ -1611,7 +1611,7 @@ class spell_blood_council_shadow_prison : public SpellScriptLoader class spell_blood_council_shadow_prison_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_council_shadow_prison_AuraScript) + PrepareAuraScript(spell_blood_council_shadow_prison_AuraScript); void HandleDummyTick(AuraEffect const* aurEff) { @@ -1638,7 +1638,7 @@ class spell_blood_council_shadow_prison_damage : public SpellScriptLoader class spell_blood_council_shadow_prison_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_council_shadow_prison_SpellScript) + PrepareSpellScript(spell_blood_council_shadow_prison_SpellScript); void AddExtraDamage() { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp index d7842b488cd2e..104a8357917d3 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp @@ -518,7 +518,7 @@ class spell_blood_queen_vampiric_bite : public SpellScriptLoader class spell_blood_queen_vampiric_bite_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_vampiric_bite_SpellScript) + PrepareSpellScript(spell_blood_queen_vampiric_bite_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -595,7 +595,7 @@ class spell_blood_queen_frenzied_bloodthirst : public SpellScriptLoader class spell_blood_queen_frenzied_bloodthirst_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_queen_frenzied_bloodthirst_AuraScript) + PrepareAuraScript(spell_blood_queen_frenzied_bloodthirst_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -654,7 +654,7 @@ class spell_blood_queen_bloodbolt : public SpellScriptLoader class spell_blood_queen_bloodbolt_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_bloodbolt_SpellScript) + PrepareSpellScript(spell_blood_queen_bloodbolt_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -705,7 +705,7 @@ class spell_blood_queen_essence_of_the_blood_queen : public SpellScriptLoader class spell_blood_queen_essence_of_the_blood_queen_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_queen_essence_of_the_blood_queen_AuraScript) + PrepareAuraScript(spell_blood_queen_essence_of_the_blood_queen_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -740,7 +740,7 @@ class spell_blood_queen_pact_of_the_darkfallen : public SpellScriptLoader class spell_blood_queen_pact_of_the_darkfallen_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_SpellScript) + PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_SpellScript); void FilterTargets(std::list& targets) { @@ -788,7 +788,7 @@ class spell_blood_queen_pact_of_the_darkfallen_dmg : public SpellScriptLoader class spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript : public AuraScript { - PrepareAuraScript(spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript) + PrepareAuraScript(spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -826,7 +826,7 @@ class spell_blood_queen_pact_of_the_darkfallen_dmg_target : public SpellScriptLo class spell_blood_queen_pact_of_the_darkfallen_dmg_SpellScript : public SpellScript { - PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_dmg_SpellScript) + PrepareSpellScript(spell_blood_queen_pact_of_the_darkfallen_dmg_SpellScript); void FilterTargets(std::list& unitList) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp index ead6fc8ed4750..16d1531e89061 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp @@ -1022,7 +1022,7 @@ class spell_deathbringer_blood_link : public SpellScriptLoader class spell_deathbringer_blood_link_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_link_SpellScript) + PrepareSpellScript(spell_deathbringer_blood_link_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1058,7 +1058,7 @@ class spell_deathbringer_blood_link_aura : public SpellScriptLoader class spell_deathbringer_blood_link_AuraScript : public AuraScript { - PrepareAuraScript(spell_deathbringer_blood_link_AuraScript) + PrepareAuraScript(spell_deathbringer_blood_link_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1094,7 +1094,7 @@ class spell_deathbringer_blood_power : public SpellScriptLoader class spell_deathbringer_blood_power_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_power_SpellScript) + PrepareSpellScript(spell_deathbringer_blood_power_SpellScript); void ModAuraValue() { @@ -1110,7 +1110,7 @@ class spell_deathbringer_blood_power : public SpellScriptLoader class spell_deathbringer_blood_power_AuraScript : public AuraScript { - PrepareAuraScript(spell_deathbringer_blood_power_AuraScript) + PrepareAuraScript(spell_deathbringer_blood_power_AuraScript); void RecalculateHook(AuraEffect const* /*aurEffect*/, int32& amount, bool& canBeRecalculated) { @@ -1143,7 +1143,7 @@ class spell_deathbringer_rune_of_blood : public SpellScriptLoader class spell_deathbringer_rune_of_blood_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_rune_of_blood_SpellScript) + PrepareSpellScript(spell_deathbringer_rune_of_blood_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1178,7 +1178,7 @@ class spell_deathbringer_blood_nova : public SpellScriptLoader class spell_deathbringer_blood_nova_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_nova_SpellScript) + PrepareSpellScript(spell_deathbringer_blood_nova_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1213,7 +1213,7 @@ class spell_deathbringer_blood_nova_targeting : public SpellScriptLoader class spell_deathbringer_blood_nova_targeting_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_blood_nova_targeting_SpellScript) + PrepareSpellScript(spell_deathbringer_blood_nova_targeting_SpellScript); bool Load() override { @@ -1292,7 +1292,7 @@ class spell_deathbringer_boiling_blood : public SpellScriptLoader class spell_deathbringer_boiling_blood_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_boiling_blood_SpellScript) + PrepareSpellScript(spell_deathbringer_boiling_blood_SpellScript); bool Load() override { @@ -1329,7 +1329,7 @@ class spell_deathbringer_remove_marks : public SpellScriptLoader class spell_deathbringer_remove_marks_SpellScript : public SpellScript { - PrepareSpellScript(spell_deathbringer_remove_marks_SpellScript) + PrepareSpellScript(spell_deathbringer_remove_marks_SpellScript); void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp index 2e61793745c18..9847d7191c60c 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp @@ -368,7 +368,7 @@ class spell_festergut_pungent_blight : public SpellScriptLoader class spell_festergut_pungent_blight_SpellScript : public SpellScript { - PrepareSpellScript(spell_festergut_pungent_blight_SpellScript) + PrepareSpellScript(spell_festergut_pungent_blight_SpellScript); bool Load() override { @@ -404,7 +404,7 @@ class spell_festergut_gastric_bloat : public SpellScriptLoader class spell_festergut_gastric_bloat_SpellScript : public SpellScript { - PrepareSpellScript(spell_festergut_gastric_bloat_SpellScript) + PrepareSpellScript(spell_festergut_gastric_bloat_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -442,7 +442,7 @@ class spell_festergut_blighted_spores : public SpellScriptLoader class spell_festergut_blighted_spores_AuraScript : public AuraScript { - PrepareAuraScript(spell_festergut_blighted_spores_AuraScript) + PrepareAuraScript(spell_festergut_blighted_spores_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp index 809270bd59cee..c0c909e4878de 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp @@ -1824,7 +1824,7 @@ class spell_igb_rocket_pack : public SpellScriptLoader class spell_igb_rocket_pack_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_rocket_pack_AuraScript) + PrepareAuraScript(spell_igb_rocket_pack_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1868,7 +1868,7 @@ class spell_igb_rocket_pack_useable : public SpellScriptLoader class spell_igb_rocket_pack_useable_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_rocket_pack_useable_AuraScript) + PrepareAuraScript(spell_igb_rocket_pack_useable_AuraScript); bool Load() { @@ -1917,7 +1917,7 @@ class spell_igb_on_gunship_deck : public SpellScriptLoader class spell_igb_on_gunship_deck_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_on_gunship_deck_AuraScript) + PrepareAuraScript(spell_igb_on_gunship_deck_AuraScript); bool Load() override { @@ -1962,7 +1962,7 @@ class spell_igb_periodic_trigger_with_power_cost : public SpellScriptLoader class spell_igb_periodic_trigger_with_power_cost_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_periodic_trigger_with_power_cost_AuraScript) + PrepareAuraScript(spell_igb_periodic_trigger_with_power_cost_AuraScript); void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -1989,7 +1989,7 @@ class spell_igb_cannon_blast : public SpellScriptLoader class spell_igb_cannon_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_cannon_blast_SpellScript) + PrepareSpellScript(spell_igb_cannon_blast_SpellScript); bool Load() { @@ -2026,7 +2026,7 @@ class spell_igb_incinerating_blast : public SpellScriptLoader class spell_igb_incinerating_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_incinerating_blast_SpellScript) + PrepareSpellScript(spell_igb_incinerating_blast_SpellScript); void StoreEnergy() { @@ -2066,7 +2066,7 @@ class spell_igb_overheat : public SpellScriptLoader class spell_igb_overheat_AuraScript : public AuraScript { - PrepareAuraScript(spell_igb_overheat_AuraScript) + PrepareAuraScript(spell_igb_overheat_AuraScript); bool Load() override { @@ -2122,7 +2122,7 @@ class spell_igb_below_zero : public SpellScriptLoader class spell_igb_below_zero_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_below_zero_SpellScript) + PrepareSpellScript(spell_igb_below_zero_SpellScript); void RemovePassengers() { @@ -2148,7 +2148,7 @@ class spell_igb_teleport_to_enemy_ship : public SpellScriptLoader class spell_igb_teleport_to_enemy_ship_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_teleport_to_enemy_ship_SpellScript) + PrepareSpellScript(spell_igb_teleport_to_enemy_ship_SpellScript); void RelocateTransportOffset(SpellEffIndex /*effIndex*/) { @@ -2182,7 +2182,7 @@ class spell_igb_burning_pitch_selector : public SpellScriptLoader class spell_igb_burning_pitch_selector_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_burning_pitch_selector_SpellScript) + PrepareSpellScript(spell_igb_burning_pitch_selector_SpellScript); void FilterTargets(std::list& targets) { @@ -2231,7 +2231,7 @@ class spell_igb_burning_pitch : public SpellScriptLoader class spell_igb_burning_pitch_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_burning_pitch_SpellScript) + PrepareSpellScript(spell_igb_burning_pitch_SpellScript); void HandleDummy(SpellEffIndex effIndex) { @@ -2259,7 +2259,7 @@ class spell_igb_rocket_artillery : public SpellScriptLoader class spell_igb_rocket_artillery_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_rocket_artillery_SpellScript) + PrepareSpellScript(spell_igb_rocket_artillery_SpellScript); void SelectRandomTarget(std::list& targets) { @@ -2297,7 +2297,7 @@ class spell_igb_rocket_artillery_explosion : public SpellScriptLoader class spell_igb_rocket_artillery_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_rocket_artillery_explosion_SpellScript) + PrepareSpellScript(spell_igb_rocket_artillery_explosion_SpellScript); void DamageGunship(SpellEffIndex /*effIndex*/) { @@ -2324,7 +2324,7 @@ class spell_igb_gunship_fall_teleport : public SpellScriptLoader class spell_igb_gunship_fall_teleport_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_gunship_fall_teleport_SpellScript) + PrepareSpellScript(spell_igb_gunship_fall_teleport_SpellScript); bool Load() { @@ -2365,7 +2365,7 @@ class spell_igb_check_for_players : public SpellScriptLoader class spell_igb_check_for_players_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_check_for_players_SpellScript) + PrepareSpellScript(spell_igb_check_for_players_SpellScript); bool Load() override { @@ -2413,7 +2413,7 @@ class spell_igb_teleport_players_on_victory : public SpellScriptLoader class spell_igb_teleport_players_on_victory_SpellScript : public SpellScript { - PrepareSpellScript(spell_igb_teleport_players_on_victory_SpellScript) + PrepareSpellScript(spell_igb_teleport_players_on_victory_SpellScript); bool Load() override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp index 34b8901a30489..d59e723d070f4 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp @@ -956,7 +956,7 @@ class spell_deathwhisper_mana_barrier : public SpellScriptLoader class spell_deathwhisper_mana_barrier_AuraScript : public AuraScript { - PrepareAuraScript(spell_deathwhisper_mana_barrier_AuraScript) + PrepareAuraScript(spell_deathwhisper_mana_barrier_AuraScript); void HandlePeriodicTick(AuraEffect const* /*aurEff*/) { @@ -988,7 +988,7 @@ class spell_cultist_dark_martyrdom : public SpellScriptLoader class spell_cultist_dark_martyrdom_SpellScript : public SpellScript { - PrepareSpellScript(spell_cultist_dark_martyrdom_SpellScript) + PrepareSpellScript(spell_cultist_dark_martyrdom_SpellScript); void HandleEffect(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp index b0907fd6865dc..5022cd4f64593 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp @@ -499,7 +499,7 @@ class spell_marrowgar_coldflame : public SpellScriptLoader class spell_marrowgar_coldflame_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_coldflame_SpellScript) + PrepareSpellScript(spell_marrowgar_coldflame_SpellScript); void SelectTarget(std::list& targets) { @@ -541,7 +541,7 @@ class spell_marrowgar_coldflame_bonestorm : public SpellScriptLoader class spell_marrowgar_coldflame_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_coldflame_SpellScript) + PrepareSpellScript(spell_marrowgar_coldflame_SpellScript); void HandleScriptEffect(SpellEffIndex effIndex) { @@ -569,7 +569,7 @@ class spell_marrowgar_coldflame_damage : public SpellScriptLoader class spell_marrowgar_coldflame_damage_AuraScript : public AuraScript { - PrepareAuraScript(spell_marrowgar_coldflame_damage_AuraScript) + PrepareAuraScript(spell_marrowgar_coldflame_damage_AuraScript); bool CanBeAppliedOn(Unit* target) { @@ -605,7 +605,7 @@ class spell_marrowgar_bone_spike_graveyard : public SpellScriptLoader class spell_marrowgar_bone_spike_graveyard_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_bone_spike_graveyard_SpellScript) + PrepareSpellScript(spell_marrowgar_bone_spike_graveyard_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -670,7 +670,7 @@ class spell_marrowgar_bone_storm : public SpellScriptLoader class spell_marrowgar_bone_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_bone_storm_SpellScript) + PrepareSpellScript(spell_marrowgar_bone_storm_SpellScript); void RecalculateDamage() { @@ -696,7 +696,7 @@ class spell_marrowgar_bone_slice : public SpellScriptLoader class spell_marrowgar_bone_slice_SpellScript : public SpellScript { - PrepareSpellScript(spell_marrowgar_bone_slice_SpellScript) + PrepareSpellScript(spell_marrowgar_bone_slice_SpellScript); bool Load() override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp index dd5e55b9e262d..c408c486b30bb 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp @@ -823,7 +823,7 @@ class spell_putricide_gaseous_bloat : public SpellScriptLoader class spell_putricide_gaseous_bloat_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_gaseous_bloat_AuraScript) + PrepareAuraScript(spell_putricide_gaseous_bloat_AuraScript); void HandleExtraEffect(AuraEffect const* /*aurEff*/) { @@ -855,7 +855,7 @@ class spell_putricide_ooze_channel : public SpellScriptLoader class spell_putricide_ooze_channel_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_ooze_channel_SpellScript) + PrepareSpellScript(spell_putricide_ooze_channel_SpellScript); bool Validate(SpellInfo const* spell) override { @@ -943,7 +943,7 @@ class spell_putricide_slime_puddle : public SpellScriptLoader class spell_putricide_slime_puddle_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_slime_puddle_SpellScript) + PrepareSpellScript(spell_putricide_slime_puddle_SpellScript); void ScaleRange(std::list& targets) { @@ -971,7 +971,7 @@ class spell_putricide_slime_puddle_aura : public SpellScriptLoader class spell_putricide_slime_puddle_aura_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_slime_puddle_aura_SpellScript) + PrepareSpellScript(spell_putricide_slime_puddle_aura_SpellScript); void ReplaceAura() { @@ -998,7 +998,7 @@ class spell_putricide_unstable_experiment : public SpellScriptLoader class spell_putricide_unstable_experiment_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_unstable_experiment_SpellScript) + PrepareSpellScript(spell_putricide_unstable_experiment_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1046,7 +1046,7 @@ class spell_putricide_ooze_eruption_searcher : public SpellScriptLoader class spell_putricide_ooze_eruption_searcher_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_ooze_eruption_searcher_SpellScript) + PrepareSpellScript(spell_putricide_ooze_eruption_searcher_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1077,7 +1077,7 @@ class spell_putricide_choking_gas_bomb : public SpellScriptLoader class spell_putricide_choking_gas_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_choking_gas_bomb_SpellScript) + PrepareSpellScript(spell_putricide_choking_gas_bomb_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1111,7 +1111,7 @@ class spell_putricide_unbound_plague : public SpellScriptLoader class spell_putricide_unbound_plague_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_unbound_plague_SpellScript) + PrepareSpellScript(spell_putricide_unbound_plague_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1190,7 +1190,7 @@ class spell_putricide_eat_ooze : public SpellScriptLoader class spell_putricide_eat_ooze_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_eat_ooze_SpellScript) + PrepareSpellScript(spell_putricide_eat_ooze_SpellScript); void SelectTarget(std::list& targets) { @@ -1242,7 +1242,7 @@ class spell_putricide_mutated_plague : public SpellScriptLoader class spell_putricide_mutated_plague_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_mutated_plague_AuraScript) + PrepareAuraScript(spell_putricide_mutated_plague_AuraScript); void HandleTriggerSpell(AuraEffect const* aurEff) { @@ -1292,7 +1292,7 @@ class spell_putricide_mutation_init : public SpellScriptLoader class spell_putricide_mutation_init_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_mutation_init_SpellScript) + PrepareSpellScript(spell_putricide_mutation_init_SpellScript); SpellCastResult CheckRequirementInternal(SpellCustomErrors& extendedError) { @@ -1346,7 +1346,7 @@ class spell_putricide_mutation_init : public SpellScriptLoader class spell_putricide_mutation_init_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_mutation_init_AuraScript) + PrepareAuraScript(spell_putricide_mutation_init_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1381,7 +1381,7 @@ class spell_putricide_mutated_transformation_dismiss : public SpellScriptLoader class spell_putricide_mutated_transformation_dismiss_AuraScript : public AuraScript { - PrepareAuraScript(spell_putricide_mutated_transformation_dismiss_AuraScript) + PrepareAuraScript(spell_putricide_mutated_transformation_dismiss_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1408,7 +1408,7 @@ class spell_putricide_mutated_transformation : public SpellScriptLoader class spell_putricide_mutated_transformation_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_mutated_transformation_SpellScript) + PrepareSpellScript(spell_putricide_mutated_transformation_SpellScript); void HandleSummon(SpellEffIndex effIndex) { @@ -1469,7 +1469,7 @@ class spell_putricide_mutated_transformation_dmg : public SpellScriptLoader class spell_putricide_mutated_transformation_dmg_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_mutated_transformation_dmg_SpellScript) + PrepareSpellScript(spell_putricide_mutated_transformation_dmg_SpellScript); void FilterTargetsInitial(std::list& targets) { @@ -1496,7 +1496,7 @@ class spell_putricide_regurgitated_ooze : public SpellScriptLoader class spell_putricide_regurgitated_ooze_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_regurgitated_ooze_SpellScript) + PrepareSpellScript(spell_putricide_regurgitated_ooze_SpellScript); // the only purpose of this hook is to fail the achievement void ExtraEffect(SpellEffIndex /*effIndex*/) @@ -1525,7 +1525,7 @@ class spell_putricide_clear_aura_effect_value : public SpellScriptLoader class spell_putricide_clear_aura_effect_value_SpellScript : public SpellScript { - PrepareSpellScript(spell_putricide_clear_aura_effect_value_SpellScript) + PrepareSpellScript(spell_putricide_clear_aura_effect_value_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1554,7 +1554,7 @@ class spell_stinky_precious_decimate : public SpellScriptLoader class spell_stinky_precious_decimate_SpellScript : public SpellScript { - PrepareSpellScript(spell_stinky_precious_decimate_SpellScript) + PrepareSpellScript(spell_stinky_precious_decimate_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp index a3407a0ff1c68..8766781de7cf4 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp @@ -455,7 +455,7 @@ class spell_rotface_ooze_flood : public SpellScriptLoader class spell_rotface_ooze_flood_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_ooze_flood_SpellScript) + PrepareSpellScript(spell_rotface_ooze_flood_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -505,7 +505,7 @@ class spell_rotface_mutated_infection : public SpellScriptLoader class spell_rotface_mutated_infection_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_mutated_infection_SpellScript) + PrepareSpellScript(spell_rotface_mutated_infection_SpellScript); bool Load() override { @@ -565,7 +565,7 @@ class spell_rotface_little_ooze_combine : public SpellScriptLoader class spell_rotface_little_ooze_combine_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_little_ooze_combine_SpellScript) + PrepareSpellScript(spell_rotface_little_ooze_combine_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -597,7 +597,7 @@ class spell_rotface_large_ooze_combine : public SpellScriptLoader class spell_rotface_large_ooze_combine_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_large_ooze_combine_SpellScript) + PrepareSpellScript(spell_rotface_large_ooze_combine_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -639,7 +639,7 @@ class spell_rotface_large_ooze_buff_combine : public SpellScriptLoader class spell_rotface_large_ooze_buff_combine_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_large_ooze_buff_combine_SpellScript) + PrepareSpellScript(spell_rotface_large_ooze_buff_combine_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -694,7 +694,7 @@ class spell_rotface_unstable_ooze_explosion_init : public SpellScriptLoader class spell_rotface_unstable_ooze_explosion_init_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_unstable_ooze_explosion_init_SpellScript) + PrepareSpellScript(spell_rotface_unstable_ooze_explosion_init_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -734,7 +734,7 @@ class spell_rotface_unstable_ooze_explosion : public SpellScriptLoader class spell_rotface_unstable_ooze_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_unstable_ooze_explosion_SpellScript) + PrepareSpellScript(spell_rotface_unstable_ooze_explosion_SpellScript); void CheckTarget(SpellEffIndex effIndex) { @@ -771,7 +771,7 @@ class spell_rotface_unstable_ooze_explosion_suicide : public SpellScriptLoader class spell_rotface_unstable_ooze_explosion_suicide_AuraScript : public AuraScript { - PrepareAuraScript(spell_rotface_unstable_ooze_explosion_suicide_AuraScript) + PrepareAuraScript(spell_rotface_unstable_ooze_explosion_suicide_AuraScript); void DespawnSelf(AuraEffect const* /*aurEff*/) { @@ -804,7 +804,7 @@ class spell_rotface_vile_gas_trigger : public SpellScriptLoader class spell_rotface_vile_gas_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_rotface_vile_gas_trigger_SpellScript) + PrepareSpellScript(spell_rotface_vile_gas_trigger_SpellScript); void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp index f8c042be1eb57..76c5a93f9c56e 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp @@ -1023,7 +1023,7 @@ class spell_sindragosa_s_fury : public SpellScriptLoader class spell_sindragosa_s_fury_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_s_fury_SpellScript) + PrepareSpellScript(spell_sindragosa_s_fury_SpellScript); bool Load() override { @@ -1110,7 +1110,7 @@ class spell_sindragosa_unchained_magic : public SpellScriptLoader class spell_sindragosa_unchained_magic_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_unchained_magic_SpellScript) + PrepareSpellScript(spell_sindragosa_unchained_magic_SpellScript); void FilterTargets(std::list& unitList) { @@ -1139,7 +1139,7 @@ class spell_sindragosa_frost_breath : public SpellScriptLoader class spell_sindragosa_frost_breath_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_frost_breath_SpellScript) + PrepareSpellScript(spell_sindragosa_frost_breath_SpellScript); void HandleInfusion() { @@ -1184,7 +1184,7 @@ class spell_sindragosa_instability : public SpellScriptLoader class spell_sindragosa_instability_AuraScript : public AuraScript { - PrepareAuraScript(spell_sindragosa_instability_AuraScript) + PrepareAuraScript(spell_sindragosa_instability_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1218,7 +1218,7 @@ class spell_sindragosa_frost_beacon : public SpellScriptLoader class spell_sindragosa_frost_beacon_AuraScript : public AuraScript { - PrepareAuraScript(spell_sindragosa_frost_beacon_AuraScript) + PrepareAuraScript(spell_sindragosa_frost_beacon_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1253,7 +1253,7 @@ class spell_sindragosa_ice_tomb : public SpellScriptLoader class spell_sindragosa_ice_tomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_ice_tomb_SpellScript) + PrepareSpellScript(spell_sindragosa_ice_tomb_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1286,7 +1286,7 @@ class spell_sindragosa_ice_tomb : public SpellScriptLoader class spell_sindragosa_ice_tomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_sindragosa_ice_tomb_AuraScript) + PrepareAuraScript(spell_sindragosa_ice_tomb_AuraScript); void PeriodicTick(AuraEffect const* /*aurEff*/) { @@ -1317,7 +1317,7 @@ class spell_sindragosa_icy_grip : public SpellScriptLoader class spell_sindragosa_icy_grip_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_icy_grip_SpellScript) + PrepareSpellScript(spell_sindragosa_icy_grip_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1365,7 +1365,7 @@ class spell_sindragosa_mystic_buffet : public SpellScriptLoader class spell_sindragosa_mystic_buffet_SpellScript : public SpellScript { - PrepareSpellScript(spell_sindragosa_mystic_buffet_SpellScript) + PrepareSpellScript(spell_sindragosa_mystic_buffet_SpellScript); void FilterTargets(std::list& targets) { @@ -1391,7 +1391,7 @@ class spell_rimefang_icy_blast : public SpellScriptLoader class spell_rimefang_icy_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_rimefang_icy_blast_SpellScript) + PrepareSpellScript(spell_rimefang_icy_blast_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1443,7 +1443,7 @@ class spell_frostwarden_handler_order_whelp : public SpellScriptLoader class spell_frostwarden_handler_order_whelp_SpellScript : public SpellScript { - PrepareSpellScript(spell_frostwarden_handler_order_whelp_SpellScript) + PrepareSpellScript(spell_frostwarden_handler_order_whelp_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1498,7 +1498,7 @@ class spell_frostwarden_handler_focus_fire : public SpellScriptLoader class spell_frostwarden_handler_focus_fire_SpellScript : public SpellScript { - PrepareSpellScript(spell_frostwarden_handler_focus_fire_SpellScript) + PrepareSpellScript(spell_frostwarden_handler_focus_fire_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1515,7 +1515,7 @@ class spell_frostwarden_handler_focus_fire : public SpellScriptLoader class spell_frostwarden_handler_focus_fire_AuraScript : public AuraScript { - PrepareAuraScript(spell_frostwarden_handler_focus_fire_AuraScript) + PrepareAuraScript(spell_frostwarden_handler_focus_fire_AuraScript); void PeriodicTick(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp index 6a32517d93bed..223f373103276 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp @@ -2005,7 +2005,7 @@ class spell_the_lich_king_infest : public SpellScriptLoader class spell_the_lich_king_infest_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_infest_AuraScript) + PrepareAuraScript(spell_the_lich_king_infest_AuraScript); void OnPeriodic(AuraEffect const* /*aurEff*/) { @@ -2045,7 +2045,7 @@ class spell_the_lich_king_necrotic_plague : public SpellScriptLoader class spell_the_lich_king_necrotic_plague_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript) + PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2093,7 +2093,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader class spell_the_lich_king_necrotic_plague_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_necrotic_plague_SpellScript) + PrepareSpellScript(spell_the_lich_king_necrotic_plague_SpellScript); bool Load() override { @@ -2133,7 +2133,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader class spell_the_lich_king_necrotic_plague_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript) + PrepareAuraScript(spell_the_lich_king_necrotic_plague_AuraScript); bool Load() override { @@ -2217,7 +2217,7 @@ class spell_the_lich_king_shadow_trap_visual : public SpellScriptLoader class spell_the_lich_king_shadow_trap_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_shadow_trap_visual_AuraScript) + PrepareAuraScript(spell_the_lich_king_shadow_trap_visual_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -2244,7 +2244,7 @@ class spell_the_lich_king_shadow_trap_periodic : public SpellScriptLoader class spell_the_lich_king_shadow_trap_periodic_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_shadow_trap_periodic_SpellScript) + PrepareSpellScript(spell_the_lich_king_shadow_trap_periodic_SpellScript); void CheckTargetCount(std::list& targets) { @@ -2273,7 +2273,7 @@ class spell_the_lich_king_quake : public SpellScriptLoader class spell_the_lich_king_quake_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_quake_SpellScript) + PrepareSpellScript(spell_the_lich_king_quake_SpellScript); bool Load() override { @@ -2312,7 +2312,7 @@ class spell_the_lich_king_ice_burst_target_search : public SpellScriptLoader class spell_the_lich_king_ice_burst_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_ice_burst_target_search_SpellScript) + PrepareSpellScript(spell_the_lich_king_ice_burst_target_search_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2355,7 +2355,7 @@ class spell_the_lich_king_raging_spirit : public SpellScriptLoader class spell_the_lich_king_raging_spirit_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_raging_spirit_SpellScript) + PrepareSpellScript(spell_the_lich_king_raging_spirit_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2404,7 +2404,7 @@ class spell_the_lich_king_defile : public SpellScriptLoader class spell_the_lich_king_defile_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_defile_SpellScript) + PrepareSpellScript(spell_the_lich_king_defile_SpellScript); void CorrectRange(std::list& targets) { @@ -2441,7 +2441,7 @@ class spell_the_lich_king_summon_into_air : public SpellScriptLoader class spell_the_lich_king_summon_into_air_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_summon_into_air_SpellScript) + PrepareSpellScript(spell_the_lich_king_summon_into_air_SpellScript); void ModDestHeight(SpellEffIndex effIndex) { @@ -2476,7 +2476,7 @@ class spell_the_lich_king_soul_reaper : public SpellScriptLoader class spell_the_lich_king_soul_reaper_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_soul_reaper_AuraScript) + PrepareAuraScript(spell_the_lich_king_soul_reaper_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2510,7 +2510,7 @@ class spell_the_lich_king_valkyr_target_search : public SpellScriptLoader class spell_the_lich_king_valkyr_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_valkyr_target_search_SpellScript) + PrepareSpellScript(spell_the_lich_king_valkyr_target_search_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2576,7 +2576,7 @@ class spell_the_lich_king_cast_back_to_caster : public SpellScriptLoader class spell_the_lich_king_cast_back_to_caster_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_cast_back_to_caster_SpellScript) + PrepareSpellScript(spell_the_lich_king_cast_back_to_caster_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2602,7 +2602,7 @@ class spell_the_lich_king_life_siphon : public SpellScriptLoader class spell_the_lich_king_life_siphon_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_life_siphon_SpellScript) + PrepareSpellScript(spell_the_lich_king_life_siphon_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2635,7 +2635,7 @@ class spell_the_lich_king_vile_spirits : public SpellScriptLoader class spell_the_lich_king_vile_spirits_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_vile_spirits_AuraScript) + PrepareAuraScript(spell_the_lich_king_vile_spirits_AuraScript); bool Load() override { @@ -2670,7 +2670,7 @@ class spell_the_lich_king_vile_spirits_visual : public SpellScriptLoader class spell_the_lich_king_vile_spirits_visual_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_vile_spirits_visual_SpellScript) + PrepareSpellScript(spell_the_lich_king_vile_spirits_visual_SpellScript); void ModDestHeight(SpellEffIndex /*effIndex*/) { @@ -2697,7 +2697,7 @@ class spell_the_lich_king_vile_spirit_move_target_search : public SpellScriptLoa class spell_the_lich_king_vile_spirit_move_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_vile_spirit_move_target_search_SpellScript) + PrepareSpellScript(spell_the_lich_king_vile_spirit_move_target_search_SpellScript); bool Load() override { @@ -2746,7 +2746,7 @@ class spell_the_lich_king_vile_spirit_damage_target_search : public SpellScriptL class spell_the_lich_king_vile_spirit_damage_target_search_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_vile_spirit_damage_target_search_SpellScript) + PrepareSpellScript(spell_the_lich_king_vile_spirit_damage_target_search_SpellScript); bool Load() override { @@ -2787,7 +2787,7 @@ class spell_the_lich_king_harvest_soul : public SpellScriptLoader class spell_the_lich_king_harvest_soul_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_harvest_soul_AuraScript) + PrepareAuraScript(spell_the_lich_king_harvest_soul_AuraScript); bool Load() override { @@ -2820,7 +2820,7 @@ class spell_the_lich_king_lights_favor : public SpellScriptLoader class spell_the_lich_king_lights_favor_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_lights_favor_AuraScript) + PrepareAuraScript(spell_the_lich_king_lights_favor_AuraScript); void OnPeriodic(AuraEffect const* /*aurEff*/) { @@ -2857,7 +2857,7 @@ class spell_the_lich_king_soul_rip : public SpellScriptLoader class spell_the_lich_king_soul_rip_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_soul_rip_AuraScript) + PrepareAuraScript(spell_the_lich_king_soul_rip_AuraScript); void OnPeriodic(AuraEffect const* aurEff) { @@ -2886,7 +2886,7 @@ class spell_the_lich_king_restore_soul : public SpellScriptLoader class spell_the_lich_king_restore_soul_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_restore_soul_SpellScript) + PrepareSpellScript(spell_the_lich_king_restore_soul_SpellScript); bool Load() override { @@ -2939,7 +2939,7 @@ class spell_the_lich_king_dark_hunger : public SpellScriptLoader class spell_the_lich_king_dark_hunger_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_dark_hunger_AuraScript) + PrepareAuraScript(spell_the_lich_king_dark_hunger_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2974,7 +2974,7 @@ class spell_the_lich_king_in_frostmourne_room : public SpellScriptLoader class spell_the_lich_king_in_frostmourne_room_AuraScript : public AuraScript { - PrepareAuraScript(spell_the_lich_king_in_frostmourne_room_AuraScript) + PrepareAuraScript(spell_the_lich_king_in_frostmourne_room_AuraScript); bool Load() override { @@ -3007,7 +3007,7 @@ class spell_the_lich_king_summon_spirit_bomb : public SpellScriptLoader class spell_the_lich_king_summon_spirit_bomb_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_summon_spirit_bomb_SpellScript) + PrepareSpellScript(spell_the_lich_king_summon_spirit_bomb_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -3034,7 +3034,7 @@ class spell_the_lich_king_trigger_vile_spirit : public SpellScriptLoader class spell_the_lich_king_trigger_vile_spirit_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_trigger_vile_spirit_SpellScript) + PrepareSpellScript(spell_the_lich_king_trigger_vile_spirit_SpellScript); void ActivateSpirit() { @@ -3064,7 +3064,7 @@ class spell_the_lich_king_jump : public SpellScriptLoader class spell_the_lich_king_jump_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_jump_SpellScript) + PrepareSpellScript(spell_the_lich_king_jump_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -3094,7 +3094,7 @@ class spell_the_lich_king_jump_remove_aura : public SpellScriptLoader class spell_the_lich_king_jump_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_jump_SpellScript) + PrepareSpellScript(spell_the_lich_king_jump_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -3121,7 +3121,7 @@ class spell_the_lich_king_play_movie : public SpellScriptLoader class spell_the_lich_king_play_movie_SpellScript : public SpellScript { - PrepareSpellScript(spell_the_lich_king_play_movie_SpellScript) + PrepareSpellScript(spell_the_lich_king_play_movie_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp index 31542a9122a0c..0c504842c0800 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp @@ -1113,7 +1113,7 @@ class spell_dreamwalker_mana_void : public SpellScriptLoader class spell_dreamwalker_mana_void_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_mana_void_AuraScript) + PrepareAuraScript(spell_dreamwalker_mana_void_AuraScript); void PeriodicTick(AuraEffect const* aurEff) { @@ -1143,7 +1143,7 @@ class spell_dreamwalker_decay_periodic_timer : public SpellScriptLoader class spell_dreamwalker_decay_periodic_timer_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_decay_periodic_timer_AuraScript) + PrepareAuraScript(spell_dreamwalker_decay_periodic_timer_AuraScript); bool Load() override { @@ -1181,7 +1181,7 @@ class spell_dreamwalker_summoner : public SpellScriptLoader class spell_dreamwalker_summoner_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summoner_SpellScript) + PrepareSpellScript(spell_dreamwalker_summoner_SpellScript); bool Load() override { @@ -1230,7 +1230,7 @@ class spell_dreamwalker_summon_suppresser : public SpellScriptLoader class spell_dreamwalker_summon_suppresser_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_summon_suppresser_AuraScript) + PrepareAuraScript(spell_dreamwalker_summon_suppresser_AuraScript); void PeriodicTick(AuraEffect const* /*aurEff*/) { @@ -1271,7 +1271,7 @@ class spell_dreamwalker_summon_suppresser_effect : public SpellScriptLoader class spell_dreamwalker_summon_suppresser_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summon_suppresser_effect_SpellScript) + PrepareSpellScript(spell_dreamwalker_summon_suppresser_effect_SpellScript); bool Load() override { @@ -1308,7 +1308,7 @@ class spell_dreamwalker_summon_dream_portal : public SpellScriptLoader class spell_dreamwalker_summon_dream_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summon_dream_portal_SpellScript) + PrepareSpellScript(spell_dreamwalker_summon_dream_portal_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1339,7 +1339,7 @@ class spell_dreamwalker_summon_nightmare_portal : public SpellScriptLoader class spell_dreamwalker_summon_nightmare_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_summon_nightmare_portal_SpellScript) + PrepareSpellScript(spell_dreamwalker_summon_nightmare_portal_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1370,7 +1370,7 @@ class spell_dreamwalker_nightmare_cloud : public SpellScriptLoader class spell_dreamwalker_nightmare_cloud_AuraScript : public AuraScript { - PrepareAuraScript(spell_dreamwalker_nightmare_cloud_AuraScript) + PrepareAuraScript(spell_dreamwalker_nightmare_cloud_AuraScript); bool Load() override { @@ -1405,7 +1405,7 @@ class spell_dreamwalker_twisted_nightmares : public SpellScriptLoader class spell_dreamwalker_twisted_nightmares_SpellScript : public SpellScript { - PrepareSpellScript(spell_dreamwalker_twisted_nightmares_SpellScript) + PrepareSpellScript(spell_dreamwalker_twisted_nightmares_SpellScript); void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp index 96271872f87a7..592c44940a431 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp @@ -1733,7 +1733,7 @@ class spell_icc_stoneform : public SpellScriptLoader class spell_icc_stoneform_AuraScript : public AuraScript { - PrepareAuraScript(spell_icc_stoneform_AuraScript) + PrepareAuraScript(spell_icc_stoneform_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1775,7 +1775,7 @@ class spell_icc_sprit_alarm : public SpellScriptLoader class spell_icc_sprit_alarm_SpellScript : public SpellScript { - PrepareSpellScript(spell_icc_sprit_alarm_SpellScript) + PrepareSpellScript(spell_icc_sprit_alarm_SpellScript); void HandleEvent(SpellEffIndex effIndex) { @@ -1860,7 +1860,7 @@ class spell_frost_giant_death_plague : public SpellScriptLoader class spell_frost_giant_death_plague_SpellScript : public SpellScript { - PrepareSpellScript(spell_frost_giant_death_plague_SpellScript) + PrepareSpellScript(spell_frost_giant_death_plague_SpellScript); bool Load() override { @@ -1922,7 +1922,7 @@ class spell_icc_harvest_blight_specimen : public SpellScriptLoader class spell_icc_harvest_blight_specimen_SpellScript : public SpellScript { - PrepareSpellScript(spell_icc_harvest_blight_specimen_SpellScript) + PrepareSpellScript(spell_icc_harvest_blight_specimen_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1966,7 +1966,7 @@ class spell_svalna_revive_champion : public SpellScriptLoader class spell_svalna_revive_champion_SpellScript : public SpellScript { - PrepareSpellScript(spell_svalna_revive_champion_SpellScript) + PrepareSpellScript(spell_svalna_revive_champion_SpellScript); void RemoveAliveTarget(std::list& targets) { @@ -2007,7 +2007,7 @@ class spell_svalna_remove_spear : public SpellScriptLoader class spell_svalna_remove_spear_SpellScript : public SpellScript { - PrepareSpellScript(spell_svalna_remove_spear_SpellScript) + PrepareSpellScript(spell_svalna_remove_spear_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -2040,7 +2040,7 @@ class spell_icc_soul_missile : public SpellScriptLoader class spell_icc_soul_missile_SpellScript : public SpellScript { - PrepareSpellScript(spell_icc_soul_missile_SpellScript) + PrepareSpellScript(spell_icc_soul_missile_SpellScript); void RelocateDest(SpellDestination& dest) { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h index fa535619e4105..7b00f2f19d77a 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h +++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h @@ -518,7 +518,7 @@ class spell_trigger_spell_from_caster : public SpellScriptLoader class spell_trigger_spell_from_caster_SpellScript : public SpellScript { - PrepareSpellScript(spell_trigger_spell_from_caster_SpellScript) + PrepareSpellScript(spell_trigger_spell_from_caster_SpellScript); public: spell_trigger_spell_from_caster_SpellScript(uint32 triggerId) : SpellScript(), _triggerId(triggerId) { } diff --git a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp index 4f66cad51a5ef..0543b0274b5d8 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp @@ -395,7 +395,7 @@ class spell_four_horsemen_mark : public SpellScriptLoader class spell_four_horsemen_mark_AuraScript : public AuraScript { - PrepareAuraScript(spell_four_horsemen_mark_AuraScript) + PrepareAuraScript(spell_four_horsemen_mark_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp index 67eb2284cfcbe..29e435e212745 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp @@ -595,7 +595,7 @@ class spell_gothik_shadow_bolt_volley : public SpellScriptLoader class spell_gothik_shadow_bolt_volley_SpellScript : public SpellScript { - PrepareSpellScript(spell_gothik_shadow_bolt_volley_SpellScript) + PrepareSpellScript(spell_gothik_shadow_bolt_volley_SpellScript); void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp index 03c09c8d02b81..929c52a986ca8 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp @@ -147,7 +147,7 @@ class spell_grobbulus_mutating_injection : public SpellScriptLoader class spell_grobbulus_mutating_injection_AuraScript : public AuraScript { - PrepareAuraScript(spell_grobbulus_mutating_injection_AuraScript) + PrepareAuraScript(spell_grobbulus_mutating_injection_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -190,7 +190,7 @@ class spell_grobbulus_poison_cloud : public SpellScriptLoader class spell_grobbulus_poison_cloud_AuraScript : public AuraScript { - PrepareAuraScript(spell_grobbulus_poison_cloud_AuraScript) + PrepareAuraScript(spell_grobbulus_poison_cloud_AuraScript); bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp index f2d702a762ffc..48dc889ef2b87 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp @@ -188,7 +188,7 @@ class spell_heigan_eruption : public SpellScriptLoader class spell_heigan_eruption_SpellScript : public SpellScript { - PrepareSpellScript(spell_heigan_eruption_SpellScript) + PrepareSpellScript(spell_heigan_eruption_SpellScript); void HandleScript(SpellEffIndex /*eff*/) { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp b/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp index 671cefdca0e1a..8b3ac64fb8953 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp @@ -754,7 +754,7 @@ class spell_kelthuzad_detonate_mana : public SpellScriptLoader class spell_kelthuzad_detonate_mana_AuraScript : public AuraScript { - PrepareAuraScript(spell_kelthuzad_detonate_mana_AuraScript) + PrepareAuraScript(spell_kelthuzad_detonate_mana_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp index bcd50390ff20a..946b60d4e27aa 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp @@ -165,7 +165,7 @@ class spell_loatheb_necrotic_aura_warning : public SpellScriptLoader class spell_loatheb_necrotic_aura_warning_AuraScript : public AuraScript { - PrepareAuraScript(spell_loatheb_necrotic_aura_warning_AuraScript) + PrepareAuraScript(spell_loatheb_necrotic_aura_warning_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp index b46d558021f6e..528b2fec34888 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp @@ -441,7 +441,7 @@ class spell_thaddius_pos_neg_charge : public SpellScriptLoader class spell_thaddius_pos_neg_charge_SpellScript : public SpellScript { - PrepareSpellScript(spell_thaddius_pos_neg_charge_SpellScript) + PrepareSpellScript(spell_thaddius_pos_neg_charge_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -520,7 +520,7 @@ class spell_thaddius_polarity_shift : public SpellScriptLoader class spell_thaddius_polarity_shift_SpellScript : public SpellScript { - PrepareSpellScript(spell_thaddius_polarity_shift_SpellScript) + PrepareSpellScript(spell_thaddius_polarity_shift_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp index f68fac638fa6b..192249955cfc2 100644 --- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp +++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp @@ -1647,7 +1647,7 @@ class spell_malygos_portal_beam : public SpellScriptLoader class spell_malygos_portal_beam_AuraScript : public AuraScript { - PrepareAuraScript(spell_malygos_portal_beam_AuraScript) + PrepareAuraScript(spell_malygos_portal_beam_AuraScript); bool Load() override { @@ -1694,7 +1694,7 @@ class spell_malygos_random_portal : public SpellScriptLoader class spell_malygos_random_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_malygos_random_portal_SpellScript) + PrepareSpellScript(spell_malygos_random_portal_SpellScript); bool Load() override { @@ -1750,7 +1750,7 @@ class spell_malygos_arcane_storm : public SpellScriptLoader class spell_malygos_arcane_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_malygos_arcane_storm_SpellScript) + PrepareSpellScript(spell_malygos_arcane_storm_SpellScript); bool Load() override { @@ -1810,7 +1810,7 @@ class spell_malygos_vortex_dummy : public SpellScriptLoader class spell_malygos_vortex_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_malygos_vortex_dummy_SpellScript) + PrepareSpellScript(spell_malygos_vortex_dummy_SpellScript); bool Load() override { @@ -1847,7 +1847,7 @@ class spell_malygos_vortex_visual : public SpellScriptLoader class spell_malygos_vortex_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_malygos_vortex_visual_AuraScript) + PrepareAuraScript(spell_malygos_vortex_visual_AuraScript); bool Load() override { @@ -1926,7 +1926,7 @@ class spell_arcane_overload : public SpellScriptLoader class spell_arcane_overload_SpellScript : public SpellScript { - PrepareSpellScript(spell_arcane_overload_SpellScript) + PrepareSpellScript(spell_arcane_overload_SpellScript); bool Load() override { @@ -1959,7 +1959,7 @@ class spell_nexus_lord_align_disk_aggro : public SpellScriptLoader class spell_nexus_lord_align_disk_aggro_SpellScript : public SpellScript { - PrepareSpellScript(spell_nexus_lord_align_disk_aggro_SpellScript) + PrepareSpellScript(spell_nexus_lord_align_disk_aggro_SpellScript); bool Load() override { @@ -2010,7 +2010,7 @@ class spell_scion_of_eternity_arcane_barrage : public SpellScriptLoader class spell_scion_of_eternity_arcane_barrage_SpellScript : public SpellScript { - PrepareSpellScript(spell_scion_of_eternity_arcane_barrage_SpellScript) + PrepareSpellScript(spell_scion_of_eternity_arcane_barrage_SpellScript); bool Load() override { @@ -2094,7 +2094,7 @@ class spell_malygos_destroy_platform_channel : public SpellScriptLoader class spell_malygos_destroy_platform_channel_AuraScript : public AuraScript { - PrepareAuraScript(spell_malygos_destroy_platform_channel_AuraScript) + PrepareAuraScript(spell_malygos_destroy_platform_channel_AuraScript); bool Load() override { @@ -2136,7 +2136,7 @@ class spell_alexstrasza_bunny_destroy_platform_boom_visual : public SpellScriptL class spell_alexstrasza_bunny_destroy_platform_boom_visual_SpellScript : public SpellScript { - PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_boom_visual_SpellScript) + PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_boom_visual_SpellScript); bool Load() override { @@ -2176,7 +2176,7 @@ class spell_alexstrasza_bunny_destroy_platform_event : public SpellScriptLoader class spell_alexstrasza_bunny_destroy_platform_event_SpellScript : public SpellScript { - PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_event_SpellScript) + PrepareSpellScript(spell_alexstrasza_bunny_destroy_platform_event_SpellScript); bool Load() override { @@ -2217,7 +2217,7 @@ class spell_wyrmrest_skytalon_summon_red_dragon_buddy : public SpellScriptLoader class spell_wyrmrest_skytalon_summon_red_dragon_buddy_SpellScript : public SpellScript { - PrepareSpellScript(spell_wyrmrest_skytalon_summon_red_dragon_buddy_SpellScript) + PrepareSpellScript(spell_wyrmrest_skytalon_summon_red_dragon_buddy_SpellScript); bool Load() override { @@ -2250,7 +2250,7 @@ class spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger : public SpellScript class spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger_SpellScript) + PrepareSpellScript(spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger_SpellScript); bool Load() override { @@ -2282,7 +2282,7 @@ class spell_malygos_surge_of_power_warning_selector_25 : public SpellScriptLoade class spell_malygos_surge_of_power_warning_selector_25_SpellScript : public SpellScript { - PrepareSpellScript(spell_malygos_surge_of_power_warning_selector_25_SpellScript) + PrepareSpellScript(spell_malygos_surge_of_power_warning_selector_25_SpellScript); bool Load() override { @@ -2348,7 +2348,7 @@ class spell_malygos_surge_of_power_25 : public SpellScriptLoader class spell_malygos_surge_of_power_25_SpellScript : public SpellScript { - PrepareSpellScript(spell_malygos_surge_of_power_25_SpellScript) + PrepareSpellScript(spell_malygos_surge_of_power_25_SpellScript); bool Load() override { @@ -2399,7 +2399,7 @@ class spell_alexstrasza_gift_beam : public SpellScriptLoader class spell_alexstrasza_gift_beam_AuraScript : public AuraScript { - PrepareAuraScript(spell_alexstrasza_gift_beam_AuraScript) + PrepareAuraScript(spell_alexstrasza_gift_beam_AuraScript); bool Load() override { @@ -2446,7 +2446,7 @@ class spell_alexstrasza_gift_beam_visual : public SpellScriptLoader class spell_alexstrasza_gift_beam_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_alexstrasza_gift_beam_visual_AuraScript) + PrepareAuraScript(spell_alexstrasza_gift_beam_visual_AuraScript); bool Load() override { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp index 6e36f95e03be7..38e6a3fc8160e 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp @@ -234,7 +234,7 @@ class spell_intense_cold : public SpellScriptLoader class spell_intense_cold_AuraScript : public AuraScript { - PrepareAuraScript(spell_intense_cold_AuraScript) + PrepareAuraScript(spell_intense_cold_AuraScript); void HandlePeriodicTick(AuraEffect const* aurEff) { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp index 55f3b7b7315bc..222f0474c01ad 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp @@ -263,7 +263,7 @@ class spell_crystal_spike : public SpellScriptLoader class spell_crystal_spike_AuraScript : public AuraScript { - PrepareAuraScript(spell_crystal_spike_AuraScript) + PrepareAuraScript(spell_crystal_spike_AuraScript); void HandlePeriodic(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp index 0c18984d970ac..3ae61bdd116b0 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp @@ -258,7 +258,7 @@ class spell_eregos_planar_shift : public SpellScriptLoader class spell_eregos_planar_shift_AuraScript : public AuraScript { - PrepareAuraScript(spell_eregos_planar_shift_AuraScript) + PrepareAuraScript(spell_eregos_planar_shift_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp index 22e266a4cd191..585da8e28d39a 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp @@ -249,7 +249,7 @@ class spell_varos_centrifuge_shield : public SpellScriptLoader class spell_varos_centrifuge_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_varos_centrifuge_shield_AuraScript) + PrepareAuraScript(spell_varos_centrifuge_shield_AuraScript); bool Load() override { @@ -299,7 +299,7 @@ class spell_varos_energize_core_area_enemy : public SpellScriptLoader class spell_varos_energize_core_area_enemySpellScript : public SpellScript { - PrepareSpellScript(spell_varos_energize_core_area_enemySpellScript) + PrepareSpellScript(spell_varos_energize_core_area_enemySpellScript); void FilterTargets(std::list& targets) { @@ -343,7 +343,7 @@ class spell_varos_energize_core_area_entry : public SpellScriptLoader class spell_varos_energize_core_area_entrySpellScript : public SpellScript { - PrepareSpellScript(spell_varos_energize_core_area_entrySpellScript) + PrepareSpellScript(spell_varos_energize_core_area_entrySpellScript); void FilterTargets(std::list& targets) { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp index 875bd4e39cbce..259d7faa6fe3e 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp @@ -371,7 +371,7 @@ class spell_oculus_call_ruby_emerald_amber_drake : public SpellScriptLoader class spell_oculus_call_ruby_emerald_amber_drake_SpellScript : public SpellScript { - PrepareSpellScript(spell_oculus_call_ruby_emerald_amber_drake_SpellScript) + PrepareSpellScript(spell_oculus_call_ruby_emerald_amber_drake_SpellScript); void SetDest(SpellDestination& dest) { @@ -402,7 +402,7 @@ class spell_oculus_ride_ruby_emerald_amber_drake_que : public SpellScriptLoader class spell_oculus_ride_ruby_emerald_amber_drake_que_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_ride_ruby_emerald_amber_drake_que_AuraScript) + PrepareAuraScript(spell_oculus_ride_ruby_emerald_amber_drake_que_AuraScript); void HandlePeriodic(AuraEffect const* aurEff) { @@ -432,7 +432,7 @@ class spell_oculus_evasive_maneuvers : public SpellScriptLoader class spell_oculus_evasive_maneuvers_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_evasive_maneuvers_AuraScript) + PrepareAuraScript(spell_oculus_evasive_maneuvers_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -469,7 +469,7 @@ class spell_oculus_shock_lance : public SpellScriptLoader class spell_oculus_shock_lance_SpellScript : public SpellScript { - PrepareSpellScript(spell_oculus_shock_lance_SpellScript) + PrepareSpellScript(spell_oculus_shock_lance_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -511,7 +511,7 @@ class spell_oculus_stop_time : public SpellScriptLoader class spell_oculus_stop_time_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_stop_time_AuraScript) + PrepareAuraScript(spell_oculus_stop_time_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -551,7 +551,7 @@ class spell_oculus_temporal_rift : public SpellScriptLoader class spell_oculus_temporal_rift_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_temporal_rift_AuraScript) + PrepareAuraScript(spell_oculus_temporal_rift_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -595,7 +595,7 @@ class spell_oculus_touch_the_nightmare : public SpellScriptLoader class spell_oculus_touch_the_nightmare_SpellScript : public SpellScript { - PrepareSpellScript(spell_oculus_touch_the_nightmare_SpellScript) + PrepareSpellScript(spell_oculus_touch_the_nightmare_SpellScript); void HandleDamageCalc(SpellEffIndex /*effIndex*/) { @@ -622,7 +622,7 @@ class spell_oculus_dream_funnel : public SpellScriptLoader class spell_oculus_dream_funnel_AuraScript : public AuraScript { - PrepareAuraScript(spell_oculus_dream_funnel_AuraScript) + PrepareAuraScript(spell_oculus_dream_funnel_AuraScript); void HandleEffectCalcAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated) { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp index 867944ca42387..576fc4492f167 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp @@ -190,7 +190,7 @@ class spell_loken_pulsing_shockwave : public SpellScriptLoader class spell_loken_pulsing_shockwave_SpellScript : public SpellScript { - PrepareSpellScript(spell_loken_pulsing_shockwave_SpellScript) + PrepareSpellScript(spell_loken_pulsing_shockwave_SpellScript); void CalculateDamage(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp index 459f68d67ee78..c81cd0b0b80aa 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp @@ -187,7 +187,7 @@ class spell_krystallus_shatter : public SpellScriptLoader class spell_krystallus_shatter_SpellScript : public SpellScript { - PrepareSpellScript(spell_krystallus_shatter_SpellScript) + PrepareSpellScript(spell_krystallus_shatter_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -217,7 +217,7 @@ class spell_krystallus_shatter_effect : public SpellScriptLoader class spell_krystallus_shatter_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_krystallus_shatter_effect_SpellScript) + PrepareSpellScript(spell_krystallus_shatter_effect_SpellScript); void CalculateDamage() { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp index f7af92172c1ff..6750038275891 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp @@ -1039,7 +1039,7 @@ class spell_algalon_phase_punch : public SpellScriptLoader class spell_algalon_phase_punch_AuraScript : public AuraScript { - PrepareAuraScript(spell_algalon_phase_punch_AuraScript) + PrepareAuraScript(spell_algalon_phase_punch_AuraScript); void HandlePeriodic(AuraEffect const* /*aurEff*/) { @@ -1093,7 +1093,7 @@ class spell_algalon_arcane_barrage : public SpellScriptLoader class spell_algalon_arcane_barrage_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_arcane_barrage_SpellScript) + PrepareSpellScript(spell_algalon_arcane_barrage_SpellScript); void SelectTarget(std::list& targets) { @@ -1128,7 +1128,7 @@ class spell_algalon_trigger_3_adds : public SpellScriptLoader class spell_algalon_trigger_3_adds_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_trigger_3_adds_SpellScript) + PrepareSpellScript(spell_algalon_trigger_3_adds_SpellScript); void SelectTarget(std::list& targets) { @@ -1164,7 +1164,7 @@ class spell_algalon_collapse : public SpellScriptLoader class spell_algalon_collapse_AuraScript : public AuraScript { - PrepareAuraScript(spell_algalon_collapse_AuraScript) + PrepareAuraScript(spell_algalon_collapse_AuraScript); void HandlePeriodic(AuraEffect const* /*aurEff*/) { @@ -1191,7 +1191,7 @@ class spell_algalon_big_bang : public SpellScriptLoader class spell_algalon_big_bang_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_big_bang_SpellScript) + PrepareSpellScript(spell_algalon_big_bang_SpellScript); bool Load() override { @@ -1232,7 +1232,7 @@ class spell_algalon_remove_phase : public SpellScriptLoader class spell_algalon_remove_phase_AuraScript : public AuraScript { - PrepareAuraScript(spell_algalon_remove_phase_AuraScript) + PrepareAuraScript(spell_algalon_remove_phase_AuraScript); void HandlePeriodic(AuraEffect const* /*aurEff*/) { @@ -1260,7 +1260,7 @@ class spell_algalon_cosmic_smash : public SpellScriptLoader class spell_algalon_cosmic_smash_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_cosmic_smash_SpellScript) + PrepareSpellScript(spell_algalon_cosmic_smash_SpellScript); void ModDestHeight(SpellDestination& dest) { @@ -1287,7 +1287,7 @@ class spell_algalon_cosmic_smash_damage : public SpellScriptLoader class spell_algalon_cosmic_smash_damage_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_cosmic_smash_damage_SpellScript) + PrepareSpellScript(spell_algalon_cosmic_smash_damage_SpellScript); void RecalculateDamage() { @@ -1318,7 +1318,7 @@ class spell_algalon_supermassive_fail : public SpellScriptLoader class spell_algalon_supermassive_fail_SpellScript : public SpellScript { - PrepareSpellScript(spell_algalon_supermassive_fail_SpellScript) + PrepareSpellScript(spell_algalon_supermassive_fail_SpellScript); void RecalculateDamage() { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp index 98e9b52524b15..9a08f01c2792d 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp @@ -633,7 +633,7 @@ class spell_shield_of_runes : public SpellScriptLoader class spell_shield_of_runes_AuraScript : public AuraScript { - PrepareAuraScript(spell_shield_of_runes_AuraScript) + PrepareAuraScript(spell_shield_of_runes_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -661,7 +661,7 @@ class spell_assembly_meltdown : public SpellScriptLoader class spell_assembly_meltdown_SpellScript : public SpellScript { - PrepareSpellScript(spell_assembly_meltdown_SpellScript) + PrepareSpellScript(spell_assembly_meltdown_SpellScript); void HandleInstaKill(SpellEffIndex /*effIndex*/) { @@ -689,7 +689,7 @@ class spell_assembly_rune_of_summoning : public SpellScriptLoader class spell_assembly_rune_of_summoning_AuraScript : public AuraScript { - PrepareAuraScript(spell_assembly_rune_of_summoning_AuraScript) + PrepareAuraScript(spell_assembly_rune_of_summoning_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp index 9a792e118eafe..f0b8e123c633d 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp @@ -489,7 +489,7 @@ class spell_auriaya_strenght_of_the_pack : public SpellScriptLoader class spell_auriaya_strenght_of_the_pack_SpellScript : public SpellScript { - PrepareSpellScript(spell_auriaya_strenght_of_the_pack_SpellScript) + PrepareSpellScript(spell_auriaya_strenght_of_the_pack_SpellScript); void FilterTargets(std::list& unitList) { @@ -515,7 +515,7 @@ class spell_auriaya_sentinel_blast : public SpellScriptLoader class spell_auriaya_sentinel_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_auriaya_sentinel_blast_SpellScript) + PrepareSpellScript(spell_auriaya_sentinel_blast_SpellScript); void FilterTargets(std::list& unitList) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp index 6312523bb258a..52cda5148cf35 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp @@ -1458,7 +1458,7 @@ class spell_load_into_catapult : public SpellScriptLoader class spell_load_into_catapult_AuraScript : public AuraScript { - PrepareAuraScript(spell_load_into_catapult_AuraScript) + PrepareAuraScript(spell_load_into_catapult_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1503,7 +1503,7 @@ class spell_auto_repair : public SpellScriptLoader class spell_auto_repair_SpellScript : public SpellScript { - PrepareSpellScript(spell_auto_repair_SpellScript) + PrepareSpellScript(spell_auto_repair_SpellScript); void CheckCooldownForTarget() { @@ -1564,7 +1564,7 @@ class spell_systems_shutdown : public SpellScriptLoader class spell_systems_shutdown_AuraScript : public AuraScript { - PrepareAuraScript(spell_systems_shutdown_AuraScript) + PrepareAuraScript(spell_systems_shutdown_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1650,7 +1650,7 @@ class spell_pursue : public SpellScriptLoader class spell_pursue_SpellScript : public SpellScript { - PrepareSpellScript(spell_pursue_SpellScript) + PrepareSpellScript(spell_pursue_SpellScript); bool Load() override { @@ -1722,7 +1722,7 @@ class spell_vehicle_throw_passenger : public SpellScriptLoader class spell_vehicle_throw_passenger_SpellScript : public SpellScript { - PrepareSpellScript(spell_vehicle_throw_passenger_SpellScript) + PrepareSpellScript(spell_vehicle_throw_passenger_SpellScript); void HandleScript(SpellEffIndex effIndex) { Spell* baseSpell = GetSpell(); diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp index 8b81e8ef8f527..57df8c76a5678 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp @@ -1533,7 +1533,7 @@ class spell_freya_attuned_to_nature_dose_reduction : public SpellScriptLoader class spell_freya_attuned_to_nature_dose_reduction_SpellScript : public SpellScript { - PrepareSpellScript(spell_freya_attuned_to_nature_dose_reduction_SpellScript) + PrepareSpellScript(spell_freya_attuned_to_nature_dose_reduction_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1580,7 +1580,7 @@ class spell_freya_iron_roots : public SpellScriptLoader class spell_freya_iron_roots_SpellScript : public SpellScript { - PrepareSpellScript(spell_freya_iron_roots_SpellScript) + PrepareSpellScript(spell_freya_iron_roots_SpellScript); void HandleSummon(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp index fbfcf442e420e..58df31a447117 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp @@ -450,7 +450,7 @@ class spell_general_vezax_mark_of_the_faceless : public SpellScriptLoader class spell_general_vezax_mark_of_the_faceless_AuraScript : public AuraScript { - PrepareAuraScript(spell_general_vezax_mark_of_the_faceless_AuraScript) + PrepareAuraScript(spell_general_vezax_mark_of_the_faceless_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) { @@ -484,7 +484,7 @@ class spell_general_vezax_mark_of_the_faceless_leech : public SpellScriptLoader class spell_general_vezax_mark_of_the_faceless_leech_SpellScript : public SpellScript { - PrepareSpellScript(spell_general_vezax_mark_of_the_faceless_leech_SpellScript) + PrepareSpellScript(spell_general_vezax_mark_of_the_faceless_leech_SpellScript); void FilterTargets(std::list& targets) { @@ -513,7 +513,7 @@ class spell_general_vezax_saronite_vapors : public SpellScriptLoader class spell_general_vezax_saronite_vapors_AuraScript : public AuraScript { - PrepareAuraScript(spell_general_vezax_saronite_vapors_AuraScript) + PrepareAuraScript(spell_general_vezax_saronite_vapors_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp index 464efba920c03..4d904b04618a4 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp @@ -921,7 +921,7 @@ class spell_biting_cold : public SpellScriptLoader class spell_biting_cold_AuraScript : public AuraScript { - PrepareAuraScript(spell_biting_cold_AuraScript) + PrepareAuraScript(spell_biting_cold_AuraScript); void HandleEffectPeriodic(AuraEffect const* /*aurEff*/) { @@ -977,7 +977,7 @@ class spell_biting_cold_dot : public SpellScriptLoader class spell_biting_cold_dot_AuraScript : public AuraScript { - PrepareAuraScript(spell_biting_cold_dot_AuraScript) + PrepareAuraScript(spell_biting_cold_dot_AuraScript); void HandleEffectPeriodic(AuraEffect const* /*aurEff*/) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp index 68888e04b8f20..ef9bd9a8b12dc 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp @@ -430,7 +430,7 @@ class spell_ignis_slag_pot : public SpellScriptLoader class spell_ignis_slag_pot_AuraScript : public AuraScript { - PrepareAuraScript(spell_ignis_slag_pot_AuraScript) + PrepareAuraScript(spell_ignis_slag_pot_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp index 67ec9c55eb5dd..e77350e2710f9 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp @@ -331,7 +331,7 @@ class spell_ulduar_rubble_summon : public SpellScriptLoader class spell_ulduar_rubble_summonSpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_rubble_summonSpellScript) + PrepareSpellScript(spell_ulduar_rubble_summonSpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -385,7 +385,7 @@ class spell_ulduar_stone_grip_cast_target : public SpellScriptLoader class spell_ulduar_stone_grip_cast_target_SpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_stone_grip_cast_target_SpellScript) + PrepareSpellScript(spell_ulduar_stone_grip_cast_target_SpellScript); bool Load() override { @@ -445,7 +445,7 @@ class spell_ulduar_cancel_stone_grip : public SpellScriptLoader class spell_ulduar_cancel_stone_gripSpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_cancel_stone_gripSpellScript) + PrepareSpellScript(spell_ulduar_cancel_stone_gripSpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -485,7 +485,7 @@ class spell_ulduar_squeezed_lifeless : public SpellScriptLoader class spell_ulduar_squeezed_lifeless_SpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_squeezed_lifeless_SpellScript) + PrepareSpellScript(spell_ulduar_squeezed_lifeless_SpellScript); void HandleInstaKill(SpellEffIndex /*effIndex*/) { @@ -523,7 +523,7 @@ class spell_ulduar_stone_grip_absorb : public SpellScriptLoader class spell_ulduar_stone_grip_absorb_AuraScript : public AuraScript { - PrepareAuraScript(spell_ulduar_stone_grip_absorb_AuraScript) + PrepareAuraScript(spell_ulduar_stone_grip_absorb_AuraScript); //! This will be called when Right Arm (vehicle) has sustained a specific amount of damage depending on instance mode //! What we do here is remove all harmful aura's related and teleport to safe spot. @@ -560,7 +560,7 @@ class spell_ulduar_stone_grip : public SpellScriptLoader class spell_ulduar_stone_grip_AuraScript : public AuraScript { - PrepareAuraScript(spell_ulduar_stone_grip_AuraScript) + PrepareAuraScript(spell_ulduar_stone_grip_AuraScript); void OnRemoveStun(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { @@ -613,7 +613,7 @@ class spell_kologarn_stone_shout : public SpellScriptLoader class spell_kologarn_stone_shout_SpellScript : public SpellScript { - PrepareSpellScript(spell_kologarn_stone_shout_SpellScript) + PrepareSpellScript(spell_kologarn_stone_shout_SpellScript); void FilterTargets(std::list& unitList) { @@ -639,7 +639,7 @@ class spell_kologarn_summon_focused_eyebeam : public SpellScriptLoader class spell_kologarn_summon_focused_eyebeam_SpellScript : public SpellScript { - PrepareSpellScript(spell_kologarn_summon_focused_eyebeam_SpellScript) + PrepareSpellScript(spell_kologarn_summon_focused_eyebeam_SpellScript); void HandleForceCast(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp index cfa5429ea7999..f284aacf996f4 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp @@ -89,7 +89,7 @@ class spell_ulduar_proximity_mines : public SpellScriptLoader class spell_ulduar_proximity_minesSpellScript : public SpellScript { - PrepareSpellScript(spell_ulduar_proximity_minesSpellScript) + PrepareSpellScript(spell_ulduar_proximity_minesSpellScript); void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp index baeae55535c0d..e0d46ad21ba79 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp @@ -1014,7 +1014,7 @@ class spell_razorscale_devouring_flame : public SpellScriptLoader class spell_razorscale_devouring_flame_SpellScript : public SpellScript { - PrepareSpellScript(spell_razorscale_devouring_flame_SpellScript) + PrepareSpellScript(spell_razorscale_devouring_flame_SpellScript); void HandleSummon(SpellEffIndex effIndex) { @@ -1047,7 +1047,7 @@ class spell_razorscale_flame_breath : public SpellScriptLoader class spell_razorscale_flame_breath_SpellScript : public SpellScript { - PrepareSpellScript(spell_razorscale_flame_breath_SpellScript) + PrepareSpellScript(spell_razorscale_flame_breath_SpellScript); void CheckDamage() { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp index 7290ab9943c0e..c57c3b33d01fb 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp @@ -767,7 +767,7 @@ class spell_xt002_searing_light_spawn_life_spark : public SpellScriptLoader class spell_xt002_searing_light_spawn_life_spark_AuraScript : public AuraScript { - PrepareAuraScript(spell_xt002_searing_light_spawn_life_spark_AuraScript) + PrepareAuraScript(spell_xt002_searing_light_spawn_life_spark_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -803,7 +803,7 @@ class spell_xt002_gravity_bomb_aura : public SpellScriptLoader class spell_xt002_gravity_bomb_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_xt002_gravity_bomb_aura_AuraScript) + PrepareAuraScript(spell_xt002_gravity_bomb_aura_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -855,7 +855,7 @@ class spell_xt002_gravity_bomb_damage : public SpellScriptLoader class spell_xt002_gravity_bomb_damage_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_gravity_bomb_damage_SpellScript) + PrepareSpellScript(spell_xt002_gravity_bomb_damage_SpellScript); void HandleScript(SpellEffIndex /*eff*/) { @@ -887,7 +887,7 @@ class spell_xt002_heart_overload_periodic : public SpellScriptLoader class spell_xt002_heart_overload_periodic_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_heart_overload_periodic_SpellScript) + PrepareSpellScript(spell_xt002_heart_overload_periodic_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -954,7 +954,7 @@ class spell_xt002_tympanic_tantrum : public SpellScriptLoader class spell_xt002_tympanic_tantrum_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_tympanic_tantrum_SpellScript) + PrepareSpellScript(spell_xt002_tympanic_tantrum_SpellScript); void FilterTargets(std::list& targets) { @@ -987,7 +987,7 @@ class spell_xt002_submerged : public SpellScriptLoader class spell_xt002_submerged_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_submerged_SpellScript) + PrepareSpellScript(spell_xt002_submerged_SpellScript); void HandleScript(SpellEffIndex /*eff*/) { @@ -1018,7 +1018,7 @@ class spell_xt002_stand : public SpellScriptLoader class spell_xt002_stand_SpellScript : public SpellScript { - PrepareSpellScript(spell_xt002_stand_SpellScript) + PrepareSpellScript(spell_xt002_stand_SpellScript); void HandleScript(SpellEffIndex /*eff*/) { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp index 98a903923cac5..9ce5733ab0b34 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp @@ -1930,7 +1930,7 @@ class spell_yogg_saron_target_selectors : public SpellScriptLoader // 63744, class spell_yogg_saron_target_selectors_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_target_selectors_SpellScript) + PrepareSpellScript(spell_yogg_saron_target_selectors_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1988,7 +1988,7 @@ class spell_yogg_saron_psychosis : public SpellScriptLoader // 63795, 65301 class spell_yogg_saron_psychosis_SpellScript : public SanityReduction { - PrepareSpellScript(spell_yogg_saron_psychosis_SpellScript) + PrepareSpellScript(spell_yogg_saron_psychosis_SpellScript); bool Load() override { @@ -2026,7 +2026,7 @@ class spell_yogg_saron_malady_of_the_mind : public SpellScriptLoader // 63830 public: spell_yogg_saron_malady_of_the_mind_SpellScript() : SanityReduction(3) { } - PrepareSpellScript(spell_yogg_saron_malady_of_the_mind_SpellScript) + PrepareSpellScript(spell_yogg_saron_malady_of_the_mind_SpellScript); void FilterTargets(std::list& targets) { @@ -2049,7 +2049,7 @@ class spell_yogg_saron_malady_of_the_mind : public SpellScriptLoader // 63830 class spell_yogg_saron_malady_of_the_mind_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_malady_of_the_mind_AuraScript) + PrepareAuraScript(spell_yogg_saron_malady_of_the_mind_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2097,7 +2097,7 @@ class spell_yogg_saron_brain_link : public SpellScriptLoader // 63802 class spell_yogg_saron_brain_link_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_brain_link_SpellScript) + PrepareSpellScript(spell_yogg_saron_brain_link_SpellScript); void FilterTargets(std::list& targets) { @@ -2121,7 +2121,7 @@ class spell_yogg_saron_brain_link : public SpellScriptLoader // 63802 class spell_yogg_saron_brain_link_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_brain_link_AuraScript) + PrepareAuraScript(spell_yogg_saron_brain_link_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2198,7 +2198,7 @@ class spell_yogg_saron_brain_link_damage : public SpellScriptLoader // 6380 public: spell_yogg_saron_brain_link_damage_SpellScript() : SanityReduction(2) { } - PrepareSpellScript(spell_yogg_saron_brain_link_damage_SpellScript) + PrepareSpellScript(spell_yogg_saron_brain_link_damage_SpellScript); void Register() override { @@ -2219,7 +2219,7 @@ class spell_yogg_saron_boil_ominously : public SpellScriptLoader // 63030 class spell_yogg_saron_boil_ominously_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_boil_ominously_SpellScript) + PrepareSpellScript(spell_yogg_saron_boil_ominously_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2259,7 +2259,7 @@ class spell_yogg_saron_shadow_beacon : public SpellScriptLoader // 64465 class spell_yogg_saron_shadow_beacon_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_shadow_beacon_AuraScript) + PrepareAuraScript(spell_yogg_saron_shadow_beacon_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -2293,7 +2293,7 @@ class spell_yogg_saron_empowering_shadows_range_check : public SpellScriptLoader class spell_yogg_saron_empowering_shadows_range_check_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_empowering_shadows_range_check_SpellScript) + PrepareSpellScript(spell_yogg_saron_empowering_shadows_range_check_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2320,7 +2320,7 @@ class spell_yogg_saron_empowering_shadows_missile : public SpellScriptLoader class spell_yogg_saron_empowering_shadows_missile_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_empowering_shadows_missile_SpellScript) + PrepareSpellScript(spell_yogg_saron_empowering_shadows_missile_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2355,7 +2355,7 @@ class spell_yogg_saron_constrictor_tentacle : public SpellScriptLoader // 64 class spell_yogg_saron_constrictor_tentacle_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_constrictor_tentacle_AuraScript) + PrepareAuraScript(spell_yogg_saron_constrictor_tentacle_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2388,7 +2388,7 @@ class spell_yogg_saron_lunge : public SpellScriptLoader // 64131 class spell_yogg_saron_lunge_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_lunge_SpellScript) + PrepareSpellScript(spell_yogg_saron_lunge_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2425,7 +2425,7 @@ class spell_yogg_saron_squeeze : public SpellScriptLoader // 64125 class spell_yogg_saron_squeeze_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_squeeze_AuraScript) + PrepareAuraScript(spell_yogg_saron_squeeze_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -2453,7 +2453,7 @@ class spell_yogg_saron_diminsh_power : public SpellScriptLoader // 64148 class spell_yogg_saron_diminsh_power_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_diminsh_power_AuraScript) + PrepareAuraScript(spell_yogg_saron_diminsh_power_AuraScript); void HandleProc(AuraEffect const* /*aurEff*/, ProcEventInfo& /*eventInfo*/) { @@ -2483,7 +2483,7 @@ class spell_yogg_saron_empowered : public SpellScriptLoader // 64161 class spell_yogg_saron_empowered_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_empowered_AuraScript) + PrepareAuraScript(spell_yogg_saron_empowered_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2534,7 +2534,7 @@ class spell_yogg_saron_match_health : public SpellScriptLoader // 64069 class spell_yogg_saron_match_health_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_match_health_SpellScript) + PrepareSpellScript(spell_yogg_saron_match_health_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2561,7 +2561,7 @@ class spell_yogg_saron_shattered_illusion : public SpellScriptLoader // 65238 class spell_yogg_saron_shattered_illusion_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_shattered_illusion_SpellScript) + PrepareSpellScript(spell_yogg_saron_shattered_illusion_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2588,7 +2588,7 @@ class spell_yogg_saron_death_ray_warning_visual : public SpellScriptLoader / class spell_yogg_saron_death_ray_warning_visual_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_death_ray_warning_visual_AuraScript) + PrepareAuraScript(spell_yogg_saron_death_ray_warning_visual_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2629,7 +2629,7 @@ class spell_yogg_saron_cancel_illusion_room_aura : public SpellScriptLoader / class spell_yogg_saron_cancel_illusion_room_aura_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_cancel_illusion_room_aura_SpellScript) + PrepareSpellScript(spell_yogg_saron_cancel_illusion_room_aura_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2666,7 +2666,7 @@ class spell_yogg_saron_nondescript : public SpellScriptLoader // 64010, 6401 class spell_yogg_saron_nondescript_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_nondescript_AuraScript) + PrepareAuraScript(spell_yogg_saron_nondescript_AuraScript); void OnRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { @@ -2692,7 +2692,7 @@ class spell_yogg_saron_revealed_tentacle : public SpellScriptLoader // 64012 class spell_yogg_saron_revealed_tentacle_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_revealed_tentacle_SpellScript) + PrepareSpellScript(spell_yogg_saron_revealed_tentacle_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2732,7 +2732,7 @@ class spell_yogg_saron_grim_reprisal : public SpellScriptLoader // 63305 class spell_yogg_saron_grim_reprisal_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_grim_reprisal_AuraScript) + PrepareAuraScript(spell_yogg_saron_grim_reprisal_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2766,7 +2766,7 @@ class spell_yogg_saron_induce_madness : public SpellScriptLoader // 64059 class spell_yogg_saron_induce_madness_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_induce_madness_SpellScript) + PrepareSpellScript(spell_yogg_saron_induce_madness_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2816,7 +2816,7 @@ class spell_yogg_saron_sanity : public SpellScriptLoader // 63050 class spell_yogg_saron_sanity_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_sanity_SpellScript) + PrepareSpellScript(spell_yogg_saron_sanity_SpellScript); // don't target players outside of room or handle it in SPELL_INSANE_PERIODIC? @@ -2833,7 +2833,7 @@ class spell_yogg_saron_sanity : public SpellScriptLoader // 63050 class spell_yogg_saron_sanity_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_sanity_AuraScript) + PrepareAuraScript(spell_yogg_saron_sanity_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2892,7 +2892,7 @@ class spell_yogg_saron_insane : public SpellScriptLoader // 63120 class spell_yogg_saron_insane_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_insane_AuraScript) + PrepareAuraScript(spell_yogg_saron_insane_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2936,7 +2936,7 @@ class spell_yogg_saron_insane_periodic : public SpellScriptLoader // 64555 class spell_yogg_saron_insane_periodic_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_insane_periodic_SpellScript) + PrepareSpellScript(spell_yogg_saron_insane_periodic_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2977,7 +2977,7 @@ class spell_yogg_saron_lunatic_gaze : public SpellScriptLoader // 64164, 64 class spell_yogg_saron_lunatic_gaze_SpellScript : public SanityReduction { - PrepareSpellScript(spell_yogg_saron_lunatic_gaze_SpellScript) + PrepareSpellScript(spell_yogg_saron_lunatic_gaze_SpellScript); bool Load() override { @@ -3011,7 +3011,7 @@ class spell_yogg_saron_keeper_aura : public SpellScriptLoader // 62650, 6267 class spell_yogg_saron_keeper_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_keeper_aura_AuraScript) + PrepareAuraScript(spell_yogg_saron_keeper_aura_AuraScript); bool CanApply(Unit* target) { @@ -3039,7 +3039,7 @@ class spell_yogg_saron_hate_to_zero : public SpellScriptLoader // 63984 class spell_yogg_saron_hate_to_zero_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_hate_to_zero_SpellScript) + PrepareSpellScript(spell_yogg_saron_hate_to_zero_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -3067,7 +3067,7 @@ class spell_yogg_saron_in_the_maws_of_the_old_god : public SpellScriptLoader class spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript) + PrepareSpellScript(spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript); SpellCastResult CheckRequirement() { @@ -3103,7 +3103,7 @@ class spell_yogg_saron_titanic_storm : public SpellScriptLoader // 64172 class spell_yogg_saron_titanic_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_yogg_saron_titanic_storm_SpellScript) + PrepareSpellScript(spell_yogg_saron_titanic_storm_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -3130,7 +3130,7 @@ class spell_yogg_saron_hodirs_protective_gaze : public SpellScriptLoader // class spell_yogg_saron_hodirs_protective_gaze_AuraScript : public AuraScript { - PrepareAuraScript(spell_yogg_saron_hodirs_protective_gaze_AuraScript) + PrepareAuraScript(spell_yogg_saron_hodirs_protective_gaze_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { 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 3e1d75e0f21b0..67bf6214374cc 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 @@ -395,7 +395,7 @@ class spell_ingvar_summon_banshee : public SpellScriptLoader class spell_ingvar_summon_banshee_SpellScript : public SpellScript { - PrepareSpellScript(spell_ingvar_summon_banshee_SpellScript) + PrepareSpellScript(spell_ingvar_summon_banshee_SpellScript); void SetDest(SpellDestination& dest) { @@ -422,7 +422,7 @@ class spell_ingvar_woe_strike : public SpellScriptLoader class spell_ingvar_woe_strike_AuraScript : public AuraScript { - PrepareAuraScript(spell_ingvar_woe_strike_AuraScript) + PrepareAuraScript(spell_ingvar_woe_strike_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp index fefa27fc75442..890c39fa7754b 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp @@ -325,7 +325,7 @@ class spell_frost_tomb : public SpellScriptLoader class spell_frost_tomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_frost_tomb_AuraScript) + PrepareAuraScript(spell_frost_tomb_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp index 5e19041eb627a..e54c8847d4619 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp @@ -126,7 +126,7 @@ class spell_ticking_time_bomb : public SpellScriptLoader class spell_ticking_time_bomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_ticking_time_bomb_AuraScript) + PrepareAuraScript(spell_ticking_time_bomb_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -165,7 +165,7 @@ class spell_fixate : public SpellScriptLoader class spell_fixate_SpellScript : public SpellScript { - PrepareSpellScript(spell_fixate_SpellScript) + PrepareSpellScript(spell_fixate_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp index 84e71900446e7..621ef20e7e466 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp @@ -488,7 +488,7 @@ class spell_paralyze_pinnacle : public SpellScriptLoader class spell_paralyze_pinnacle_SpellScript : public SpellScript { - PrepareSpellScript(spell_paralyze_pinnacle_SpellScript) + PrepareSpellScript(spell_paralyze_pinnacle_SpellScript); void FilterTargets(std::list& unitList) { diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp index 7437bddf1f684..c164f8fbf604a 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp @@ -217,7 +217,7 @@ class spell_archavon_rock_shards : public SpellScriptLoader class spell_archavon_rock_shards_SpellScript : public SpellScript { - PrepareSpellScript(spell_archavon_rock_shards_SpellScript) + PrepareSpellScript(spell_archavon_rock_shards_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp index 37604d116cd32..b6c836eb0cd4f 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp @@ -189,7 +189,7 @@ class spell_koralon_meteor_fists : public SpellScriptLoader class spell_koralon_meteor_fists_AuraScript : public AuraScript { - PrepareAuraScript(spell_koralon_meteor_fists_AuraScript) + PrepareAuraScript(spell_koralon_meteor_fists_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -223,7 +223,7 @@ class spell_koralon_meteor_fists_damage : public SpellScriptLoader class spell_koralon_meteor_fists_damage_SpellScript : public SpellScript { - PrepareSpellScript(spell_koralon_meteor_fists_damage_SpellScript) + PrepareSpellScript(spell_koralon_meteor_fists_damage_SpellScript); bool Load() override { @@ -265,7 +265,7 @@ class spell_flame_warder_meteor_fists : public SpellScriptLoader class spell_flame_warder_meteor_fists_AuraScript : public AuraScript { - PrepareAuraScript(spell_flame_warder_meteor_fists_AuraScript) + PrepareAuraScript(spell_flame_warder_meteor_fists_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/zone_borean_tundra.cpp b/src/server/scripts/Northrend/zone_borean_tundra.cpp index d994f96dc4a66..c226edf28b8d1 100644 --- a/src/server/scripts/Northrend/zone_borean_tundra.cpp +++ b/src/server/scripts/Northrend/zone_borean_tundra.cpp @@ -2548,7 +2548,7 @@ class spell_windsoul_totem_aura : public SpellScriptLoader class spell_windsoul_totem_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_windsoul_totem_aura_AuraScript) + PrepareAuraScript(spell_windsoul_totem_aura_AuraScript); void OnRemove(AuraEffect const*, AuraEffectHandleModes) { diff --git a/src/server/scripts/Northrend/zone_dragonblight.cpp b/src/server/scripts/Northrend/zone_dragonblight.cpp index 4ba87ac539e28..bda6d953d9f9f 100644 --- a/src/server/scripts/Northrend/zone_dragonblight.cpp +++ b/src/server/scripts/Northrend/zone_dragonblight.cpp @@ -432,7 +432,7 @@ class spell_q12096_q12092_dummy : public SpellScriptLoader // Strengthen the Anc class spell_q12096_q12092_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12096_q12092_dummy_SpellScript) + PrepareSpellScript(spell_q12096_q12092_dummy_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -479,7 +479,7 @@ class spell_q12096_q12092_bark : public SpellScriptLoader // Bark of the Walkers class spell_q12096_q12092_bark_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12096_q12092_bark_SpellScript) + PrepareSpellScript(spell_q12096_q12092_bark_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/zone_grizzly_hills.cpp b/src/server/scripts/Northrend/zone_grizzly_hills.cpp index d2e6df7b3c727..e98d424abd500 100644 --- a/src/server/scripts/Northrend/zone_grizzly_hills.cpp +++ b/src/server/scripts/Northrend/zone_grizzly_hills.cpp @@ -761,7 +761,7 @@ class spell_shredder_delivery : public SpellScriptLoader class spell_shredder_delivery_SpellScript : public SpellScript { - PrepareSpellScript(spell_shredder_delivery_SpellScript) + PrepareSpellScript(spell_shredder_delivery_SpellScript); bool Load() override { diff --git a/src/server/scripts/Northrend/zone_howling_fjord.cpp b/src/server/scripts/Northrend/zone_howling_fjord.cpp index 1adf5aa0fa9c6..c577fb2864f90 100644 --- a/src/server/scripts/Northrend/zone_howling_fjord.cpp +++ b/src/server/scripts/Northrend/zone_howling_fjord.cpp @@ -443,7 +443,7 @@ class spell_mindless_abomination_explosion_fx_master : public SpellScriptLoader class spell_mindless_abomination_explosion_fx_master_SpellScript : public SpellScript { - PrepareSpellScript(spell_mindless_abomination_explosion_fx_master_SpellScript) + PrepareSpellScript(spell_mindless_abomination_explosion_fx_master_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Northrend/zone_sholazar_basin.cpp b/src/server/scripts/Northrend/zone_sholazar_basin.cpp index 54c07b17366c5..3ec138dcfaaa0 100644 --- a/src/server/scripts/Northrend/zone_sholazar_basin.cpp +++ b/src/server/scripts/Northrend/zone_sholazar_basin.cpp @@ -762,7 +762,7 @@ class spell_q12620_the_lifewarden_wrath : public SpellScriptLoader class spell_q12620_the_lifewarden_wrath_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12620_the_lifewarden_wrath_SpellScript) + PrepareSpellScript(spell_q12620_the_lifewarden_wrath_SpellScript); void HandleSendEvent(SpellEffIndex effIndex) { @@ -850,7 +850,7 @@ class spell_q12589_shoot_rjr : public SpellScriptLoader class spell_q12589_shoot_rjr_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12589_shoot_rjr_SpellScript) + PrepareSpellScript(spell_q12589_shoot_rjr_SpellScript); SpellCastResult CheckCast() { @@ -1109,7 +1109,7 @@ class spell_shango_tracks : public SpellScriptLoader class spell_shango_tracks_SpellScript : public SpellScript { - PrepareSpellScript(spell_shango_tracks_SpellScript) + PrepareSpellScript(spell_shango_tracks_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Northrend/zone_storm_peaks.cpp b/src/server/scripts/Northrend/zone_storm_peaks.cpp index ee0c4522c8a94..a7faf776721a9 100644 --- a/src/server/scripts/Northrend/zone_storm_peaks.cpp +++ b/src/server/scripts/Northrend/zone_storm_peaks.cpp @@ -732,7 +732,7 @@ class spell_jokkum_scriptcast : public SpellScriptLoader class spell_jokkum_scriptcast_AuraScript : public AuraScript { - PrepareAuraScript(spell_jokkum_scriptcast_AuraScript) + PrepareAuraScript(spell_jokkum_scriptcast_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -765,7 +765,7 @@ class spell_veranus_summon : public SpellScriptLoader class spell_veranus_summon_AuraScript : public AuraScript { - PrepareAuraScript(spell_veranus_summon_AuraScript) + PrepareAuraScript(spell_veranus_summon_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -804,7 +804,7 @@ class spell_close_rift : public SpellScriptLoader class spell_close_rift_AuraScript : public AuraScript { - PrepareAuraScript(spell_close_rift_AuraScript) + PrepareAuraScript(spell_close_rift_AuraScript); bool Load() override { diff --git a/src/server/scripts/Northrend/zone_wintergrasp.cpp b/src/server/scripts/Northrend/zone_wintergrasp.cpp index a2f0ff45787eb..fe74997bb394d 100644 --- a/src/server/scripts/Northrend/zone_wintergrasp.cpp +++ b/src/server/scripts/Northrend/zone_wintergrasp.cpp @@ -481,7 +481,7 @@ class spell_wintergrasp_force_building : public SpellScriptLoader class spell_wintergrasp_force_building_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_force_building_SpellScript) + PrepareSpellScript(spell_wintergrasp_force_building_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -518,7 +518,7 @@ class spell_wintergrasp_grab_passenger : public SpellScriptLoader class spell_wintergrasp_grab_passenger_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_grab_passenger_SpellScript) + PrepareSpellScript(spell_wintergrasp_grab_passenger_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -574,7 +574,7 @@ class spell_wintergrasp_defender_teleport : public SpellScriptLoader class spell_wintergrasp_defender_teleport_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_defender_teleport_SpellScript) + PrepareSpellScript(spell_wintergrasp_defender_teleport_SpellScript); SpellCastResult CheckCast() { @@ -605,7 +605,7 @@ class spell_wintergrasp_defender_teleport_trigger : public SpellScriptLoader class spell_wintergrasp_defender_teleport_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_wintergrasp_defender_teleport_trigger_SpellScript) + PrepareSpellScript(spell_wintergrasp_defender_teleport_trigger_SpellScript); void HandleDummy(SpellEffIndex /*effindex*/) { diff --git a/src/server/scripts/Northrend/zone_zuldrak.cpp b/src/server/scripts/Northrend/zone_zuldrak.cpp index 632eaa7396b4a..78b9a99b2e471 100644 --- a/src/server/scripts/Northrend/zone_zuldrak.cpp +++ b/src/server/scripts/Northrend/zone_zuldrak.cpp @@ -613,7 +613,7 @@ class spell_random_ingredient_aura : public SpellScriptLoader class spell_random_ingredient_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_random_ingredient_aura_AuraScript) + PrepareAuraScript(spell_random_ingredient_aura_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -660,7 +660,7 @@ class spell_random_ingredient : public SpellScriptLoader class spell_random_ingredient_SpellScript : public SpellScript { - PrepareSpellScript(spell_random_ingredient_SpellScript) + PrepareSpellScript(spell_random_ingredient_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -724,7 +724,7 @@ class spell_pot_check : public SpellScriptLoader class spell_pot_check_SpellScript : public SpellScript { - PrepareSpellScript(spell_pot_check_SpellScript) + PrepareSpellScript(spell_pot_check_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -817,7 +817,7 @@ class spell_fetch_ingredient_aura : public SpellScriptLoader class spell_fetch_ingredient_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_fetch_ingredient_aura_AuraScript) + PrepareAuraScript(spell_fetch_ingredient_aura_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp index d15ee3570c96f..31adf1522d446 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp @@ -181,7 +181,7 @@ class spell_murmur_sonic_boom : public SpellScriptLoader class spell_murmur_sonic_boom_SpellScript : public SpellScript { - PrepareSpellScript(spell_murmur_sonic_boom_SpellScript) + PrepareSpellScript(spell_murmur_sonic_boom_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -215,7 +215,7 @@ class spell_murmur_sonic_boom_effect : public SpellScriptLoader class spell_murmur_sonic_boom_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_murmur_sonic_boom_effect_SpellScript) + PrepareSpellScript(spell_murmur_sonic_boom_effect_SpellScript); void CalcDamage() { @@ -258,7 +258,7 @@ class spell_murmur_thundering_storm : public SpellScriptLoader class spell_murmur_thundering_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_murmur_thundering_storm_SpellScript) + PrepareSpellScript(spell_murmur_thundering_storm_SpellScript); void FilterTarget(std::list& targets) { diff --git a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp index d17f88de9106a..4a4addd253e7a 100644 --- a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp +++ b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp @@ -876,7 +876,7 @@ class spell_boss_lady_malande_shield : public SpellScriptLoader class spell_boss_lady_malande_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_boss_lady_malande_shield_AuraScript) + PrepareAuraScript(spell_boss_lady_malande_shield_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp index 595bf13791d1f..592ffc1f69ea4 100644 --- a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp +++ b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp @@ -263,7 +263,7 @@ class spell_gruul_shatter : public SpellScriptLoader class spell_gruul_shatter_SpellScript : public SpellScript { - PrepareSpellScript(spell_gruul_shatter_SpellScript) + PrepareSpellScript(spell_gruul_shatter_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -302,7 +302,7 @@ class spell_gruul_shatter_effect : public SpellScriptLoader class spell_gruul_shatter_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_gruul_shatter_effect_SpellScript) + PrepareSpellScript(spell_gruul_shatter_effect_SpellScript); void CalculateDamage() { diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp index 23dabdfd80fb2..063a30ca875e6 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp @@ -195,7 +195,7 @@ class spell_broggok_poison_cloud : public SpellScriptLoader class spell_broggok_poison_cloud_AuraScript : public AuraScript { - PrepareAuraScript(spell_broggok_poison_cloud_AuraScript) + PrepareAuraScript(spell_broggok_poison_cloud_AuraScript); bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp index 716963391e66e..5f92445f9dd5b 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp @@ -513,7 +513,7 @@ class spell_astromancer_wrath_of_the_astromancer : public SpellScriptLoader class spell_astromancer_wrath_of_the_astromancer_AuraScript : public AuraScript { - PrepareAuraScript(spell_astromancer_wrath_of_the_astromancer_AuraScript) + PrepareAuraScript(spell_astromancer_wrath_of_the_astromancer_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp index 7ea39f3faed05..f8861d1fa7f9d 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp @@ -163,7 +163,7 @@ class spell_capacitus_polarity_charge : public SpellScriptLoader class spell_capacitus_polarity_charge_SpellScript : public SpellScript { - PrepareSpellScript(spell_capacitus_polarity_charge_SpellScript) + PrepareSpellScript(spell_capacitus_polarity_charge_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -231,7 +231,7 @@ class spell_capacitus_polarity_shift : public SpellScriptLoader class spell_capacitus_polarity_shift_SpellScript : public SpellScript { - PrepareSpellScript(spell_capacitus_polarity_shift_SpellScript) + PrepareSpellScript(spell_capacitus_polarity_shift_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp index 4320dbc422f84..7b831e82a7516 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp @@ -156,7 +156,7 @@ class spell_commander_sarannis_summon_reinforcements : public SpellScriptLoader class spell_commander_sarannis_summon_reinforcements_SpellScript : public SpellScript { - PrepareSpellScript(spell_commander_sarannis_summon_reinforcements_SpellScript) + PrepareSpellScript(spell_commander_sarannis_summon_reinforcements_SpellScript); void HandleCast(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Outland/boss_doomlord_kazzak.cpp b/src/server/scripts/Outland/boss_doomlord_kazzak.cpp index 3eeaf8ecafad4..eea03aae343c3 100644 --- a/src/server/scripts/Outland/boss_doomlord_kazzak.cpp +++ b/src/server/scripts/Outland/boss_doomlord_kazzak.cpp @@ -182,7 +182,7 @@ class spell_mark_of_kazzak : public SpellScriptLoader class spell_mark_of_kazzak_AuraScript : public AuraScript { - PrepareAuraScript(spell_mark_of_kazzak_AuraScript) + PrepareAuraScript(spell_mark_of_kazzak_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { diff --git a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp index 2f60a4e91066e..d21b92d3e920b 100644 --- a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp +++ b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp @@ -1187,7 +1187,7 @@ class spell_oscillating_field : public SpellScriptLoader class spell_oscillating_field_SpellScript : public SpellScript { - PrepareSpellScript(spell_oscillating_field_SpellScript) + PrepareSpellScript(spell_oscillating_field_SpellScript); void HandleEffect(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp index c9ad9a6964d4e..4efa108429a43 100644 --- a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp +++ b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp @@ -1824,7 +1824,7 @@ class spell_unlocking_zuluheds_chains : public SpellScriptLoader class spell_unlocking_zuluheds_chains_SpellScript : public SpellScript { - PrepareSpellScript(spell_unlocking_zuluheds_chains_SpellScript) + PrepareSpellScript(spell_unlocking_zuluheds_chains_SpellScript); void HandleAfterHit() { diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp index 1637f588eef9f..6a6ee144aac81 100644 --- a/src/server/scripts/Spells/spell_dk.cpp +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -79,7 +79,7 @@ class spell_dk_anti_magic_shell_raid : public SpellScriptLoader class spell_dk_anti_magic_shell_raid_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_anti_magic_shell_raid_AuraScript) + PrepareAuraScript(spell_dk_anti_magic_shell_raid_AuraScript); uint32 absorbPct; @@ -121,7 +121,7 @@ class spell_dk_anti_magic_shell_self : public SpellScriptLoader class spell_dk_anti_magic_shell_self_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_anti_magic_shell_self_AuraScript) + PrepareAuraScript(spell_dk_anti_magic_shell_self_AuraScript); uint32 absorbPct, hpPct; bool Load() override @@ -178,7 +178,7 @@ class spell_dk_anti_magic_zone : public SpellScriptLoader class spell_dk_anti_magic_zone_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_anti_magic_zone_AuraScript) + PrepareAuraScript(spell_dk_anti_magic_zone_AuraScript); uint32 absorbPct; @@ -229,7 +229,7 @@ class spell_dk_blood_boil : public SpellScriptLoader class spell_dk_blood_boil_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_blood_boil_SpellScript) + PrepareSpellScript(spell_dk_blood_boil_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -275,7 +275,7 @@ class spell_dk_blood_gorged : public SpellScriptLoader class spell_dk_blood_gorged_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_blood_gorged_AuraScript) + PrepareAuraScript(spell_dk_blood_gorged_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -349,7 +349,7 @@ class spell_dk_corpse_explosion : public SpellScriptLoader class spell_dk_corpse_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_corpse_explosion_SpellScript) + PrepareSpellScript(spell_dk_corpse_explosion_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -448,7 +448,7 @@ class spell_dk_death_coil : public SpellScriptLoader class spell_dk_death_coil_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_coil_SpellScript) + PrepareSpellScript(spell_dk_death_coil_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -515,7 +515,7 @@ class spell_dk_death_gate : public SpellScriptLoader class spell_dk_death_gate_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_gate_SpellScript) + PrepareSpellScript(spell_dk_death_gate_SpellScript); SpellCastResult CheckClass() { @@ -556,7 +556,7 @@ class spell_dk_death_grip : public SpellScriptLoader class spell_dk_death_grip_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_grip_SpellScript) + PrepareSpellScript(spell_dk_death_grip_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -590,7 +590,7 @@ class spell_dk_death_pact : public SpellScriptLoader class spell_dk_death_pact_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_pact_SpellScript) + PrepareSpellScript(spell_dk_death_pact_SpellScript); SpellCastResult CheckCast() { @@ -646,7 +646,7 @@ class spell_dk_death_strike : public SpellScriptLoader class spell_dk_death_strike_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_death_strike_SpellScript) + PrepareSpellScript(spell_dk_death_strike_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -690,7 +690,7 @@ class spell_dk_ghoul_explode : public SpellScriptLoader class spell_dk_ghoul_explode_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_ghoul_explode_SpellScript) + PrepareSpellScript(spell_dk_ghoul_explode_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -738,7 +738,7 @@ class spell_dk_icebound_fortitude : public SpellScriptLoader class spell_dk_icebound_fortitude_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_icebound_fortitude_AuraScript) + PrepareAuraScript(spell_dk_icebound_fortitude_AuraScript); bool Load() override { @@ -787,7 +787,7 @@ class spell_dk_improved_blood_presence : public SpellScriptLoader class spell_dk_improved_blood_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_improved_blood_presence_AuraScript) + PrepareAuraScript(spell_dk_improved_blood_presence_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -834,7 +834,7 @@ class spell_dk_improved_frost_presence : public SpellScriptLoader class spell_dk_improved_frost_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_improved_frost_presence_AuraScript) + PrepareAuraScript(spell_dk_improved_frost_presence_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -881,7 +881,7 @@ class spell_dk_improved_unholy_presence : public SpellScriptLoader class spell_dk_improved_unholy_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_improved_unholy_presence_AuraScript) + PrepareAuraScript(spell_dk_improved_unholy_presence_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -941,7 +941,7 @@ class spell_dk_presence : public SpellScriptLoader class spell_dk_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_presence_AuraScript) + PrepareAuraScript(spell_dk_presence_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1057,7 +1057,7 @@ class spell_dk_raise_dead : public SpellScriptLoader class spell_dk_raise_dead_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_raise_dead_SpellScript) + PrepareSpellScript(spell_dk_raise_dead_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -1190,7 +1190,7 @@ class spell_dk_rune_tap_party : public SpellScriptLoader class spell_dk_rune_tap_party_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_rune_tap_party_SpellScript) + PrepareSpellScript(spell_dk_rune_tap_party_SpellScript); void CheckTargets(std::list& targets) { @@ -1217,7 +1217,7 @@ class spell_dk_scent_of_blood : public SpellScriptLoader class spell_dk_scent_of_blood_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_scent_of_blood_AuraScript) + PrepareAuraScript(spell_dk_scent_of_blood_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1253,7 +1253,7 @@ class spell_dk_scourge_strike : public SpellScriptLoader class spell_dk_scourge_strike_SpellScript : public SpellScript { - PrepareSpellScript(spell_dk_scourge_strike_SpellScript) + PrepareSpellScript(spell_dk_scourge_strike_SpellScript); float multiplier; bool Load() override @@ -1316,7 +1316,7 @@ class spell_dk_spell_deflection : public SpellScriptLoader class spell_dk_spell_deflection_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_spell_deflection_AuraScript) + PrepareAuraScript(spell_dk_spell_deflection_AuraScript); uint32 absorbPct; @@ -1360,7 +1360,7 @@ class spell_dk_vampiric_blood : public SpellScriptLoader class spell_dk_vampiric_blood_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_vampiric_blood_AuraScript) + PrepareAuraScript(spell_dk_vampiric_blood_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -1387,7 +1387,7 @@ class spell_dk_will_of_the_necropolis : public SpellScriptLoader class spell_dk_will_of_the_necropolis_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_will_of_the_necropolis_AuraScript) + PrepareAuraScript(spell_dk_will_of_the_necropolis_AuraScript); bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index e16b3113545d5..e466c15d417fe 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -54,7 +54,7 @@ class spell_dru_dash : public SpellScriptLoader class spell_dru_dash_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_dash_AuraScript) + PrepareAuraScript(spell_dru_dash_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -83,7 +83,7 @@ class spell_dru_enrage : public SpellScriptLoader class spell_dru_enrage_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_enrage_SpellScript) + PrepareSpellScript(spell_dru_enrage_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -119,7 +119,7 @@ class spell_dru_glyph_of_starfire : public SpellScriptLoader class spell_dru_glyph_of_starfire_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_glyph_of_starfire_SpellScript) + PrepareSpellScript(spell_dru_glyph_of_starfire_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -172,7 +172,7 @@ class spell_dru_idol_lifebloom : public SpellScriptLoader class spell_dru_idol_lifebloom_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_idol_lifebloom_AuraScript) + PrepareAuraScript(spell_dru_idol_lifebloom_AuraScript); void HandleEffectCalcSpellMod(AuraEffect const* aurEff, SpellModifier*& spellMod) { @@ -207,7 +207,7 @@ class spell_dru_innervate : public SpellScriptLoader class spell_dru_innervate_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_innervate_AuraScript) + PrepareAuraScript(spell_dru_innervate_AuraScript); void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -234,7 +234,7 @@ class spell_dru_insect_swarm : public SpellScriptLoader class spell_dru_insect_swarm_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_insect_swarm_AuraScript) + PrepareAuraScript(spell_dru_insect_swarm_AuraScript); void CalculateAmount(AuraEffect const* aurEff, int32 & amount, bool & /*canBeRecalculated*/) { @@ -263,7 +263,7 @@ class spell_dru_lifebloom : public SpellScriptLoader class spell_dru_lifebloom_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_lifebloom_AuraScript) + PrepareAuraScript(spell_dru_lifebloom_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -345,7 +345,7 @@ class spell_dru_living_seed : public SpellScriptLoader class spell_dru_living_seed_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_living_seed_AuraScript) + PrepareAuraScript(spell_dru_living_seed_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -381,7 +381,7 @@ class spell_dru_living_seed_proc : public SpellScriptLoader class spell_dru_living_seed_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_living_seed_proc_AuraScript) + PrepareAuraScript(spell_dru_living_seed_proc_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -416,7 +416,7 @@ class spell_dru_moonkin_form_passive : public SpellScriptLoader class spell_dru_moonkin_form_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_moonkin_form_passive_AuraScript) + PrepareAuraScript(spell_dru_moonkin_form_passive_AuraScript); uint32 absorbPct; @@ -460,7 +460,7 @@ class spell_dru_owlkin_frenzy : public SpellScriptLoader class spell_dru_owlkin_frenzy_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_owlkin_frenzy_AuraScript) + PrepareAuraScript(spell_dru_owlkin_frenzy_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -487,7 +487,7 @@ class spell_dru_predatory_strikes : public SpellScriptLoader class spell_dru_predatory_strikes_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_predatory_strikes_AuraScript) + PrepareAuraScript(spell_dru_predatory_strikes_AuraScript); void UpdateAmount(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -516,7 +516,7 @@ class spell_dru_primal_tenacity : public SpellScriptLoader class spell_dru_primal_tenacity_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_primal_tenacity_AuraScript) + PrepareAuraScript(spell_dru_primal_tenacity_AuraScript); uint32 absorbPct; @@ -560,7 +560,7 @@ class spell_dru_rip : public SpellScriptLoader class spell_dru_rip_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_rip_AuraScript) + PrepareAuraScript(spell_dru_rip_AuraScript); bool Load() override { @@ -608,7 +608,7 @@ class spell_dru_savage_defense : public SpellScriptLoader class spell_dru_savage_defense_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_savage_defense_AuraScript) + PrepareAuraScript(spell_dru_savage_defense_AuraScript); uint32 absorbPct; @@ -651,7 +651,7 @@ class spell_dru_savage_roar : public SpellScriptLoader class spell_dru_savage_roar_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_savage_roar_SpellScript) + PrepareSpellScript(spell_dru_savage_roar_SpellScript); SpellCastResult CheckCast() { @@ -670,7 +670,7 @@ class spell_dru_savage_roar : public SpellScriptLoader class spell_dru_savage_roar_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_savage_roar_AuraScript) + PrepareAuraScript(spell_dru_savage_roar_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -716,7 +716,7 @@ class spell_dru_starfall_aoe : public SpellScriptLoader class spell_dru_starfall_aoe_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_starfall_aoe_SpellScript) + PrepareSpellScript(spell_dru_starfall_aoe_SpellScript); void FilterTargets(std::list& targets) { @@ -743,7 +743,7 @@ class spell_dru_starfall_dummy : public SpellScriptLoader class spell_dru_starfall_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_starfall_dummy_SpellScript) + PrepareSpellScript(spell_dru_starfall_dummy_SpellScript); void FilterTargets(std::list& targets) { @@ -789,7 +789,7 @@ class spell_dru_survival_instincts : public SpellScriptLoader class spell_dru_survival_instincts_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_survival_instincts_SpellScript) + PrepareSpellScript(spell_dru_survival_instincts_SpellScript); SpellCastResult CheckCast() { @@ -808,7 +808,7 @@ class spell_dru_survival_instincts : public SpellScriptLoader class spell_dru_survival_instincts_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_survival_instincts_AuraScript) + PrepareAuraScript(spell_dru_survival_instincts_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -855,7 +855,7 @@ class spell_dru_swift_flight_passive : public SpellScriptLoader class spell_dru_swift_flight_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_dru_swift_flight_passive_AuraScript) + PrepareAuraScript(spell_dru_swift_flight_passive_AuraScript); bool Load() override { @@ -889,7 +889,7 @@ class spell_dru_tiger_s_fury : public SpellScriptLoader class spell_dru_tiger_s_fury_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_tiger_s_fury_SpellScript) + PrepareSpellScript(spell_dru_tiger_s_fury_SpellScript); void OnHit() { @@ -917,7 +917,7 @@ class spell_dru_typhoon : public SpellScriptLoader class spell_dru_typhoon_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_typhoon_SpellScript) + PrepareSpellScript(spell_dru_typhoon_SpellScript); void HandleKnockBack(SpellEffIndex effIndex) { @@ -946,7 +946,7 @@ class spell_dru_t10_restoration_4p_bonus : public SpellScriptLoader class spell_dru_t10_restoration_4p_bonus_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_t10_restoration_4p_bonus_SpellScript) + PrepareSpellScript(spell_dru_t10_restoration_4p_bonus_SpellScript); bool Load() override { @@ -1018,7 +1018,7 @@ class spell_dru_wild_growth : public SpellScriptLoader class spell_dru_wild_growth_SpellScript : public SpellScript { - PrepareSpellScript(spell_dru_wild_growth_SpellScript) + PrepareSpellScript(spell_dru_wild_growth_SpellScript); bool Validate(SpellInfo const* spellInfo) override { diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index 5c90109998ef9..4c72d79005976 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -45,7 +45,7 @@ class spell_gen_absorb0_hitlimit1 : public SpellScriptLoader class spell_gen_absorb0_hitlimit1_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_absorb0_hitlimit1_AuraScript) + PrepareAuraScript(spell_gen_absorb0_hitlimit1_AuraScript); uint32 limit; @@ -90,7 +90,7 @@ class spell_gen_adaptive_warding : public SpellScriptLoader class spell_gen_adaptive_warding_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_adaptive_warding_AuraScript) + PrepareAuraScript(spell_gen_adaptive_warding_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -171,7 +171,7 @@ class spell_gen_allow_cast_from_item_only : public SpellScriptLoader class spell_gen_allow_cast_from_item_only_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_allow_cast_from_item_only_SpellScript) + PrepareSpellScript(spell_gen_allow_cast_from_item_only_SpellScript); SpellCastResult CheckRequirement() { @@ -205,7 +205,7 @@ class spell_gen_animal_blood : public SpellScriptLoader class spell_gen_animal_blood_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_animal_blood_AuraScript) + PrepareAuraScript(spell_gen_animal_blood_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -249,7 +249,7 @@ class spell_gen_aura_of_anger : public SpellScriptLoader class spell_gen_aura_of_anger_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_aura_of_anger_AuraScript) + PrepareAuraScript(spell_gen_aura_of_anger_AuraScript); void HandleEffectPeriodicUpdate(AuraEffect* aurEff) { @@ -287,7 +287,7 @@ class spell_gen_aura_service_uniform : public SpellScriptLoader class spell_gen_aura_service_uniform_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_aura_service_uniform_AuraScript) + PrepareAuraScript(spell_gen_aura_service_uniform_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -336,7 +336,7 @@ class spell_gen_av_drekthar_presence : public SpellScriptLoader class spell_gen_av_drekthar_presence_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_av_drekthar_presence_AuraScript) + PrepareAuraScript(spell_gen_av_drekthar_presence_AuraScript); bool CheckAreaTarget(Unit* target) { @@ -384,7 +384,7 @@ class spell_gen_bandage : public SpellScriptLoader class spell_gen_bandage_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_bandage_SpellScript) + PrepareSpellScript(spell_gen_bandage_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -436,7 +436,7 @@ class spell_gen_bonked : public SpellScriptLoader class spell_gen_bonked_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_bonked_SpellScript) + PrepareSpellScript(spell_gen_bonked_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -509,7 +509,7 @@ class spell_gen_break_shield: public SpellScriptLoader class spell_gen_break_shield_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_break_shield_SpellScript) + PrepareSpellScript(spell_gen_break_shield_SpellScript); void HandleScriptEffect(SpellEffIndex effIndex) { @@ -586,7 +586,7 @@ class spell_gen_burn_brutallus : public SpellScriptLoader class spell_gen_burn_brutallus_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_burn_brutallus_AuraScript) + PrepareAuraScript(spell_gen_burn_brutallus_AuraScript); void HandleEffectPeriodicUpdate(AuraEffect* aurEff) { @@ -618,7 +618,7 @@ class spell_gen_cannibalize : public SpellScriptLoader class spell_gen_cannibalize_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_cannibalize_SpellScript) + PrepareSpellScript(spell_gen_cannibalize_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -671,7 +671,7 @@ class spell_gen_chaos_blast : public SpellScriptLoader class spell_gen_chaos_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_chaos_blast_SpellScript) + PrepareSpellScript(spell_gen_chaos_blast_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -706,7 +706,7 @@ class spell_gen_clone : public SpellScriptLoader class spell_gen_clone_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_clone_SpellScript) + PrepareSpellScript(spell_gen_clone_SpellScript); void HandleScriptEffect(SpellEffIndex effIndex) { @@ -746,7 +746,7 @@ class spell_gen_clone_weapon : public SpellScriptLoader class spell_gen_clone_weapon_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_clone_weapon_SpellScript) + PrepareSpellScript(spell_gen_clone_weapon_SpellScript); void HandleScriptEffect(SpellEffIndex effIndex) { @@ -773,7 +773,7 @@ class spell_gen_clone_weapon_aura : public SpellScriptLoader class spell_gen_clone_weapon_auraScript : public AuraScript { - PrepareAuraScript(spell_gen_clone_weapon_auraScript) + PrepareAuraScript(spell_gen_clone_weapon_auraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -895,7 +895,7 @@ class spell_gen_count_pct_from_max_hp : public SpellScriptLoader class spell_gen_count_pct_from_max_hp_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_count_pct_from_max_hp_SpellScript) + PrepareSpellScript(spell_gen_count_pct_from_max_hp_SpellScript); public: spell_gen_count_pct_from_max_hp_SpellScript(int32 damagePct) : SpellScript(), _damagePct(damagePct) { } @@ -940,7 +940,7 @@ class spell_gen_create_lance : public SpellScriptLoader class spell_gen_create_lance_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_create_lance_SpellScript) + PrepareSpellScript(spell_gen_create_lance_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -982,7 +982,7 @@ class spell_gen_creature_permanent_feign_death : public SpellScriptLoader class spell_gen_creature_permanent_feign_death_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_creature_permanent_feign_death_AuraScript) + PrepareAuraScript(spell_gen_creature_permanent_feign_death_AuraScript); void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1024,7 +1024,7 @@ class spell_gen_dalaran_disguise : public SpellScriptLoader class spell_gen_dalaran_disguise_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_dalaran_disguise_SpellScript) + PrepareSpellScript(spell_gen_dalaran_disguise_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -1096,7 +1096,7 @@ class spell_gen_damage_reduction_aura : public SpellScriptLoader class spell_gen_damage_reduction_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_damage_reduction_AuraScript) + PrepareAuraScript(spell_gen_damage_reduction_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1151,7 +1151,7 @@ class spell_gen_defend : public SpellScriptLoader class spell_gen_defend_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_defend_AuraScript) + PrepareAuraScript(spell_gen_defend_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1230,7 +1230,7 @@ class spell_gen_despawn_self : public SpellScriptLoader class spell_gen_despawn_self_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_despawn_self_SpellScript) + PrepareSpellScript(spell_gen_despawn_self_SpellScript); bool Load() override { @@ -1268,7 +1268,7 @@ class spell_gen_divine_storm_cd_reset : public SpellScriptLoader class spell_gen_divine_storm_cd_reset_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_divine_storm_cd_reset_SpellScript) + PrepareSpellScript(spell_gen_divine_storm_cd_reset_SpellScript); bool Load() override { @@ -1308,7 +1308,7 @@ class spell_gen_ds_flush_knockback : public SpellScriptLoader class spell_gen_ds_flush_knockback_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_ds_flush_knockback_SpellScript) + PrepareSpellScript(spell_gen_ds_flush_knockback_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1351,7 +1351,7 @@ class spell_gen_dummy_trigger : public SpellScriptLoader class spell_gen_dummy_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_dummy_trigger_SpellScript) + PrepareSpellScript(spell_gen_dummy_trigger_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1390,7 +1390,7 @@ class spell_gen_dungeon_credit : public SpellScriptLoader class spell_gen_dungeon_credit_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_dungeon_credit_SpellScript) + PrepareSpellScript(spell_gen_dungeon_credit_SpellScript); bool Load() override { @@ -1445,7 +1445,7 @@ class spell_gen_elune_candle : public SpellScriptLoader class spell_gen_elune_candle_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_elune_candle_SpellScript) + PrepareSpellScript(spell_gen_elune_candle_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1512,7 +1512,7 @@ class spell_gen_gadgetzan_transporter_backfire : public SpellScriptLoader class spell_gen_gadgetzan_transporter_backfire_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_gadgetzan_transporter_backfire_SpellScript) + PrepareSpellScript(spell_gen_gadgetzan_transporter_backfire_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1555,7 +1555,7 @@ class spell_gen_gift_of_naaru : public SpellScriptLoader class spell_gen_gift_of_naaru_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_gift_of_naaru_AuraScript) + PrepareAuraScript(spell_gen_gift_of_naaru_AuraScript); void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -1613,7 +1613,7 @@ class spell_gen_gnomish_transporter : public SpellScriptLoader class spell_gen_gnomish_transporter_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_gnomish_transporter_SpellScript) + PrepareSpellScript(spell_gen_gnomish_transporter_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1647,7 +1647,7 @@ class spell_gen_gunship_portal : public SpellScriptLoader class spell_gen_gunship_portal_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_gunship_portal_SpellScript) + PrepareSpellScript(spell_gen_gunship_portal_SpellScript); bool Load() override { @@ -1686,7 +1686,7 @@ class spell_gen_launch : public SpellScriptLoader class spell_gen_launch_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_launch_SpellScript) + PrepareSpellScript(spell_gen_launch_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1734,7 +1734,7 @@ class spell_gen_lifeblood : public SpellScriptLoader class spell_gen_lifeblood_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_lifeblood_AuraScript) + PrepareAuraScript(spell_gen_lifeblood_AuraScript); void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -1770,7 +1770,7 @@ class spell_gen_lifebloom : public SpellScriptLoader class spell_gen_lifebloom_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_lifebloom_AuraScript) + PrepareAuraScript(spell_gen_lifebloom_AuraScript); public: spell_gen_lifebloom_AuraScript(uint32 spellId) : AuraScript(), _spellId(spellId) { } @@ -1824,7 +1824,7 @@ class spell_gen_magic_rooster : public SpellScriptLoader class spell_gen_magic_rooster_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_magic_rooster_SpellScript) + PrepareSpellScript(spell_gen_magic_rooster_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1923,7 +1923,7 @@ class spell_gen_mount : public SpellScriptLoader class spell_gen_mount_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_mount_SpellScript) + PrepareSpellScript(spell_gen_mount_SpellScript); public: spell_gen_mount_SpellScript(uint32 mount0, uint32 mount60, uint32 mount100, uint32 mount150, uint32 mount280, uint32 mount310) : SpellScript(), @@ -2094,7 +2094,7 @@ class spell_gen_mounted_charge: public SpellScriptLoader class spell_gen_mounted_charge_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_mounted_charge_SpellScript) + PrepareSpellScript(spell_gen_mounted_charge_SpellScript); void HandleScriptEffect(SpellEffIndex effIndex) { @@ -2211,7 +2211,7 @@ class spell_gen_netherbloom : public SpellScriptLoader class spell_gen_netherbloom_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_netherbloom_SpellScript) + PrepareSpellScript(spell_gen_netherbloom_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2269,7 +2269,7 @@ class spell_gen_nightmare_vine : public SpellScriptLoader class spell_gen_nightmare_vine_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_nightmare_vine_SpellScript) + PrepareSpellScript(spell_gen_nightmare_vine_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2320,7 +2320,7 @@ class spell_gen_obsidian_armor : public SpellScriptLoader class spell_gen_obsidian_armor_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_obsidian_armor_AuraScript) + PrepareAuraScript(spell_gen_obsidian_armor_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2491,7 +2491,7 @@ class spell_gen_on_tournament_mount : public SpellScriptLoader class spell_gen_on_tournament_mount_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_on_tournament_mount_AuraScript) + PrepareAuraScript(spell_gen_on_tournament_mount_AuraScript); uint32 _pennantSpellId; @@ -2649,7 +2649,7 @@ class spell_gen_oracle_wolvar_reputation : public SpellScriptLoader class spell_gen_oracle_wolvar_reputation_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_oracle_wolvar_reputation_SpellScript) + PrepareSpellScript(spell_gen_oracle_wolvar_reputation_SpellScript); bool Load() override { @@ -2701,7 +2701,7 @@ class spell_gen_orc_disguise : public SpellScriptLoader class spell_gen_orc_disguise_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_orc_disguise_SpellScript) + PrepareSpellScript(spell_gen_orc_disguise_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2751,7 +2751,7 @@ class spell_gen_parachute : public SpellScriptLoader class spell_gen_parachute_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_parachute_AuraScript) + PrepareAuraScript(spell_gen_parachute_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2795,7 +2795,7 @@ class spell_gen_parachute_ic : public SpellScriptLoader class spell_gen_parachute_ic_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_parachute_ic_AuraScript) + PrepareAuraScript(spell_gen_parachute_ic_AuraScript); void HandleTriggerSpell(AuraEffect const* /*aurEff*/) { @@ -2830,7 +2830,7 @@ class spell_gen_pet_summoned : public SpellScriptLoader class spell_gen_pet_summoned_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_pet_summoned_SpellScript) + PrepareSpellScript(spell_gen_pet_summoned_SpellScript); bool Load() override { @@ -2843,7 +2843,7 @@ class spell_gen_pet_summoned : public SpellScriptLoader if (player->GetLastPetNumber()) { PetType newPetType = (player->getClass() == CLASS_HUNTER) ? HUNTER_PET : SUMMON_PET; - auto newPet = new Pet(player, newPetType); + Pet* newPet = new Pet(player, newPetType); if (newPet->LoadPetFromDB(player, 0, player->GetLastPetNumber(), true)) { // revive the pet if it is dead @@ -2887,7 +2887,7 @@ class spell_gen_profession_research : public SpellScriptLoader class spell_gen_profession_research_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_profession_research_SpellScript) + PrepareSpellScript(spell_gen_profession_research_SpellScript); bool Load() override { @@ -2937,7 +2937,7 @@ class spell_gen_remove_flight_auras : public SpellScriptLoader class spell_gen_remove_flight_auras_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_remove_flight_auras_SpellScript) + PrepareSpellScript(spell_gen_remove_flight_auras_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2985,7 +2985,7 @@ class spell_gen_replenishment : public SpellScriptLoader class spell_gen_replenishment_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_replenishment_SpellScript) + PrepareSpellScript(spell_gen_replenishment_SpellScript); void RemoveInvalidTargets(std::list& targets) { @@ -3024,7 +3024,7 @@ class spell_gen_replenishment : public SpellScriptLoader class spell_gen_replenishment_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_replenishment_AuraScript) + PrepareAuraScript(spell_gen_replenishment_AuraScript); bool Load() override { @@ -3070,7 +3070,7 @@ class spell_gen_seaforium_blast : public SpellScriptLoader class spell_gen_seaforium_blast_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_seaforium_blast_SpellScript) + PrepareSpellScript(spell_gen_seaforium_blast_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3122,7 +3122,7 @@ class spell_gen_spectator_cheer_trigger : public SpellScriptLoader class spell_gen_spectator_cheer_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_spectator_cheer_trigger_SpellScript) + PrepareSpellScript(spell_gen_spectator_cheer_trigger_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -3148,7 +3148,7 @@ class spell_gen_spirit_healer_res : public SpellScriptLoader class spell_gen_spirit_healer_res_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_spirit_healer_res_SpellScript) + PrepareSpellScript(spell_gen_spirit_healer_res_SpellScript); bool Load() override { @@ -3191,7 +3191,7 @@ class spell_gen_summon_elemental : public SpellScriptLoader class spell_gen_summon_elemental_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_summon_elemental_AuraScript) + PrepareAuraScript(spell_gen_summon_elemental_AuraScript); public: spell_gen_summon_elemental_AuraScript(uint32 spellId) : AuraScript(), _spellId(spellId) { } @@ -3249,7 +3249,7 @@ class spell_gen_summon_tournament_mount : public SpellScriptLoader class spell_gen_summon_tournament_mount_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_summon_tournament_mount_SpellScript) + PrepareSpellScript(spell_gen_summon_tournament_mount_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3292,7 +3292,7 @@ class spell_gen_throw_shield : public SpellScriptLoader class spell_gen_throw_shield_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_throw_shield_SpellScript) + PrepareSpellScript(spell_gen_throw_shield_SpellScript); void HandleScriptEffect(SpellEffIndex effIndex) { @@ -3325,7 +3325,7 @@ class spell_gen_tournament_duel : public SpellScriptLoader class spell_gen_tournament_duel_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_tournament_duel_SpellScript) + PrepareSpellScript(spell_gen_tournament_duel_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3371,7 +3371,7 @@ class spell_gen_tournament_pennant : public SpellScriptLoader class spell_gen_tournament_pennant_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_tournament_pennant_AuraScript) + PrepareAuraScript(spell_gen_tournament_pennant_AuraScript); bool Load() override { @@ -3412,7 +3412,7 @@ class spell_pvp_trinket_wotf_shared_cd : public SpellScriptLoader class spell_pvp_trinket_wotf_shared_cd_SpellScript : public SpellScript { - PrepareSpellScript(spell_pvp_trinket_wotf_shared_cd_SpellScript) + PrepareSpellScript(spell_pvp_trinket_wotf_shared_cd_SpellScript); bool Load() override { @@ -3458,7 +3458,7 @@ class spell_gen_turkey_marker : public SpellScriptLoader class spell_gen_turkey_marker_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_turkey_marker_AuraScript) + PrepareAuraScript(spell_gen_turkey_marker_AuraScript); void OnApply(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { @@ -3512,7 +3512,7 @@ class spell_gen_upper_deck_create_foam_sword : public SpellScriptLoader class spell_gen_upper_deck_create_foam_sword_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_upper_deck_create_foam_sword_SpellScript) + PrepareSpellScript(spell_gen_upper_deck_create_foam_sword_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -3554,7 +3554,7 @@ class spell_gen_vehicle_scaling : public SpellScriptLoader class spell_gen_vehicle_scaling_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_vehicle_scaling_AuraScript) + PrepareAuraScript(spell_gen_vehicle_scaling_AuraScript); bool Load() override { @@ -3614,7 +3614,7 @@ class spell_gen_vendor_bark_trigger : public SpellScriptLoader class spell_gen_vendor_bark_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_vendor_bark_trigger_SpellScript) + PrepareSpellScript(spell_gen_vendor_bark_trigger_SpellScript); void HandleDummy(SpellEffIndex /* effIndex */) { @@ -3643,7 +3643,7 @@ class spell_gen_wg_water : public SpellScriptLoader class spell_gen_wg_water_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_wg_water_SpellScript) + PrepareSpellScript(spell_gen_wg_water_SpellScript); SpellCastResult CheckCast() { @@ -3676,7 +3676,7 @@ class spell_gen_whisper_gulch_yogg_saron_whisper : public SpellScriptLoader class spell_gen_whisper_gulch_yogg_saron_whisper_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_whisper_gulch_yogg_saron_whisper_AuraScript) + PrepareAuraScript(spell_gen_whisper_gulch_yogg_saron_whisper_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -3710,7 +3710,7 @@ class spell_gen_eject_all_passengers : public SpellScriptLoader class spell_gen_eject_all_passengers_SpellScript : public SpellScript { - PrepareSpellScript(spell_gen_eject_all_passengers_SpellScript) + PrepareSpellScript(spell_gen_eject_all_passengers_SpellScript); void RemoveVehicleAuras() { diff --git a/src/server/scripts/Spells/spell_holiday.cpp b/src/server/scripts/Spells/spell_holiday.cpp index 08984fd86d4b2..85bf85fa2d2fa 100644 --- a/src/server/scripts/Spells/spell_holiday.cpp +++ b/src/server/scripts/Spells/spell_holiday.cpp @@ -48,7 +48,7 @@ class spell_love_is_in_the_air_romantic_picnic : public SpellScriptLoader class spell_love_is_in_the_air_romantic_picnic_AuraScript : public AuraScript { - PrepareAuraScript(spell_love_is_in_the_air_romantic_picnic_AuraScript) + PrepareAuraScript(spell_love_is_in_the_air_romantic_picnic_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -134,7 +134,7 @@ class spell_hallow_end_trick : public SpellScriptLoader class spell_hallow_end_trick_SpellScript : public SpellScript { - PrepareSpellScript(spell_hallow_end_trick_SpellScript) + PrepareSpellScript(spell_hallow_end_trick_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -207,7 +207,7 @@ class spell_hallow_end_trick_or_treat : public SpellScriptLoader class spell_hallow_end_trick_or_treat_SpellScript : public SpellScript { - PrepareSpellScript(spell_hallow_end_trick_or_treat_SpellScript) + PrepareSpellScript(spell_hallow_end_trick_or_treat_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -245,7 +245,7 @@ class spell_hallow_end_tricky_treat : public SpellScriptLoader class spell_hallow_end_tricky_treat_SpellScript : public SpellScript { - PrepareSpellScript(spell_hallow_end_tricky_treat_SpellScript) + PrepareSpellScript(spell_hallow_end_tricky_treat_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -296,7 +296,7 @@ class spell_pilgrims_bounty_buff_food : public SpellScriptLoader class spell_pilgrims_bounty_buff_food_AuraScript : public AuraScript { - PrepareAuraScript(spell_pilgrims_bounty_buff_food_AuraScript) + PrepareAuraScript(spell_pilgrims_bounty_buff_food_AuraScript); private: uint32 const _triggeredSpellId; @@ -347,7 +347,7 @@ class spell_winter_veil_mistletoe : public SpellScriptLoader class spell_winter_veil_mistletoe_SpellScript : public SpellScript { - PrepareSpellScript(spell_winter_veil_mistletoe_SpellScript) + PrepareSpellScript(spell_winter_veil_mistletoe_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -395,7 +395,7 @@ class spell_winter_veil_px_238_winter_wondervolt : public SpellScriptLoader class spell_winter_veil_px_238_winter_wondervolt_SpellScript : public SpellScript { - PrepareSpellScript(spell_winter_veil_px_238_winter_wondervolt_SpellScript) + PrepareSpellScript(spell_winter_veil_px_238_winter_wondervolt_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index eaefe3f863186..2739a8453dfdd 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -65,7 +65,7 @@ class spell_hun_aspect_of_the_beast : public SpellScriptLoader class spell_hun_aspect_of_the_beast_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_aspect_of_the_beast_AuraScript) + PrepareAuraScript(spell_hun_aspect_of_the_beast_AuraScript); bool Load() override { @@ -114,7 +114,7 @@ class spell_hun_ascpect_of_the_viper : public SpellScriptLoader class spell_hun_ascpect_of_the_viper_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_ascpect_of_the_viper_AuraScript) + PrepareAuraScript(spell_hun_ascpect_of_the_viper_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -175,7 +175,7 @@ class spell_hun_chimera_shot : public SpellScriptLoader class spell_hun_chimera_shot_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_chimera_shot_SpellScript) + PrepareSpellScript(spell_hun_chimera_shot_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -268,7 +268,7 @@ class spell_hun_disengage : public SpellScriptLoader class spell_hun_disengage_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_disengage_SpellScript) + PrepareSpellScript(spell_hun_disengage_SpellScript); SpellCastResult CheckCast() { @@ -299,7 +299,7 @@ class spell_hun_improved_mend_pet : public SpellScriptLoader class spell_hun_improved_mend_pet_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_improved_mend_pet_AuraScript) + PrepareAuraScript(spell_hun_improved_mend_pet_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -339,7 +339,7 @@ class spell_hun_invigoration : public SpellScriptLoader class spell_hun_invigoration_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_invigoration_SpellScript) + PrepareSpellScript(spell_hun_invigoration_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -376,7 +376,7 @@ class spell_hun_last_stand_pet : public SpellScriptLoader class spell_hun_last_stand_pet_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_last_stand_pet_SpellScript) + PrepareSpellScript(spell_hun_last_stand_pet_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -412,7 +412,7 @@ class spell_hun_masters_call : public SpellScriptLoader class spell_hun_masters_call_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_masters_call_SpellScript) + PrepareSpellScript(spell_hun_masters_call_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -464,7 +464,7 @@ class spell_hun_misdirection : public SpellScriptLoader class spell_hun_misdirection_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_misdirection_AuraScript) + PrepareAuraScript(spell_hun_misdirection_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -512,7 +512,7 @@ class spell_hun_misdirection_proc : public SpellScriptLoader class spell_hun_misdirection_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_misdirection_proc_AuraScript) + PrepareAuraScript(spell_hun_misdirection_proc_AuraScript); void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -539,7 +539,7 @@ class spell_hun_pet_carrion_feeder : public SpellScriptLoader class spell_hun_pet_carrion_feeder_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_pet_carrion_feeder_SpellScript) + PrepareSpellScript(spell_hun_pet_carrion_feeder_SpellScript); bool Load() override { @@ -596,7 +596,7 @@ class spell_hun_pet_heart_of_the_phoenix : public SpellScriptLoader class spell_hun_pet_heart_of_the_phoenix_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_pet_heart_of_the_phoenix_SpellScript) + PrepareSpellScript(spell_hun_pet_heart_of_the_phoenix_SpellScript); bool Load() override { @@ -643,7 +643,7 @@ class spell_hun_readiness : public SpellScriptLoader class spell_hun_readiness_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_readiness_SpellScript) + PrepareSpellScript(spell_hun_readiness_SpellScript); bool Load() override { @@ -692,7 +692,7 @@ class spell_hun_scatter_shot : public SpellScriptLoader class spell_hun_scatter_shot_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_scatter_shot_SpellScript) + PrepareSpellScript(spell_hun_scatter_shot_SpellScript); bool Load() override { @@ -728,7 +728,7 @@ class spell_hun_sniper_training : public SpellScriptLoader class spell_hun_sniper_training_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_sniper_training_AuraScript) + PrepareAuraScript(spell_hun_sniper_training_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -782,7 +782,7 @@ class spell_hun_tame_beast : public SpellScriptLoader class spell_hun_tame_beast_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_tame_beast_SpellScript) + PrepareSpellScript(spell_hun_tame_beast_SpellScript); SpellCastResult CheckCast() { @@ -835,7 +835,7 @@ class spell_hun_target_only_pet_and_owner : public SpellScriptLoader class spell_hun_target_only_pet_and_owner_SpellScript : public SpellScript { - PrepareSpellScript(spell_hun_target_only_pet_and_owner_SpellScript) + PrepareSpellScript(spell_hun_target_only_pet_and_owner_SpellScript); void FilterTargets(std::list& targets) { @@ -866,7 +866,7 @@ class spell_hun_viper_attack_speed : public SpellScriptLoader class spell_hun_viper_attack_speed_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_viper_attack_speed_AuraScript) + PrepareAuraScript(spell_hun_viper_attack_speed_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 41e0dcbebcac2..be3b48b114de1 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -40,7 +40,7 @@ class spell_item_trigger_spell : public SpellScriptLoader class spell_item_trigger_spell_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_trigger_spell_SpellScript) + PrepareSpellScript(spell_item_trigger_spell_SpellScript); private: uint32 _triggeredSpellId; @@ -86,7 +86,7 @@ class spell_item_aegis_of_preservation : public SpellScriptLoader class spell_item_aegis_of_preservation_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_aegis_of_preservation_AuraScript) + PrepareAuraScript(spell_item_aegis_of_preservation_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -121,7 +121,7 @@ class spell_item_arcane_shroud : public SpellScriptLoader class spell_item_arcane_shroud_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_arcane_shroud_AuraScript) + PrepareAuraScript(spell_item_arcane_shroud_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -155,7 +155,7 @@ class spell_item_blessing_of_ancient_kings : public SpellScriptLoader class spell_item_blessing_of_ancient_kings_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_blessing_of_ancient_kings_AuraScript) + PrepareAuraScript(spell_item_blessing_of_ancient_kings_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -215,7 +215,7 @@ class spell_item_defibrillate : public SpellScriptLoader class spell_item_defibrillate_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_defibrillate_SpellScript) + PrepareSpellScript(spell_item_defibrillate_SpellScript); public: spell_item_defibrillate_SpellScript(uint8 chance, uint32 failSpell) : SpellScript(), _chance(chance), _failSpell(failSpell) { } @@ -270,7 +270,7 @@ class spell_item_desperate_defense : public SpellScriptLoader class spell_item_desperate_defense_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_desperate_defense_AuraScript) + PrepareAuraScript(spell_item_desperate_defense_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -315,7 +315,7 @@ class spell_item_deviate_fish : public SpellScriptLoader class spell_item_deviate_fish_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_deviate_fish_SpellScript) + PrepareSpellScript(spell_item_deviate_fish_SpellScript); bool Load() override { @@ -357,7 +357,7 @@ class spell_item_echoes_of_light : public SpellScriptLoader class spell_item_echoes_of_light_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_echoes_of_light_SpellScript) + PrepareSpellScript(spell_item_echoes_of_light_SpellScript); void FilterTargets(std::list& targets) { @@ -399,7 +399,7 @@ class spell_item_flask_of_the_north : public SpellScriptLoader class spell_item_flask_of_the_north_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_flask_of_the_north_SpellScript) + PrepareSpellScript(spell_item_flask_of_the_north_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -468,7 +468,7 @@ class spell_item_gnomish_death_ray : public SpellScriptLoader class spell_item_gnomish_death_ray_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_gnomish_death_ray_SpellScript) + PrepareSpellScript(spell_item_gnomish_death_ray_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -519,7 +519,7 @@ class spell_item_make_a_wish : public SpellScriptLoader class spell_item_make_a_wish_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_make_a_wish_SpellScript) + PrepareSpellScript(spell_item_make_a_wish_SpellScript); bool Load() override { @@ -568,7 +568,7 @@ class spell_item_mingos_fortune_generator : public SpellScriptLoader class spell_item_mingos_fortune_generator_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_mingos_fortune_generator_SpellScript) + PrepareSpellScript(spell_item_mingos_fortune_generator_SpellScript); void HandleDummy(SpellEffIndex effIndex) { @@ -628,7 +628,7 @@ class spell_item_necrotic_touch : public SpellScriptLoader class spell_item_necrotic_touch_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_necrotic_touch_AuraScript) + PrepareAuraScript(spell_item_necrotic_touch_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -678,7 +678,7 @@ class spell_item_net_o_matic : public SpellScriptLoader class spell_item_net_o_matic_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_net_o_matic_SpellScript) + PrepareSpellScript(spell_item_net_o_matic_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -730,7 +730,7 @@ class spell_item_noggenfogger_elixir : public SpellScriptLoader class spell_item_noggenfogger_elixir_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_noggenfogger_elixir_SpellScript) + PrepareSpellScript(spell_item_noggenfogger_elixir_SpellScript); bool Load() override { @@ -777,7 +777,7 @@ class spell_item_piccolo_of_the_flaming_fire : public SpellScriptLoader class spell_item_piccolo_of_the_flaming_fire_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_piccolo_of_the_flaming_fire_SpellScript) + PrepareSpellScript(spell_item_piccolo_of_the_flaming_fire_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -815,7 +815,7 @@ class spell_item_savory_deviate_delight : public SpellScriptLoader class spell_item_savory_deviate_delight_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_savory_deviate_delight_SpellScript) + PrepareSpellScript(spell_item_savory_deviate_delight_SpellScript); bool Load() override { @@ -876,7 +876,7 @@ class spell_item_scroll_of_recall : public SpellScriptLoader class spell_item_scroll_of_recall_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_scroll_of_recall_SpellScript) + PrepareSpellScript(spell_item_scroll_of_recall_SpellScript); bool Load() override { @@ -943,7 +943,7 @@ class spell_item_unsated_craving : public SpellScriptLoader class spell_item_unsated_craving_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_unsated_craving_AuraScript) + PrepareAuraScript(spell_item_unsated_craving_AuraScript); bool CheckProc(ProcEventInfo& procInfo) { @@ -977,7 +977,7 @@ class spell_item_shadows_fate : public SpellScriptLoader class spell_item_shadows_fate_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_shadows_fate_AuraScript) + PrepareAuraScript(spell_item_shadows_fate_AuraScript); void HandleProc(ProcEventInfo& procInfo) { @@ -1018,7 +1018,7 @@ class spell_item_shadowmourne : public SpellScriptLoader class spell_item_shadowmourne_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_shadowmourne_AuraScript) + PrepareAuraScript(spell_item_shadowmourne_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1075,7 +1075,7 @@ class spell_item_shadowmourne_soul_fragment : public SpellScriptLoader class spell_item_shadowmourne_soul_fragment_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_shadowmourne_soul_fragment_AuraScript) + PrepareAuraScript(spell_item_shadowmourne_soul_fragment_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1144,7 +1144,7 @@ class spell_item_six_demon_bag : public SpellScriptLoader class spell_item_six_demon_bag_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_six_demon_bag_SpellScript) + PrepareSpellScript(spell_item_six_demon_bag_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1204,7 +1204,7 @@ class spell_item_the_eye_of_diminution : public SpellScriptLoader class spell_item_the_eye_of_diminution_AuraScript : public AuraScript { - PrepareAuraScript(spell_item_the_eye_of_diminution_AuraScript) + PrepareAuraScript(spell_item_the_eye_of_diminution_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -1241,7 +1241,7 @@ class spell_item_underbelly_elixir : public SpellScriptLoader class spell_item_underbelly_elixir_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_underbelly_elixir_SpellScript) + PrepareSpellScript(spell_item_underbelly_elixir_SpellScript); bool Load() override { @@ -1292,7 +1292,7 @@ class spell_item_red_rider_air_rifle : public SpellScriptLoader class spell_item_red_rider_air_rifle_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_red_rider_air_rifle_SpellScript) + PrepareSpellScript(spell_item_red_rider_air_rifle_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1357,7 +1357,7 @@ class spell_item_create_heart_candy : public SpellScriptLoader class spell_item_create_heart_candy_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_create_heart_candy_SpellScript) + PrepareSpellScript(spell_item_create_heart_candy_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -1388,7 +1388,7 @@ class spell_item_book_of_glyph_mastery : public SpellScriptLoader class spell_item_book_of_glyph_mastery_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_book_of_glyph_mastery_SpellScript) + PrepareSpellScript(spell_item_book_of_glyph_mastery_SpellScript); bool Load() override { @@ -1442,7 +1442,7 @@ class spell_item_gift_of_the_harvester : public SpellScriptLoader class spell_item_gift_of_the_harvester_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_gift_of_the_harvester_SpellScript) + PrepareSpellScript(spell_item_gift_of_the_harvester_SpellScript); SpellCastResult CheckRequirement() { @@ -1483,7 +1483,7 @@ class spell_item_map_of_the_geyser_fields : public SpellScriptLoader class spell_item_map_of_the_geyser_fields_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_map_of_the_geyser_fields_SpellScript) + PrepareSpellScript(spell_item_map_of_the_geyser_fields_SpellScript); SpellCastResult CheckSinkholes() { @@ -1523,7 +1523,7 @@ class spell_item_vanquished_clutches : public SpellScriptLoader class spell_item_vanquished_clutches_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_vanquished_clutches_SpellScript) + PrepareSpellScript(spell_item_vanquished_clutches_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1574,7 +1574,7 @@ class spell_item_ashbringer : public SpellScriptLoader class spell_item_ashbringer_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_ashbringer_SpellScript) + PrepareSpellScript(spell_item_ashbringer_SpellScript); bool Load() override { @@ -1623,7 +1623,7 @@ class spell_magic_eater_food : public SpellScriptLoader class spell_magic_eater_food_AuraScript : public AuraScript { - PrepareAuraScript(spell_magic_eater_food_AuraScript) + PrepareAuraScript(spell_magic_eater_food_AuraScript); void HandleTriggerSpell(AuraEffect const* /*aurEff*/) { @@ -1671,7 +1671,7 @@ class spell_item_shimmering_vessel : public SpellScriptLoader class spell_item_shimmering_vessel_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_shimmering_vessel_SpellScript) + PrepareSpellScript(spell_item_shimmering_vessel_SpellScript); void HandleDummy(SpellEffIndex /* effIndex */) { @@ -1704,7 +1704,7 @@ class spell_item_purify_helboar_meat : public SpellScriptLoader class spell_item_purify_helboar_meat_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_purify_helboar_meat_SpellScript) + PrepareSpellScript(spell_item_purify_helboar_meat_SpellScript); bool Load() override { @@ -1748,7 +1748,7 @@ class spell_item_crystal_prison_dummy_dnd : public SpellScriptLoader class spell_item_crystal_prison_dummy_dnd_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_crystal_prison_dummy_dnd_SpellScript) + PrepareSpellScript(spell_item_crystal_prison_dummy_dnd_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1795,7 +1795,7 @@ class spell_item_reindeer_transformation : public SpellScriptLoader class spell_item_reindeer_transformation_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_reindeer_transformation_SpellScript) + PrepareSpellScript(spell_item_reindeer_transformation_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1860,7 +1860,7 @@ class spell_item_nigh_invulnerability : public SpellScriptLoader class spell_item_nigh_invulnerability_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_nigh_invulnerability_SpellScript) + PrepareSpellScript(spell_item_nigh_invulnerability_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1906,7 +1906,7 @@ class spell_item_poultryizer : public SpellScriptLoader class spell_item_poultryizer_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_poultryizer_SpellScript) + PrepareSpellScript(spell_item_poultryizer_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1946,7 +1946,7 @@ class spell_item_socrethars_stone : public SpellScriptLoader class spell_item_socrethars_stone_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_socrethars_stone_SpellScript) + PrepareSpellScript(spell_item_socrethars_stone_SpellScript); bool Load() override { @@ -2001,7 +2001,7 @@ class spell_item_demon_broiled_surprise : public SpellScriptLoader class spell_item_demon_broiled_surprise_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_demon_broiled_surprise_SpellScript) + PrepareSpellScript(spell_item_demon_broiled_surprise_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2058,7 +2058,7 @@ class spell_item_complete_raptor_capture : public SpellScriptLoader class spell_item_complete_raptor_capture_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_complete_raptor_capture_SpellScript) + PrepareSpellScript(spell_item_complete_raptor_capture_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2104,7 +2104,7 @@ class spell_item_impale_leviroth : public SpellScriptLoader class spell_item_impale_leviroth_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_impale_leviroth_SpellScript) + PrepareSpellScript(spell_item_impale_leviroth_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2149,7 +2149,7 @@ class spell_item_brewfest_mount_transformation : public SpellScriptLoader class spell_item_brewfest_mount_transformation_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_brewfest_mount_transformation_SpellScript) + PrepareSpellScript(spell_item_brewfest_mount_transformation_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2212,7 +2212,7 @@ class spell_item_nitro_boots : public SpellScriptLoader class spell_item_nitro_boots_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_nitro_boots_SpellScript) + PrepareSpellScript(spell_item_nitro_boots_SpellScript); bool Load() override { @@ -2259,7 +2259,7 @@ class spell_item_teach_language : public SpellScriptLoader class spell_item_teach_language_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_teach_language_SpellScript) + PrepareSpellScript(spell_item_teach_language_SpellScript); bool Load() override { @@ -2305,7 +2305,7 @@ class spell_item_rocket_boots : public SpellScriptLoader class spell_item_rocket_boots_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_rocket_boots_SpellScript) + PrepareSpellScript(spell_item_rocket_boots_SpellScript); bool Load() override { @@ -2362,7 +2362,7 @@ class spell_item_pygmy_oil : public SpellScriptLoader class spell_item_pygmy_oil_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_pygmy_oil_SpellScript) + PrepareSpellScript(spell_item_pygmy_oil_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2408,7 +2408,7 @@ class spell_item_unusual_compass : public SpellScriptLoader class spell_item_unusual_compass_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_unusual_compass_SpellScript) + PrepareSpellScript(spell_item_unusual_compass_SpellScript); void HandleDummy(SpellEffIndex /* effIndex */) { @@ -2443,7 +2443,7 @@ class spell_item_chicken_cover : public SpellScriptLoader class spell_item_chicken_cover_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_chicken_cover_SpellScript) + PrepareSpellScript(spell_item_chicken_cover_SpellScript); bool Load() override { @@ -2496,7 +2496,7 @@ class spell_item_refocus : public SpellScriptLoader class spell_item_refocus_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_refocus_SpellScript) + PrepareSpellScript(spell_item_refocus_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -2534,7 +2534,7 @@ class spell_item_muisek_vessel : public SpellScriptLoader class spell_item_muisek_vessel_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_muisek_vessel_SpellScript) + PrepareSpellScript(spell_item_muisek_vessel_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -2566,7 +2566,7 @@ class spell_item_greatmothers_soulcatcher : public SpellScriptLoader class spell_item_greatmothers_soulcatcher_SpellScript : public SpellScript { - PrepareSpellScript(spell_item_greatmothers_soulcatcher_SpellScript) + PrepareSpellScript(spell_item_greatmothers_soulcatcher_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp index 1f41c7974cd54..edb9cd04b44d6 100644 --- a/src/server/scripts/Spells/spell_mage.cpp +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -82,7 +82,7 @@ class spell_mage_blast_wave : public SpellScriptLoader class spell_mage_blast_wave_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_blast_wave_SpellScript) + PrepareSpellScript(spell_mage_blast_wave_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -117,7 +117,7 @@ class spell_mage_burnout : public SpellScriptLoader class spell_mage_burnout_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_burnout_AuraScript) + PrepareAuraScript(spell_mage_burnout_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -162,7 +162,7 @@ class spell_mage_cold_snap : public SpellScriptLoader class spell_mage_cold_snap_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_cold_snap_SpellScript) + PrepareSpellScript(spell_mage_cold_snap_SpellScript); bool Load() override { @@ -210,7 +210,7 @@ class spell_mage_fire_frost_ward : public SpellScriptLoader class spell_mage_fire_frost_ward_AuraScript : public spell_mage_incanters_absorbtion_base_AuraScript { - PrepareAuraScript(spell_mage_fire_frost_ward_AuraScript) + PrepareAuraScript(spell_mage_fire_frost_ward_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -276,7 +276,7 @@ class spell_mage_focus_magic : public SpellScriptLoader class spell_mage_focus_magic_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_focus_magic_AuraScript) + PrepareAuraScript(spell_mage_focus_magic_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -327,7 +327,7 @@ class spell_mage_ice_barrier : public SpellScriptLoader class spell_mage_ice_barrier_AuraScript : public spell_mage_incanters_absorbtion_base_AuraScript { - PrepareAuraScript(spell_mage_ice_barrier_AuraScript) + PrepareAuraScript(spell_mage_ice_barrier_AuraScript); void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated) { @@ -370,7 +370,7 @@ class spell_mage_ignite : public SpellScriptLoader class spell_mage_ignite_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_ignite_AuraScript) + PrepareAuraScript(spell_mage_ignite_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -417,7 +417,7 @@ class spell_mage_living_bomb : public SpellScriptLoader class spell_mage_living_bomb_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_living_bomb_AuraScript) + PrepareAuraScript(spell_mage_living_bomb_AuraScript); bool Validate(SpellInfo const* spell) override { @@ -456,7 +456,7 @@ class spell_mage_mana_shield : public SpellScriptLoader class spell_mage_mana_shield_AuraScript : public spell_mage_incanters_absorbtion_base_AuraScript { - PrepareAuraScript(spell_mage_mana_shield_AuraScript) + PrepareAuraScript(spell_mage_mana_shield_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated) { @@ -494,7 +494,7 @@ class spell_mage_master_of_elements : public SpellScriptLoader class spell_mage_master_of_elements_AuraScript : public AuraScript { - PrepareAuraScript(spell_mage_master_of_elements_AuraScript) + PrepareAuraScript(spell_mage_master_of_elements_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -546,7 +546,7 @@ class spell_mage_polymorph_cast_visual : public SpellScriptLoader class spell_mage_polymorph_cast_visual_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_polymorph_cast_visual_SpellScript) + PrepareSpellScript(spell_mage_polymorph_cast_visual_SpellScript); static const uint32 PolymorhForms[6]; @@ -596,7 +596,7 @@ class spell_mage_summon_water_elemental : public SpellScriptLoader class spell_mage_summon_water_elemental_SpellScript : public SpellScript { - PrepareSpellScript(spell_mage_summon_water_elemental_SpellScript) + PrepareSpellScript(spell_mage_summon_water_elemental_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 753d521c6527e..bf4f1b77a19cb 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -97,7 +97,7 @@ class spell_pal_ardent_defender : public SpellScriptLoader class spell_pal_ardent_defender_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_ardent_defender_AuraScript) + PrepareAuraScript(spell_pal_ardent_defender_AuraScript); uint32 absorbPct, healPct; @@ -173,7 +173,7 @@ class spell_pal_aura_mastery : public SpellScriptLoader class spell_pal_aura_mastery_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_aura_mastery_AuraScript) + PrepareAuraScript(spell_pal_aura_mastery_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -213,7 +213,7 @@ class spell_pal_aura_mastery_immune : public SpellScriptLoader class spell_pal_aura_mastery_immune_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_aura_mastery_immune_AuraScript) + PrepareAuraScript(spell_pal_aura_mastery_immune_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -247,7 +247,7 @@ class spell_pal_avenging_wrath : public SpellScriptLoader class spell_pal_avenging_wrath_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_avenging_wrath_AuraScript) + PrepareAuraScript(spell_pal_avenging_wrath_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -293,7 +293,7 @@ class spell_pal_blessing_of_faith : public SpellScriptLoader class spell_pal_blessing_of_faith_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_blessing_of_faith_SpellScript) + PrepareSpellScript(spell_pal_blessing_of_faith_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -350,7 +350,7 @@ class spell_pal_blessing_of_sanctuary : public SpellScriptLoader class spell_pal_blessing_of_sanctuary_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_blessing_of_sanctuary_AuraScript) + PrepareAuraScript(spell_pal_blessing_of_sanctuary_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -408,7 +408,7 @@ class spell_pal_divine_sacrifice : public SpellScriptLoader class spell_pal_divine_sacrifice_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_divine_sacrifice_AuraScript) + PrepareAuraScript(spell_pal_divine_sacrifice_AuraScript); uint32 groupSize, minHpPct; int32 remainingAmount; @@ -463,7 +463,7 @@ class spell_pal_divine_storm : public SpellScriptLoader class spell_pal_divine_storm_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_divine_storm_SpellScript) + PrepareSpellScript(spell_pal_divine_storm_SpellScript); uint32 healPct; @@ -506,7 +506,7 @@ class spell_pal_divine_storm_dummy : public SpellScriptLoader class spell_pal_divine_storm_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_divine_storm_dummy_SpellScript) + PrepareSpellScript(spell_pal_divine_storm_dummy_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -552,7 +552,7 @@ class spell_pal_exorcism_and_holy_wrath_damage : public SpellScriptLoader class spell_pal_exorcism_and_holy_wrath_damage_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_exorcism_and_holy_wrath_damage_AuraScript) + PrepareAuraScript(spell_pal_exorcism_and_holy_wrath_damage_AuraScript); void HandleEffectCalcSpellMod(AuraEffect const* aurEff, SpellModifier*& spellMod) { @@ -588,7 +588,7 @@ class spell_pal_eye_for_an_eye : public SpellScriptLoader class spell_pal_eye_for_an_eye_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_eye_for_an_eye_AuraScript) + PrepareAuraScript(spell_pal_eye_for_an_eye_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -625,7 +625,7 @@ class spell_pal_glyph_of_holy_light : public SpellScriptLoader class spell_pal_glyph_of_holy_light_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_glyph_of_holy_light_SpellScript) + PrepareSpellScript(spell_pal_glyph_of_holy_light_SpellScript); void FilterTargets(std::list& targets) { @@ -658,7 +658,7 @@ class spell_pal_guarded_by_the_light : public SpellScriptLoader class spell_pal_guarded_by_the_light_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_guarded_by_the_light_SpellScript) + PrepareSpellScript(spell_pal_guarded_by_the_light_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -694,7 +694,7 @@ class spell_pal_hand_of_sacrifice : public SpellScriptLoader class spell_pal_hand_of_sacrifice_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_hand_of_sacrifice_AuraScript) + PrepareAuraScript(spell_pal_hand_of_sacrifice_AuraScript); int32 remainingAmount; @@ -738,7 +738,7 @@ class spell_pal_hand_of_salvation : public SpellScriptLoader class spell_pal_hand_of_salvation_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_hand_of_salvation_AuraScript) + PrepareAuraScript(spell_pal_hand_of_salvation_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -771,7 +771,7 @@ class spell_pal_holy_shock : public SpellScriptLoader class spell_pal_holy_shock_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_holy_shock_SpellScript) + PrepareSpellScript(spell_pal_holy_shock_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -849,7 +849,7 @@ class spell_pal_improved_aura : public SpellScriptLoader class spell_pal_improved_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_improved_aura_AuraScript) + PrepareAuraScript(spell_pal_improved_aura_AuraScript); public: spell_pal_improved_aura_AuraScript(uint32 spellId) : AuraScript(), _spellId(spellId) { } @@ -910,7 +910,7 @@ class spell_pal_improved_aura_effect : public SpellScriptLoader class spell_pal_improved_aura_effect_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_improved_aura_effect_AuraScript) + PrepareAuraScript(spell_pal_improved_aura_effect_AuraScript); bool CheckAreaTarget(Unit* target) { @@ -950,7 +950,7 @@ class spell_pal_item_healing_discount : public SpellScriptLoader class spell_pal_item_healing_discount_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_item_healing_discount_AuraScript) + PrepareAuraScript(spell_pal_item_healing_discount_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -987,7 +987,7 @@ class spell_pal_judgement : public SpellScriptLoader class spell_pal_judgement_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_judgement_SpellScript) + PrepareSpellScript(spell_pal_judgement_SpellScript); public: spell_pal_judgement_SpellScript(uint32 spellId) : SpellScript(), _spellId(spellId) { } @@ -1046,7 +1046,7 @@ class spell_pal_judgement_of_command : public SpellScriptLoader class spell_pal_judgement_of_command_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_judgement_of_command_SpellScript) + PrepareSpellScript(spell_pal_judgement_of_command_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1075,7 +1075,7 @@ class spell_pal_lay_on_hands : public SpellScriptLoader class spell_pal_lay_on_hands_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_lay_on_hands_SpellScript) + PrepareSpellScript(spell_pal_lay_on_hands_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1131,7 +1131,7 @@ class spell_pal_righteous_defense : public SpellScriptLoader class spell_pal_righteous_defense_SpellScript : public SpellScript { - PrepareSpellScript(spell_pal_righteous_defense_SpellScript) + PrepareSpellScript(spell_pal_righteous_defense_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1195,7 +1195,7 @@ class spell_pal_sacred_shield : public SpellScriptLoader class spell_pal_sacred_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_sacred_shield_AuraScript) + PrepareAuraScript(spell_pal_sacred_shield_AuraScript); void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { @@ -1239,7 +1239,7 @@ class spell_pal_seal_of_righteousness : public SpellScriptLoader class spell_pal_seal_of_righteousness_AuraScript : public AuraScript { - PrepareAuraScript(spell_pal_seal_of_righteousness_AuraScript) + PrepareAuraScript(spell_pal_seal_of_righteousness_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_pet.cpp b/src/server/scripts/Spells/spell_pet.cpp index 6eabf61b0532b..775f9f505f9ac 100644 --- a/src/server/scripts/Spells/spell_pet.cpp +++ b/src/server/scripts/Spells/spell_pet.cpp @@ -93,7 +93,7 @@ class spell_gen_pet_calculate : public SpellScriptLoader class spell_gen_pet_calculate_AuraScript : public AuraScript { - PrepareAuraScript(spell_gen_pet_calculate_AuraScript) + PrepareAuraScript(spell_gen_pet_calculate_AuraScript); bool Load() override { @@ -227,7 +227,7 @@ class spell_warl_pet_scaling_01 : public SpellScriptLoader class spell_warl_pet_scaling_01_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_01_AuraScript) + PrepareAuraScript(spell_warl_pet_scaling_01_AuraScript); bool Load() override { @@ -364,7 +364,7 @@ class spell_warl_pet_scaling_02 : public SpellScriptLoader class spell_warl_pet_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_02_AuraScript) + PrepareAuraScript(spell_warl_pet_scaling_02_AuraScript); bool Load() override { @@ -477,7 +477,7 @@ class spell_warl_pet_scaling_03 : public SpellScriptLoader class spell_warl_pet_scaling_03_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_03_AuraScript) + PrepareAuraScript(spell_warl_pet_scaling_03_AuraScript); bool Load() override { @@ -544,7 +544,7 @@ class spell_warl_pet_scaling_04 : public SpellScriptLoader class spell_warl_pet_scaling_04_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_04_AuraScript) + PrepareAuraScript(spell_warl_pet_scaling_04_AuraScript); bool Load() override { @@ -584,7 +584,7 @@ class spell_warl_pet_scaling_05 : public SpellScriptLoader class spell_warl_pet_scaling_05_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_scaling_05_AuraScript) + PrepareAuraScript(spell_warl_pet_scaling_05_AuraScript); bool Load() override { @@ -659,7 +659,7 @@ class spell_warl_pet_passive : public SpellScriptLoader class spell_warl_pet_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_passive_AuraScript) + PrepareAuraScript(spell_warl_pet_passive_AuraScript); bool Load() override { @@ -732,7 +732,7 @@ class spell_warl_pet_passive_damage_done : public SpellScriptLoader class spell_warl_pet_passive_damage_done_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_passive_damage_done_AuraScript) + PrepareAuraScript(spell_warl_pet_passive_damage_done_AuraScript); bool Load() override { @@ -783,7 +783,7 @@ class spell_warl_pet_passive_voidwalker : public SpellScriptLoader class spell_warl_pet_passive_voidwalker_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_pet_passive_voidwalker_AuraScript) + PrepareAuraScript(spell_warl_pet_passive_voidwalker_AuraScript); bool Load() override { @@ -821,7 +821,7 @@ class spell_sha_pet_scaling_04 : public SpellScriptLoader class spell_sha_pet_scaling_04_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_pet_scaling_04_AuraScript) + PrepareAuraScript(spell_sha_pet_scaling_04_AuraScript); bool Load() override { @@ -880,7 +880,7 @@ class spell_hun_pet_scaling_01 : public SpellScriptLoader class spell_hun_pet_scaling_01_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_01_AuraScript) + PrepareAuraScript(spell_hun_pet_scaling_01_AuraScript); void CalculateStaminaAmount(AuraEffect const* /* aurEff */, int32& amount, bool& /*canBeRecalculated*/) { @@ -1006,7 +1006,7 @@ class spell_hun_pet_scaling_02 : public SpellScriptLoader class spell_hun_pet_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_02_AuraScript) + PrepareAuraScript(spell_hun_pet_scaling_02_AuraScript); bool Load() override { @@ -1093,7 +1093,7 @@ class spell_hun_pet_scaling_03 : public SpellScriptLoader class spell_hun_pet_scaling_03_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_03_AuraScript) + PrepareAuraScript(spell_hun_pet_scaling_03_AuraScript); bool Load() override { @@ -1180,7 +1180,7 @@ class spell_hun_pet_scaling_04 : public SpellScriptLoader class spell_hun_pet_scaling_04_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_scaling_04_AuraScript) + PrepareAuraScript(spell_hun_pet_scaling_04_AuraScript); bool Load() override { @@ -1261,7 +1261,7 @@ class spell_hun_pet_passive_crit : public SpellScriptLoader class spell_hun_pet_passive_crit_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_passive_crit_AuraScript) + PrepareAuraScript(spell_hun_pet_passive_crit_AuraScript); bool Load() override { @@ -1332,7 +1332,7 @@ class spell_hun_pet_passive_damage_done : public SpellScriptLoader class spell_hun_pet_passive_damage_done_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_pet_passive_damage_done_AuraScript) + PrepareAuraScript(spell_hun_pet_passive_damage_done_AuraScript); bool Load() override { @@ -1390,7 +1390,7 @@ class spell_hun_animal_handler : public SpellScriptLoader class spell_hun_animal_handler_AuraScript : public AuraScript { - PrepareAuraScript(spell_hun_animal_handler_AuraScript) + PrepareAuraScript(spell_hun_animal_handler_AuraScript); bool Load() override { @@ -1432,7 +1432,7 @@ class spell_dk_avoidance_passive : public SpellScriptLoader class spell_dk_avoidance_passive_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_avoidance_passive_AuraScript) + PrepareAuraScript(spell_dk_avoidance_passive_AuraScript); bool Load() override { @@ -1476,7 +1476,7 @@ class spell_dk_pet_scaling_01 : public SpellScriptLoader class spell_dk_pet_scaling_01_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_pet_scaling_01_AuraScript) + PrepareAuraScript(spell_dk_pet_scaling_01_AuraScript); bool Load() override { @@ -1579,7 +1579,7 @@ class spell_dk_pet_scaling_02 : public SpellScriptLoader class spell_dk_pet_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_pet_scaling_02_AuraScript) + PrepareAuraScript(spell_dk_pet_scaling_02_AuraScript); bool Load() override { @@ -1622,7 +1622,7 @@ class spell_dk_pet_scaling_03 : public SpellScriptLoader class spell_dk_pet_scaling_03_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_pet_scaling_03_AuraScript) + PrepareAuraScript(spell_dk_pet_scaling_03_AuraScript); bool Load() override { @@ -1685,7 +1685,7 @@ class spell_dk_rune_weapon_scaling_02 : public SpellScriptLoader class spell_dk_rune_weapon_scaling_02_AuraScript : public AuraScript { - PrepareAuraScript(spell_dk_rune_weapon_scaling_02_AuraScript) + PrepareAuraScript(spell_dk_rune_weapon_scaling_02_AuraScript); bool Load() override { diff --git a/src/server/scripts/Spells/spell_priest.cpp b/src/server/scripts/Spells/spell_priest.cpp index 3345a4a6eef3d..f96a30c903aed 100644 --- a/src/server/scripts/Spells/spell_priest.cpp +++ b/src/server/scripts/Spells/spell_priest.cpp @@ -96,7 +96,7 @@ class spell_pri_circle_of_healing : public SpellScriptLoader class spell_pri_circle_of_healing_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_circle_of_healing_SpellScript) + PrepareSpellScript(spell_pri_circle_of_healing_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -138,7 +138,7 @@ class spell_pri_divine_aegis : public SpellScriptLoader class spell_pri_divine_aegis_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_divine_aegis_AuraScript) + PrepareAuraScript(spell_pri_divine_aegis_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -188,7 +188,7 @@ class spell_pri_divine_hymn : public SpellScriptLoader class spell_pri_divine_hymn_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_divine_hymn_SpellScript) + PrepareSpellScript(spell_pri_divine_hymn_SpellScript); void FilterTargets(std::list& targets) { @@ -223,7 +223,7 @@ class spell_pri_glyph_of_prayer_of_healing : public SpellScriptLoader class spell_pri_glyph_of_prayer_of_healing_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_glyph_of_prayer_of_healing_AuraScript) + PrepareAuraScript(spell_pri_glyph_of_prayer_of_healing_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -261,7 +261,7 @@ class spell_pri_guardian_spirit : public SpellScriptLoader class spell_pri_guardian_spirit_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_guardian_spirit_AuraScript) + PrepareAuraScript(spell_pri_guardian_spirit_AuraScript); uint32 healPct; @@ -318,7 +318,7 @@ class spell_pri_hymn_of_hope : public SpellScriptLoader class spell_pri_hymn_of_hope_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_hymn_of_hope_SpellScript) + PrepareSpellScript(spell_pri_hymn_of_hope_SpellScript); void FilterTargets(std::list& targets) { @@ -354,7 +354,7 @@ class spell_pri_item_greater_heal_refund : public SpellScriptLoader class spell_pri_item_greater_heal_refund_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_item_greater_heal_refund_AuraScript) + PrepareAuraScript(spell_pri_item_greater_heal_refund_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -389,7 +389,7 @@ class spell_pri_lightwell_renew : public SpellScriptLoader class spell_pri_lightwell_renew_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_lightwell_renew_AuraScript) + PrepareAuraScript(spell_pri_lightwell_renew_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { @@ -421,7 +421,7 @@ class spell_pri_mana_burn : public SpellScriptLoader class spell_pri_mana_burn_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_mana_burn_SpellScript) + PrepareSpellScript(spell_pri_mana_burn_SpellScript); void HandleAfterHit() { @@ -449,7 +449,7 @@ class spell_pri_mana_leech : public SpellScriptLoader class spell_pri_mana_leech_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_mana_leech_AuraScript) + PrepareAuraScript(spell_pri_mana_leech_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -500,7 +500,7 @@ class spell_pri_mind_sear : public SpellScriptLoader class spell_pri_mind_sear_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_mind_sear_SpellScript) + PrepareSpellScript(spell_pri_mind_sear_SpellScript); void FilterTargets(std::list& unitList) { @@ -527,7 +527,7 @@ class spell_pri_pain_and_suffering_proc : public SpellScriptLoader class spell_pri_pain_and_suffering_proc_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_pain_and_suffering_proc_SpellScript) + PrepareSpellScript(spell_pri_pain_and_suffering_proc_SpellScript); void HandleEffectScriptEffect(SpellEffIndex /*effIndex*/) { @@ -557,7 +557,7 @@ class spell_pri_penance : public SpellScriptLoader class spell_pri_penance_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_penance_SpellScript) + PrepareSpellScript(spell_pri_penance_SpellScript); bool Load() override { @@ -630,7 +630,7 @@ class spell_pri_power_word_shield : public SpellScriptLoader class spell_pri_power_word_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_power_word_shield_AuraScript) + PrepareAuraScript(spell_pri_power_word_shield_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -705,7 +705,7 @@ class spell_pri_prayer_of_mending_heal : public SpellScriptLoader class spell_pri_prayer_of_mending_heal_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_prayer_of_mending_heal_SpellScript) + PrepareSpellScript(spell_pri_prayer_of_mending_heal_SpellScript); void HandleHeal(SpellEffIndex /*effIndex*/) { @@ -740,7 +740,7 @@ class spell_pri_renew : public SpellScriptLoader class spell_pri_renew_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_renew_AuraScript) + PrepareAuraScript(spell_pri_renew_AuraScript); bool Load() override { @@ -783,7 +783,7 @@ class spell_pri_shadow_word_death : public SpellScriptLoader class spell_pri_shadow_word_death_SpellScript : public SpellScript { - PrepareSpellScript(spell_pri_shadow_word_death_SpellScript) + PrepareSpellScript(spell_pri_shadow_word_death_SpellScript); void HandleDamage() { @@ -816,7 +816,7 @@ class spell_pri_vampiric_touch : public SpellScriptLoader class spell_pri_vampiric_touch_AuraScript : public AuraScript { - PrepareAuraScript(spell_pri_vampiric_touch_AuraScript) + PrepareAuraScript(spell_pri_vampiric_touch_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index 76355a5f1fd17..f895381574ef9 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -33,7 +33,7 @@ class spell_generic_quest_update_entry_SpellScript : public SpellScript { - PrepareSpellScript(spell_generic_quest_update_entry_SpellScript) + PrepareSpellScript(spell_generic_quest_update_entry_SpellScript); private: uint16 _spellEffect; uint8 _effIndex; @@ -99,7 +99,7 @@ class spell_q2203_thaumaturgy_channel : public SpellScriptLoader class spell_q2203_thaumaturgy_channel_AuraScript : public AuraScript { - PrepareAuraScript(spell_q2203_thaumaturgy_channel_AuraScript) + PrepareAuraScript(spell_q2203_thaumaturgy_channel_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -142,7 +142,7 @@ class spell_q5206_test_fetid_skull : public SpellScriptLoader class spell_q5206_test_fetid_skull_SpellScript : public SpellScript { - PrepareSpellScript(spell_q5206_test_fetid_skull_SpellScript) + PrepareSpellScript(spell_q5206_test_fetid_skull_SpellScript); bool Load() override { @@ -194,7 +194,7 @@ class spell_q6124_6129_apply_salve : public SpellScriptLoader class spell_q6124_6129_apply_salve_SpellScript : public SpellScript { - PrepareSpellScript(spell_q6124_6129_apply_salve_SpellScript) + PrepareSpellScript(spell_q6124_6129_apply_salve_SpellScript); bool Load() override { @@ -274,7 +274,7 @@ class spell_q11396_11399_force_shield_arcane_purple_x3 : public SpellScriptLoade class spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript : public AuraScript { - PrepareAuraScript(spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript) + PrepareAuraScript(spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript); void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -310,7 +310,7 @@ class spell_q11396_11399_scourging_crystal_controller : public SpellScriptLoader class spell_q11396_11399_scourging_crystal_controller_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_SpellScript) + PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_SpellScript); bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -348,7 +348,7 @@ class spell_q11396_11399_scourging_crystal_controller_dummy : public SpellScript class spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript) + PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript); bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -411,7 +411,7 @@ class spell_q11587_arcane_prisoner_rescue : public SpellScriptLoader class spell_q11587_arcane_prisoner_rescue_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11587_arcane_prisoner_rescue_SpellScript) + PrepareSpellScript(spell_q11587_arcane_prisoner_rescue_SpellScript); bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -469,7 +469,7 @@ class spell_q11730_ultrasonic_screwdriver : public SpellScriptLoader class spell_q11730_ultrasonic_screwdriver_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11730_ultrasonic_screwdriver_SpellScript) + PrepareSpellScript(spell_q11730_ultrasonic_screwdriver_SpellScript); bool Load() override { @@ -539,7 +539,7 @@ class spell_q12459_seeds_of_natures_wrath : public SpellScriptLoader class spell_q12459_seeds_of_natures_wrath_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12459_seeds_of_natures_wrath_SpellScript) + PrepareSpellScript(spell_q12459_seeds_of_natures_wrath_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -586,7 +586,7 @@ class spell_q12634_despawn_fruit_tosser : public SpellScriptLoader class spell_q12634_despawn_fruit_tosser_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12634_despawn_fruit_tosser_SpellScript) + PrepareSpellScript(spell_q12634_despawn_fruit_tosser_SpellScript); bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -630,7 +630,7 @@ class spell_q12683_take_sputum_sample : public SpellScriptLoader class spell_q12683_take_sputum_sample_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12683_take_sputum_sample_SpellScript) + PrepareSpellScript(spell_q12683_take_sputum_sample_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -675,7 +675,7 @@ class spell_q12851_going_bearback : public SpellScriptLoader class spell_q12851_going_bearback_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12851_going_bearback_AuraScript) + PrepareAuraScript(spell_q12851_going_bearback_AuraScript); void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -733,7 +733,7 @@ class spell_q12937_relief_for_the_fallen : public SpellScriptLoader class spell_q12937_relief_for_the_fallen_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12937_relief_for_the_fallen_SpellScript) + PrepareSpellScript(spell_q12937_relief_for_the_fallen_SpellScript); bool Load() override { @@ -784,7 +784,7 @@ class spell_q10041_q10040_who_are_they : public SpellScriptLoader class spell_q10041_q10040_who_are_they_SpellScript : public SpellScript { - PrepareSpellScript(spell_q10041_q10040_who_are_they_SpellScript) + PrepareSpellScript(spell_q10041_q10040_who_are_they_SpellScript); bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -828,7 +828,7 @@ class spell_symbol_of_life_dummy : public SpellScriptLoader class spell_symbol_of_life_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_symbol_of_life_dummy_SpellScript) + PrepareSpellScript(spell_symbol_of_life_dummy_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -871,7 +871,7 @@ class spell_q12659_ahunaes_knife : public SpellScriptLoader class spell_q12659_ahunaes_knife_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12659_ahunaes_knife_SpellScript) + PrepareSpellScript(spell_q12659_ahunaes_knife_SpellScript); bool Load() override { @@ -915,7 +915,7 @@ class spell_q9874_liquid_fire : public SpellScriptLoader class spell_q9874_liquid_fire_SpellScript : public SpellScript { - PrepareSpellScript(spell_q9874_liquid_fire_SpellScript) + PrepareSpellScript(spell_q9874_liquid_fire_SpellScript); bool Load() override { @@ -960,7 +960,7 @@ class spell_q12805_lifeblood_dummy : public SpellScriptLoader class spell_q12805_lifeblood_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12805_lifeblood_dummy_SpellScript) + PrepareSpellScript(spell_q12805_lifeblood_dummy_SpellScript); bool Load() override { @@ -1008,7 +1008,7 @@ class spell_q13280_13283_plant_battle_standard: public SpellScriptLoader class spell_q13280_13283_plant_battle_standard_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13280_13283_plant_battle_standard_SpellScript) + PrepareSpellScript(spell_q13280_13283_plant_battle_standard_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1045,7 +1045,7 @@ class spell_q14112_14145_chum_the_water: public SpellScriptLoader class spell_q14112_14145_chum_the_water_SpellScript : public SpellScript { - PrepareSpellScript(spell_q14112_14145_chum_the_water_SpellScript) + PrepareSpellScript(spell_q14112_14145_chum_the_water_SpellScript); bool Validate(SpellInfo const* /*spellEntry*/) override { @@ -1087,7 +1087,7 @@ class spell_q9452_cast_net: public SpellScriptLoader class spell_q9452_cast_net_SpellScript : public SpellScript { - PrepareSpellScript(spell_q9452_cast_net_SpellScript) + PrepareSpellScript(spell_q9452_cast_net_SpellScript); bool Load() override { @@ -1130,7 +1130,7 @@ class spell_q12987_read_pronouncement : public SpellScriptLoader class spell_q12987_read_pronouncement_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12987_read_pronouncement_AuraScript) + PrepareAuraScript(spell_q12987_read_pronouncement_AuraScript); void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -1171,7 +1171,7 @@ class spell_q12277_wintergarde_mine_explosion : public SpellScriptLoader class spell_q12277_wintergarde_mine_explosion_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12277_wintergarde_mine_explosion_SpellScript) + PrepareSpellScript(spell_q12277_wintergarde_mine_explosion_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1224,7 +1224,7 @@ class spell_q12066_bunny_kill_credit : public SpellScriptLoader class spell_q12066_bunny_kill_credit_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12066_bunny_kill_credit_SpellScript) + PrepareSpellScript(spell_q12066_bunny_kill_credit_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1262,7 +1262,7 @@ class spell_q12735_song_of_cleansing : public SpellScriptLoader class spell_q12735_song_of_cleansing_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12735_song_of_cleansing_SpellScript) + PrepareSpellScript(spell_q12735_song_of_cleansing_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1307,7 +1307,7 @@ class spell_q12372_cast_from_gossip_trigger : public SpellScriptLoader class spell_q12372_cast_from_gossip_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12372_cast_from_gossip_trigger_SpellScript) + PrepareSpellScript(spell_q12372_cast_from_gossip_trigger_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1343,7 +1343,7 @@ class spell_q12372_destabilize_azure_dragonshrine_dummy : public SpellScriptLoad class spell_q12372_destabilize_azure_dragonshrine_dummy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12372_destabilize_azure_dragonshrine_dummy_SpellScript) + PrepareSpellScript(spell_q12372_destabilize_azure_dragonshrine_dummy_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1375,7 +1375,7 @@ class spell_q12372_azure_on_death_force_whisper : public SpellScriptLoader class spell_q12372_azure_on_death_force_whisper_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12372_azure_on_death_force_whisper_SpellScript) + PrepareSpellScript(spell_q12372_azure_on_death_force_whisper_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1414,7 +1414,7 @@ class spell_q11010_q11102_q11023_aggro_check_aura : public SpellScriptLoader class spell_q11010_q11102_q11023_aggro_check_aura_AuraScript : public AuraScript { - PrepareAuraScript(spell_q11010_q11102_q11023_aggro_check_aura_AuraScript) + PrepareAuraScript(spell_q11010_q11102_q11023_aggro_check_aura_AuraScript); void HandleTriggerSpell(AuraEffect const* /*aurEff*/) { @@ -1443,7 +1443,7 @@ class spell_q11010_q11102_q11023_aggro_check : public SpellScriptLoader class spell_q11010_q11102_q11023_aggro_check_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11010_q11102_q11023_aggro_check_SpellScript) + PrepareSpellScript(spell_q11010_q11102_q11023_aggro_check_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1473,7 +1473,7 @@ class spell_q11010_q11102_q11023_aggro_burst : public SpellScriptLoader class spell_q11010_q11102_q11023_aggro_burst_AuraScript : public AuraScript { - PrepareAuraScript(spell_q11010_q11102_q11023_aggro_burst_AuraScript) + PrepareAuraScript(spell_q11010_q11102_q11023_aggro_burst_AuraScript); void HandleEffectPeriodic(AuraEffect const* /*aurEff*/) { @@ -1502,7 +1502,7 @@ class spell_q11010_q11102_q11023_choose_loc : public SpellScriptLoader class spell_q11010_q11102_q11023_choose_loc_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11010_q11102_q11023_choose_loc_SpellScript) + PrepareSpellScript(spell_q11010_q11102_q11023_choose_loc_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -1540,7 +1540,7 @@ class spell_q11010_q11102_q11023_q11008_check_fly_mount : public SpellScriptLoad class spell_q11010_q11102_q11023_q11008_check_fly_mount_SpellScript : public SpellScript { - PrepareSpellScript(spell_q11010_q11102_q11023_q11008_check_fly_mount_SpellScript) + PrepareSpellScript(spell_q11010_q11102_q11023_q11008_check_fly_mount_SpellScript); SpellCastResult CheckRequirement() { @@ -1575,7 +1575,7 @@ class spell_q12527_zuldrak_rat : public SpellScriptLoader class spell_q12527_zuldrak_rat_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12527_zuldrak_rat_SpellScript) + PrepareSpellScript(spell_q12527_zuldrak_rat_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1614,7 +1614,7 @@ class spell_q12661_q12669_q12676_q12677_q12713_summon_stefan : public SpellScrip class spell_q12661_q12669_q12676_q12677_q12713_summon_stefan_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12661_q12669_q12676_q12677_q12713_summon_stefan_SpellScript) + PrepareSpellScript(spell_q12661_q12669_q12676_q12677_q12713_summon_stefan_SpellScript); void SetDest(SpellDestination& dest) { @@ -1647,7 +1647,7 @@ class spell_q12730_quenching_mist : public SpellScriptLoader class spell_q12730_quenching_mist_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12730_quenching_mist_AuraScript) + PrepareAuraScript(spell_q12730_quenching_mist_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1690,7 +1690,7 @@ class spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy : public class spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy_SpellScript) + PrepareSpellScript(spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -1729,7 +1729,7 @@ class spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon : public S class spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon_SpellScript) + PrepareSpellScript(spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon_SpellScript); void SetDest(SpellDestination& dest) { @@ -1758,7 +1758,7 @@ class spell_q12847_summon_soul_moveto_bunny : public SpellScriptLoader class spell_q12847_summon_soul_moveto_bunny_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12847_summon_soul_moveto_bunny_SpellScript) + PrepareSpellScript(spell_q12847_summon_soul_moveto_bunny_SpellScript); void SetDest(SpellDestination& dest) { @@ -1793,7 +1793,7 @@ class spell_q13011_bear_flank_master : public SpellScriptLoader class spell_q13011_bear_flank_master_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13011_bear_flank_master_SpellScript) + PrepareSpellScript(spell_q13011_bear_flank_master_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1843,7 +1843,7 @@ class spell_q13086_cannons_target : public SpellScriptLoader class spell_q13086_cannons_target_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13086_cannons_target_SpellScript) + PrepareSpellScript(spell_q13086_cannons_target_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -1894,7 +1894,7 @@ class spell_q12690_burst_at_the_seams : public SpellScriptLoader class spell_q12690_burst_at_the_seams_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12690_burst_at_the_seams_SpellScript) + PrepareSpellScript(spell_q12690_burst_at_the_seams_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -1970,7 +1970,7 @@ class spell_q12308_escape_from_silverbrook : public SpellScriptLoader class spell_q12308_escape_from_silverbrook_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12308_escape_from_silverbrook_SpellScript) + PrepareSpellScript(spell_q12308_escape_from_silverbrook_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2004,7 +2004,7 @@ class spell_q12308_escape_from_silverbrook_summon_worgen : public SpellScriptLoa class spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript) + PrepareSpellScript(spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript); void ModDest(SpellDestination& dest) { @@ -2049,7 +2049,7 @@ class spell_q12641_death_comes_from_on_high : public SpellScriptLoader class spell_q12641_death_comes_from_on_high_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12641_death_comes_from_on_high_SpellScript) + PrepareSpellScript(spell_q12641_death_comes_from_on_high_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2106,7 +2106,7 @@ class spell_q12619_emblazon_runeblade : public SpellScriptLoader class spell_q12619_emblazon_runeblade_AuraScript : public AuraScript { - PrepareAuraScript(spell_q12619_emblazon_runeblade_AuraScript) + PrepareAuraScript(spell_q12619_emblazon_runeblade_AuraScript); void HandleEffectPeriodic(AuraEffect const* aurEff) { @@ -2135,7 +2135,7 @@ class spell_q12619_emblazon_runeblade_effect : public SpellScriptLoader class spell_q12619_emblazon_runeblade_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12619_emblazon_runeblade_effect_SpellScript) + PrepareSpellScript(spell_q12619_emblazon_runeblade_effect_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2167,7 +2167,7 @@ class spell_q12919_gymers_grab : public SpellScriptLoader class spell_q12919_gymers_grab_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12919_gymers_grab_SpellScript) + PrepareSpellScript(spell_q12919_gymers_grab_SpellScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -2209,7 +2209,7 @@ class spell_q12919_gymers_throw : public SpellScriptLoader class spell_q12919_gymers_throw_SpellScript : public SpellScript { - PrepareSpellScript(spell_q12919_gymers_throw_SpellScript) + PrepareSpellScript(spell_q12919_gymers_throw_SpellScript); void HandleScript(SpellEffIndex /*effIndex*/) { @@ -2246,7 +2246,7 @@ class spell_q13400_illidan_kill_master : public SpellScriptLoader class spell_q13400_illidan_kill_master_SpellScript : public SpellScript { - PrepareSpellScript(spell_q13400_illidan_kill_master_SpellScript) + PrepareSpellScript(spell_q13400_illidan_kill_master_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -2288,7 +2288,7 @@ class spell_q14100_q14111_make_player_destroy_totems : public SpellScriptLoader class spell_q14100_q14111_make_player_destroy_totems_SpellScript : public SpellScript { - PrepareSpellScript(spell_q14100_q14111_make_player_destroy_totems_SpellScript) + PrepareSpellScript(spell_q14100_q14111_make_player_destroy_totems_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp index 1653848410071..bf413aef6a33d 100644 --- a/src/server/scripts/Spells/spell_rogue.cpp +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -50,7 +50,7 @@ class spell_rog_blade_flurry : public SpellScriptLoader class spell_rog_blade_flurry_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_blade_flurry_AuraScript) + PrepareAuraScript(spell_rog_blade_flurry_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -105,7 +105,7 @@ class spell_rog_cheat_death : public SpellScriptLoader class spell_rog_cheat_death_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_cheat_death_AuraScript) + PrepareAuraScript(spell_rog_cheat_death_AuraScript); uint32 absorbChance; @@ -168,7 +168,7 @@ class spell_rog_deadly_poison : public SpellScriptLoader class spell_rog_deadly_poison_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_deadly_poison_SpellScript) + PrepareSpellScript(spell_rog_deadly_poison_SpellScript); bool Load() override { @@ -263,7 +263,7 @@ class spell_rog_killing_spree : public SpellScriptLoader class spell_rog_killing_spree_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_killing_spree_SpellScript) + PrepareSpellScript(spell_rog_killing_spree_SpellScript); void FilterTargets(std::list& targets) { @@ -294,7 +294,7 @@ class spell_rog_killing_spree : public SpellScriptLoader class spell_rog_killing_spree_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_killing_spree_AuraScript) + PrepareAuraScript(spell_rog_killing_spree_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -362,7 +362,7 @@ class spell_rog_nerves_of_steel : public SpellScriptLoader class spell_rog_nerves_of_steel_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_nerves_of_steel_AuraScript) + PrepareAuraScript(spell_rog_nerves_of_steel_AuraScript); uint32 absorbPct; @@ -406,7 +406,7 @@ class spell_rog_preparation : public SpellScriptLoader class spell_rog_preparation_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_preparation_SpellScript) + PrepareSpellScript(spell_rog_preparation_SpellScript); bool Load() override { @@ -473,7 +473,7 @@ class spell_rog_prey_on_the_weak : public SpellScriptLoader class spell_rog_prey_on_the_weak_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_prey_on_the_weak_AuraScript) + PrepareAuraScript(spell_rog_prey_on_the_weak_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -518,7 +518,7 @@ class spell_rog_rupture : public SpellScriptLoader class spell_rog_rupture_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_rupture_AuraScript) + PrepareAuraScript(spell_rog_rupture_AuraScript); bool Load() override { @@ -570,7 +570,7 @@ class spell_rog_shiv : public SpellScriptLoader class spell_rog_shiv_SpellScript : public SpellScript { - PrepareSpellScript(spell_rog_shiv_SpellScript) + PrepareSpellScript(spell_rog_shiv_SpellScript); bool Load() override { @@ -611,7 +611,7 @@ class spell_rog_tricks_of_the_trade : public SpellScriptLoader class spell_rog_tricks_of_the_trade_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_tricks_of_the_trade_AuraScript) + PrepareAuraScript(spell_rog_tricks_of_the_trade_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -675,7 +675,7 @@ class spell_rog_tricks_of_the_trade_proc : public SpellScriptLoader class spell_rog_tricks_of_the_trade_proc_AuraScript : public AuraScript { - PrepareAuraScript(spell_rog_tricks_of_the_trade_proc_AuraScript) + PrepareAuraScript(spell_rog_tricks_of_the_trade_proc_AuraScript); void HandleRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp index 1d1d8223a2a01..61ff79c505edf 100644 --- a/src/server/scripts/Spells/spell_shaman.cpp +++ b/src/server/scripts/Spells/spell_shaman.cpp @@ -70,7 +70,7 @@ class spell_sha_ancestral_awakening_proc : public SpellScriptLoader class spell_sha_ancestral_awakening_proc_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_ancestral_awakening_proc_SpellScript) + PrepareSpellScript(spell_sha_ancestral_awakening_proc_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -119,7 +119,7 @@ class spell_sha_astral_shift : public SpellScriptLoader class spell_sha_astral_shift_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_astral_shift_AuraScript) + PrepareAuraScript(spell_sha_astral_shift_AuraScript); uint32 absorbPct; @@ -163,7 +163,7 @@ class spell_sha_bloodlust : public SpellScriptLoader class spell_sha_bloodlust_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_bloodlust_SpellScript) + PrepareSpellScript(spell_sha_bloodlust_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -206,7 +206,7 @@ class spell_sha_chain_heal : public SpellScriptLoader class spell_sha_chain_heal_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_chain_heal_SpellScript) + PrepareSpellScript(spell_sha_chain_heal_SpellScript); bool Load() override { @@ -256,7 +256,7 @@ class spell_sha_cleansing_totem_pulse : public SpellScriptLoader class spell_sha_cleansing_totem_pulse_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_cleansing_totem_pulse_SpellScript) + PrepareSpellScript(spell_sha_cleansing_totem_pulse_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -292,7 +292,7 @@ class spell_sha_earth_shield : public SpellScriptLoader class spell_sha_earth_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_earth_shield_AuraScript) + PrepareAuraScript(spell_sha_earth_shield_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -360,7 +360,7 @@ class spell_sha_earthbind_totem : public SpellScriptLoader class spell_sha_earthbind_totem_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_earthbind_totem_AuraScript) + PrepareAuraScript(spell_sha_earthbind_totem_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -432,7 +432,7 @@ class spell_sha_earthen_power : public SpellScriptLoader class spell_sha_earthen_power_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_earthen_power_SpellScript) + PrepareSpellScript(spell_sha_earthen_power_SpellScript); void FilterTargets(std::list& unitList) { @@ -459,7 +459,7 @@ class spell_sha_fire_nova : public SpellScriptLoader class spell_sha_fire_nova_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_fire_nova_SpellScript) + PrepareSpellScript(spell_sha_fire_nova_SpellScript); bool Validate(SpellInfo const* spellInfo) override { @@ -517,7 +517,7 @@ class spell_sha_flame_shock : public SpellScriptLoader class spell_sha_flame_shock_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_flame_shock_AuraScript) + PrepareAuraScript(spell_sha_flame_shock_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -563,7 +563,7 @@ class spell_sha_healing_stream_totem : public SpellScriptLoader class spell_sha_healing_stream_totem_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_healing_stream_totem_SpellScript) + PrepareSpellScript(spell_sha_healing_stream_totem_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -618,7 +618,7 @@ class spell_sha_heroism : public SpellScriptLoader class spell_sha_heroism_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_heroism_SpellScript) + PrepareSpellScript(spell_sha_heroism_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -661,7 +661,7 @@ class spell_sha_item_lightning_shield : public SpellScriptLoader class spell_sha_item_lightning_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_item_lightning_shield_AuraScript) + PrepareAuraScript(spell_sha_item_lightning_shield_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -696,7 +696,7 @@ class spell_sha_item_lightning_shield_trigger : public SpellScriptLoader class spell_sha_item_lightning_shield_trigger_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_item_lightning_shield_trigger_AuraScript) + PrepareAuraScript(spell_sha_item_lightning_shield_trigger_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -731,7 +731,7 @@ class spell_sha_item_mana_surge : public SpellScriptLoader class spell_sha_item_mana_surge_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_item_mana_surge_AuraScript) + PrepareAuraScript(spell_sha_item_mana_surge_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -775,7 +775,7 @@ class spell_sha_lava_lash : public SpellScriptLoader class spell_sha_lava_lash_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_lava_lash_SpellScript) + PrepareSpellScript(spell_sha_lava_lash_SpellScript); bool Load() override { @@ -819,7 +819,7 @@ class spell_sha_mana_spring_totem : public SpellScriptLoader class spell_sha_mana_spring_totem_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_mana_spring_totem_SpellScript) + PrepareSpellScript(spell_sha_mana_spring_totem_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -858,7 +858,7 @@ class spell_sha_mana_tide_totem : public SpellScriptLoader class spell_sha_mana_tide_totem_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_mana_tide_totem_SpellScript) + PrepareSpellScript(spell_sha_mana_tide_totem_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -906,7 +906,7 @@ class spell_sha_sentry_totem : public SpellScriptLoader class spell_sha_sentry_totem_AuraScript : public AuraScript { - PrepareAuraScript(spell_sha_sentry_totem_AuraScript) + PrepareAuraScript(spell_sha_sentry_totem_AuraScript); bool Validate(SpellInfo const* /*spell*/) override { @@ -951,7 +951,7 @@ class spell_sha_thunderstorm : public SpellScriptLoader class spell_sha_thunderstorm_SpellScript : public SpellScript { - PrepareSpellScript(spell_sha_thunderstorm_SpellScript) + PrepareSpellScript(spell_sha_thunderstorm_SpellScript); void HandleKnockBack(SpellEffIndex effIndex) { diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index 20f9cd83cad8a..18979d24ecbc7 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -69,7 +69,7 @@ class spell_warl_banish : public SpellScriptLoader class spell_warl_banish_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_banish_SpellScript) + PrepareSpellScript(spell_warl_banish_SpellScript); bool Load() override { @@ -121,7 +121,7 @@ class spell_warl_create_healthstone : public SpellScriptLoader class spell_warl_create_healthstone_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_create_healthstone_SpellScript) + PrepareSpellScript(spell_warl_create_healthstone_SpellScript); static uint32 const iTypes[8][3]; @@ -204,7 +204,7 @@ class spell_warl_curse_of_doom : public SpellScriptLoader class spell_warl_curse_of_doom_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_curse_of_doom_AuraScript) + PrepareAuraScript(spell_warl_curse_of_doom_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -251,7 +251,7 @@ class spell_warl_demonic_circle_summon : public SpellScriptLoader class spell_warl_demonic_circle_summon_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_demonic_circle_summon_AuraScript) + PrepareAuraScript(spell_warl_demonic_circle_summon_AuraScript); void HandleRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes mode) { @@ -303,7 +303,7 @@ class spell_warl_demonic_circle_teleport : public SpellScriptLoader class spell_warl_demonic_circle_teleport_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_demonic_circle_teleport_AuraScript) + PrepareAuraScript(spell_warl_demonic_circle_teleport_AuraScript); void HandleTeleport(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -337,7 +337,7 @@ class spell_warl_demonic_empowerment : public SpellScriptLoader class spell_warl_demonic_empowerment_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_demonic_empowerment_SpellScript) + PrepareSpellScript(spell_warl_demonic_empowerment_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -401,7 +401,7 @@ class spell_warl_everlasting_affliction : public SpellScriptLoader class spell_warl_everlasting_affliction_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_everlasting_affliction_SpellScript) + PrepareSpellScript(spell_warl_everlasting_affliction_SpellScript); void HandleScriptEffect(SpellEffIndex /*effIndex*/) { @@ -431,7 +431,7 @@ class spell_warl_fel_synergy : public SpellScriptLoader class spell_warl_fel_synergy_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_fel_synergy_AuraScript) + PrepareAuraScript(spell_warl_fel_synergy_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -474,7 +474,7 @@ class spell_warl_glyph_of_shadowflame : public SpellScriptLoader class spell_warl_glyph_of_shadowflame_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_glyph_of_shadowflame_AuraScript) + PrepareAuraScript(spell_warl_glyph_of_shadowflame_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -509,7 +509,7 @@ class spell_warl_haunt : public SpellScriptLoader class spell_warl_haunt_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_haunt_SpellScript) + PrepareSpellScript(spell_warl_haunt_SpellScript); void HandleOnHit() { @@ -526,7 +526,7 @@ class spell_warl_haunt : public SpellScriptLoader class spell_warl_haunt_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_haunt_AuraScript) + PrepareAuraScript(spell_warl_haunt_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -569,7 +569,7 @@ class spell_warl_health_funnel : public SpellScriptLoader class spell_warl_health_funnel_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_health_funnel_AuraScript) + PrepareAuraScript(spell_warl_health_funnel_AuraScript); void ApplyEffect(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { @@ -612,7 +612,7 @@ class spell_warl_life_tap : public SpellScriptLoader class spell_warl_life_tap_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_life_tap_SpellScript) + PrepareSpellScript(spell_warl_life_tap_SpellScript); bool Load() override { @@ -684,7 +684,7 @@ class spell_warl_ritual_of_doom_effect : public SpellScriptLoader class spell_warl_ritual_of_doom_effect_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_ritual_of_doom_effect_SpellScript) + PrepareSpellScript(spell_warl_ritual_of_doom_effect_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -712,7 +712,7 @@ class spell_warl_seed_of_corruption : public SpellScriptLoader class spell_warl_seed_of_corruption_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_seed_of_corruption_SpellScript) + PrepareSpellScript(spell_warl_seed_of_corruption_SpellScript); void FilterTargets(std::list& targets) { @@ -740,7 +740,7 @@ class spell_warl_shadow_ward : public SpellScriptLoader class spell_warl_shadow_ward_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_shadow_ward_AuraScript) + PrepareAuraScript(spell_warl_shadow_ward_AuraScript); void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated) { @@ -777,7 +777,7 @@ class spell_warl_siphon_life : public SpellScriptLoader class spell_warl_siphon_life_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_siphon_life_AuraScript) + PrepareAuraScript(spell_warl_siphon_life_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -826,7 +826,7 @@ class spell_warl_soulshatter : public SpellScriptLoader class spell_warl_soulshatter_SpellScript : public SpellScript { - PrepareSpellScript(spell_warl_soulshatter_SpellScript) + PrepareSpellScript(spell_warl_soulshatter_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -865,7 +865,7 @@ class spell_warl_unstable_affliction : public SpellScriptLoader class spell_warl_unstable_affliction_AuraScript : public AuraScript { - PrepareAuraScript(spell_warl_unstable_affliction_AuraScript) + PrepareAuraScript(spell_warl_unstable_affliction_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index 8b49c1c9a6dbc..fd1c785cf5078 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -78,7 +78,7 @@ class spell_warr_bloodthirst : public SpellScriptLoader class spell_warr_bloodthirst_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_bloodthirst_SpellScript) + PrepareSpellScript(spell_warr_bloodthirst_SpellScript); void HandleDamage(SpellEffIndex /*effIndex*/) { @@ -120,7 +120,7 @@ class spell_warr_bloodthirst_heal : public SpellScriptLoader class spell_warr_bloodthirst_heal_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_bloodthirst_heal_SpellScript) + PrepareSpellScript(spell_warr_bloodthirst_heal_SpellScript); void HandleHeal(SpellEffIndex /*effIndex*/) { @@ -148,7 +148,7 @@ class spell_warr_charge : public SpellScriptLoader class spell_warr_charge_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_charge_SpellScript) + PrepareSpellScript(spell_warr_charge_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -188,7 +188,7 @@ class spell_warr_concussion_blow : public SpellScriptLoader class spell_warr_concussion_blow_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_concussion_blow_SpellScript) + PrepareSpellScript(spell_warr_concussion_blow_SpellScript); void HandleDummy(SpellEffIndex /*effIndex*/) { @@ -215,7 +215,7 @@ class spell_warr_damage_shield : public SpellScriptLoader class spell_warr_damage_shield_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_damage_shield_AuraScript) + PrepareAuraScript(spell_warr_damage_shield_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -253,7 +253,7 @@ class spell_warr_deep_wounds : public SpellScriptLoader class spell_warr_deep_wounds_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_deep_wounds_SpellScript) + PrepareSpellScript(spell_warr_deep_wounds_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -308,7 +308,7 @@ class spell_warr_execute : public SpellScriptLoader class spell_warr_execute_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_execute_SpellScript) + PrepareSpellScript(spell_warr_execute_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -364,7 +364,7 @@ class spell_warr_glyph_of_sunder_armor : public SpellScriptLoader class spell_warr_glyph_of_sunder_armor_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_glyph_of_sunder_armor_AuraScript) + PrepareAuraScript(spell_warr_glyph_of_sunder_armor_AuraScript); void HandleEffectCalcSpellMod(AuraEffect const* aurEff, SpellModifier*& spellMod) { @@ -400,7 +400,7 @@ class spell_warr_improved_spell_reflection : public SpellScriptLoader class spell_warr_improved_spell_reflection_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_improved_spell_reflection_SpellScript) + PrepareSpellScript(spell_warr_improved_spell_reflection_SpellScript); void FilterTargets(std::list& unitList) { @@ -428,7 +428,7 @@ class spell_warr_intimidating_shout : public SpellScriptLoader class spell_warr_intimidating_shout_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_intimidating_shout_SpellScript) + PrepareSpellScript(spell_warr_intimidating_shout_SpellScript); void FilterTargets(std::list& unitList) { @@ -456,7 +456,7 @@ class spell_warr_last_stand : public SpellScriptLoader class spell_warr_last_stand_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_last_stand_SpellScript) + PrepareSpellScript(spell_warr_last_stand_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -492,7 +492,7 @@ class spell_warr_overpower : public SpellScriptLoader class spell_warr_overpower_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_overpower_SpellScript) + PrepareSpellScript(spell_warr_overpower_SpellScript); void HandleEffect(SpellEffIndex /*effIndex*/) { @@ -530,7 +530,7 @@ class spell_warr_rend : public SpellScriptLoader class spell_warr_rend_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_rend_AuraScript) + PrepareAuraScript(spell_warr_rend_AuraScript); void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated) { @@ -576,7 +576,7 @@ class spell_warr_retaliation : public SpellScriptLoader class spell_warr_retaliation_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_retaliation_AuraScript) + PrepareAuraScript(spell_warr_retaliation_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -618,7 +618,7 @@ class spell_warr_shattering_throw : public SpellScriptLoader class spell_warr_shattering_throw_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_shattering_throw_SpellScript) + PrepareSpellScript(spell_warr_shattering_throw_SpellScript); void HandleScript(SpellEffIndex effIndex) { @@ -649,7 +649,7 @@ class spell_warr_slam : public SpellScriptLoader class spell_warr_slam_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_slam_SpellScript) + PrepareSpellScript(spell_warr_slam_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -684,7 +684,7 @@ class spell_warr_sweeping_strikes : public SpellScriptLoader class spell_warr_sweeping_strikes_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_sweeping_strikes_AuraScript) + PrepareAuraScript(spell_warr_sweeping_strikes_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -748,7 +748,7 @@ class spell_warr_vigilance : public SpellScriptLoader class spell_warr_vigilance_AuraScript : public AuraScript { - PrepareAuraScript(spell_warr_vigilance_AuraScript) + PrepareAuraScript(spell_warr_vigilance_AuraScript); bool Validate(SpellInfo const* /*spellInfo*/) override { @@ -842,7 +842,7 @@ class spell_warr_vigilance_trigger : public SpellScriptLoader class spell_warr_vigilance_trigger_SpellScript : public SpellScript { - PrepareSpellScript(spell_warr_vigilance_trigger_SpellScript) + PrepareSpellScript(spell_warr_vigilance_trigger_SpellScript); void HandleScript(SpellEffIndex effIndex) { diff --git a/src/server/scripts/World/boss_emerald_dragons.cpp b/src/server/scripts/World/boss_emerald_dragons.cpp index 900c43d329fab..950b4cd10e99f 100644 --- a/src/server/scripts/World/boss_emerald_dragons.cpp +++ b/src/server/scripts/World/boss_emerald_dragons.cpp @@ -687,7 +687,7 @@ class spell_dream_fog_sleep : public SpellScriptLoader class spell_dream_fog_sleep_SpellScript : public SpellScript { - PrepareSpellScript(spell_dream_fog_sleep_SpellScript) + PrepareSpellScript(spell_dream_fog_sleep_SpellScript); void FilterTargets(std::list& targets) { @@ -731,7 +731,7 @@ class spell_mark_of_nature : public SpellScriptLoader class spell_mark_of_nature_SpellScript : public SpellScript { - PrepareSpellScript(spell_mark_of_nature_SpellScript) + PrepareSpellScript(spell_mark_of_nature_SpellScript); bool Validate(SpellInfo const* /*spellInfo*/) override { From a83c3157714b68ed597c199be3521d0d392b0f8d Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 18 May 2014 14:41:11 +0200 Subject: [PATCH 25/27] Core/Calendar: Fix warning Fix warning added b6048f89f7456ab683901f12ea4f90ac5d23be70 about signed/unsigned comparison mismatch --- src/server/game/Handlers/CalendarHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Handlers/CalendarHandler.cpp b/src/server/game/Handlers/CalendarHandler.cpp index ebb1f9c8e571c..278c180c38009 100644 --- a/src/server/game/Handlers/CalendarHandler.cpp +++ b/src/server/game/Handlers/CalendarHandler.cpp @@ -260,7 +260,7 @@ void WorldSession::HandleCalendarAddEvent(WorldPacket& recvData) trans = CharacterDatabase.BeginTransaction(); // client limits the amount of players to be invited to 100 - const int MaxPlayerInvites = 100; + const uint32 MaxPlayerInvites = 100; for (uint32 i = 0; i < inviteCount && i < MaxPlayerInvites; ++i) { From 0904858624297bb6098bde7d22fd080245dd8d5a Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 18 May 2014 16:04:59 +0200 Subject: [PATCH 26/27] Revert "Core/Logging: store loggers in cache correctly" This reverts commit c6a4d5a1de1c8e9c7722a5a13695d1273b8cbfbc. --- src/server/shared/Logging/Log.cpp | 12 ++++++------ src/server/shared/Logging/Log.h | 6 +++++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/server/shared/Logging/Log.cpp b/src/server/shared/Logging/Log.cpp index bc002668b3b14..d7d70e7d4eadb 100644 --- a/src/server/shared/Logging/Log.cpp +++ b/src/server/shared/Logging/Log.cpp @@ -250,13 +250,13 @@ void Log::ReadLoggersFromConfig() AppenderConsole* appender = new AppenderConsole(NextAppenderId(), "Console", LOG_LEVEL_DEBUG, APPENDER_FLAGS_NONE); appenders[appender->getId()] = appender; - Logger& rootLogger = loggers[LOGGER_ROOT]; - rootLogger.Create(LOGGER_ROOT, LOG_LEVEL_ERROR); - rootLogger.addAppender(appender->getId(), appender); + Logger& logger = loggers[LOGGER_ROOT]; + logger.Create(LOGGER_ROOT, LOG_LEVEL_ERROR); + logger.addAppender(appender->getId(), appender); - Logger& serverLogger = loggers["server"]; - serverLogger.Create("server", LOG_LEVEL_INFO); - serverLogger.addAppender(appender->getId(), appender); + logger = loggers["server"]; + logger.Create("server", LOG_LEVEL_ERROR); + logger.addAppender(appender->getId(), appender); } } diff --git a/src/server/shared/Logging/Log.h b/src/server/shared/Logging/Log.h index 5fa638e2f4090..62cc2e064671f 100644 --- a/src/server/shared/Logging/Log.h +++ b/src/server/shared/Logging/Log.h @@ -103,12 +103,16 @@ inline Logger const* Log::GetLoggerByType(std::string const& originalType) } while (!logger); - cachedLoggers[originalType] = logger; + cachedLoggers[type] = logger; return logger; } inline bool Log::ShouldLog(std::string const& type, LogLevel level) { + // TODO: Use cache to store "Type.sub1.sub2": "Type" equivalence, should + // Speed up in cases where requesting "Type.sub1.sub2" but only configured + // Logger "Type" + Logger const* logger = GetLoggerByType(type); if (!logger) return false; From 7228bd3664d9fa6a808e338a2fb2f519a6370672 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 18 May 2014 16:19:16 +0200 Subject: [PATCH 27/27] Revert "Core/Logging: Use logger cache for speed up logger filter search" This reverts commit 39331ea7b9e906b67378a1be6c0c694d264eda3a. This is required to fix a race condition introduced with the logger cache. Adding a locking mechanism might make worthless the speed gain added by the cache itself, push a proper thread-safe implementation if it's worth it. Helgrind log: Possible data race during write of size 8 at 0x736F428 by thread #1 Locks held: none at 0x11872DF: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_insert_bucket_begin(unsigned long, std::__detail::_Hash_node, true>*) (hashtable.h:1196) by 0x11865A1: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node, true>*) (hashtable.h:1342) by 0x1185A48: std::__detail::_Map_base, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>::operator[](std::string const&) (hashtable_policy.h:496) by 0x1184F3A: std::unordered_map, std::equal_to, std::allocator > >::operator[](std::string const&) (unordered_map.h:596) by 0x1184495: Log::GetLoggerByType(std::string const&) (Log.h:106) by 0x1184527: Log::ShouldLog(std::string const&, LogLevel) (Log.h:112) by 0x16E7121: World::LoadConfigSettings(bool) (World.cpp:909) by 0x16EB623: World::SetInitialWorldSettings() (World.cpp:1276) by 0x118F0EC: Master::Run() (Master.cpp:169) by 0x1196AFF: main (Main.cpp:142) This conflicts with a previous read of size 8 by thread #3 Locks held: none at 0x1186EA6: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_find_before_node(unsigned long, std::string const&, unsigned long) const (hashtable.h:1162) by 0x1186263: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_find_node(unsigned long, std::string const&, unsigned long) const (hashtable.h:604) by 0x11857B9: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::find(std::string const&) (hashtable.h:1025) by 0x1184DE2: std::unordered_map, std::equal_to, std::allocator > >::find(std::string const&) (unordered_map.h:543) by 0x11842EF: Log::GetLoggerByType(std::string const&) (Log.h:84) by 0x1184527: Log::ShouldLog(std::string const&, LogLevel) (Log.h:112) by 0x189AACA: MySQLConnection::Execute(char const*) (MySQLConnection.cpp:175) by 0x18A3225: BasicStatementTask::Execute() (AdhocStatement.cpp:56) Address 0x736F428 is 120 bytes inside a block of size 184 alloc'd at 0x4C2AE3A: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:350) by 0x1185046: ACE_Singleton::instance() (Singleton.cpp:91) by 0x11968E2: main (Main.cpp:135) --- src/server/shared/Logging/Log.cpp | 3 +- src/server/shared/Logging/Log.h | 50 +++++++++++-------------------- 2 files changed, 19 insertions(+), 34 deletions(-) diff --git a/src/server/shared/Logging/Log.cpp b/src/server/shared/Logging/Log.cpp index d7d70e7d4eadb..dc9bda62bfbcd 100644 --- a/src/server/shared/Logging/Log.cpp +++ b/src/server/shared/Logging/Log.cpp @@ -267,7 +267,7 @@ void Log::vlog(std::string const& filter, LogLevel level, char const* str, va_li write(new LogMessage(level, filter, text)); } -void Log::write(LogMessage* msg) +void Log::write(LogMessage* msg) const { Logger const* logger = GetLoggerByType(msg->type); msg->text.append("\n"); @@ -376,7 +376,6 @@ void Log::Close() delete worker; worker = NULL; loggers.clear(); - cachedLoggers.clear(); for (AppenderMap::iterator it = appenders.begin(); it != appenders.end(); ++it) { delete it->second; diff --git a/src/server/shared/Logging/Log.h b/src/server/shared/Logging/Log.h index 62cc2e064671f..a118e6e8773a6 100644 --- a/src/server/shared/Logging/Log.h +++ b/src/server/shared/Logging/Log.h @@ -35,7 +35,6 @@ class Log friend class ACE_Singleton; typedef std::unordered_map LoggerMap; - typedef std::unordered_map CachedLoggerContainer; private: Log(); @@ -44,7 +43,7 @@ class Log public: void LoadFromConfig(); void Close(); - bool ShouldLog(std::string const& type, LogLevel level); + bool ShouldLog(std::string const& type, LogLevel level) const; bool SetLogLevel(std::string const& name, char const* level, bool isLogger = true); void outMessage(std::string const& f, LogLevel level, char const* str, ...) ATTR_PRINTF(4, 5); @@ -57,9 +56,9 @@ class Log private: static std::string GetTimestampStr(); void vlog(std::string const& f, LogLevel level, char const* str, va_list argptr); - void write(LogMessage* msg); + void write(LogMessage* msg) const; - Logger const* GetLoggerByType(std::string const& type); + Logger const* GetLoggerByType(std::string const& type) const; Appender* GetAppenderByName(std::string const& name); uint8 NextAppenderId(); void CreateAppenderFromConfig(std::string const& name); @@ -69,7 +68,6 @@ class Log AppenderMap appenders; LoggerMap loggers; - CachedLoggerContainer cachedLoggers; uint8 AppenderId; std::string m_logsDir; @@ -78,36 +76,24 @@ class Log LogWorker* worker; }; -inline Logger const* Log::GetLoggerByType(std::string const& originalType) +inline Logger const* Log::GetLoggerByType(std::string const& type) const { - // Check if already cached - CachedLoggerContainer::const_iterator itCached = cachedLoggers.find(originalType); - if (itCached != cachedLoggers.end()) - return itCached->second; - - Logger const* logger = NULL; - std::string type(originalType); - - do - { - // Search for the logger "type.subtype" - LoggerMap::const_iterator it = loggers.find(type); - if (it == loggers.end()) - { - // Search for the logger "type", if our logger contains '.', otherwise search for LOGGER_ROOT - size_t found = type.find_last_of("."); - type = found != std::string::npos ? type.substr(0, found) : LOGGER_ROOT; - } - else - logger = &(it->second); - } - while (!logger); - - cachedLoggers[type] = logger; - return logger; + LoggerMap::const_iterator it = loggers.find(type); + if (it != loggers.end()) + return &(it->second); + + if (type == LOGGER_ROOT) + return NULL; + + std::string parentLogger = LOGGER_ROOT; + size_t found = type.find_last_of("."); + if (found != std::string::npos) + parentLogger = type.substr(0,found); + + return GetLoggerByType(parentLogger); } -inline bool Log::ShouldLog(std::string const& type, LogLevel level) +inline bool Log::ShouldLog(std::string const& type, LogLevel level) const { // TODO: Use cache to store "Type.sub1.sub2": "Type" equivalence, should // Speed up in cases where requesting "Type.sub1.sub2" but only configured