This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AccountMounts : public PlayerScript | |
| { | |
| static const bool limitrace = false; // This set to true will only learn mounts from chars on the same team, do what you want. | |
| public: | |
| AccountMounts() : PlayerScript("AccountMounts") { } | |
| void OnLogin(Player* pPlayer) | |
| { | |
| std::vector<uint32> Guids; | |
| QueryResult result1 = CharacterDatabase.PQuery("SELECT guid, race FROM characters WHERE account = %u", pPlayer->GetSession()->GetAccountId()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From d68964ad0ab614fb8069833a64c85cbb83995519 Mon Sep 17 00:00:00 2001 | |
| From: trickerer <[email protected]> | |
| Date: Sat, 19 Oct 2013 18:33:47 +0700 | |
| Subject: [PATCH] Multiple spell reflection | |
| --- | |
| src/server/game/Entities/Unit/Unit.cpp | 38 ++++++++++++++++++++++++++- | |
| src/server/game/Spells/Auras/SpellAuras.cpp | 6 +++- | |
| src/server/game/Spells/Auras/SpellAuras.h | 2 +- | |
| 3 files changed, 43 insertions(+), 3 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -5525,7 +5534,7 @@ bool Player::CanJoinConstantChannelInZone(ChatChannelsEntry const* channel, Area | |
| if (channel->flags & CHANNEL_DBC_FLAG_ZONE_DEP && zone->flags & AREA_FLAG_ARENA_INSTANCE) | |
| return false; | |
| - if ((channel->flags & CHANNEL_DBC_FLAG_CITY_ONLY) && (!(zone->flags & AREA_FLAG_SLAVE_CAPITAL))) | |
| + if ((channel->flags & CHANNEL_DBC_FLAG_CITY_ONLY) && (!(zone->mapid == 0 || zone->mapid == 1 || zone->mapid == 571 || zone->mapid == 530))) | |
| return false; | |
| if ((channel->flags & CHANNEL_DBC_FLAG_GUILD_REQ) && GetGuildId()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Script : Player Cooldown Reset On Boss & World Boss Kill | |
| Author : Callmephil | |
| Patch : 3.3.5 - 4.3.4 | |
| Version : 1.5 | |
| Special thx to Core Surgeon (Ac-Web) for group check. | |
| */ | |
| #include "Group.h" | |
| enum SPELL_DEBUFF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/game/Entities/Vehicle/Vehicle.cpp b/src/server/game/Entities/Vehicle/Vehicle.cpp | |
| index 38be6db..b66b8fb 100644 | |
| --- a/src/server/game/Entities/Vehicle/Vehicle.cpp | |
| +++ b/src/server/game/Entities/Vehicle/Vehicle.cpp | |
| @@ -836,8 +836,11 @@ bool VehicleJoinEvent::Execute(uint64, uint32) | |
| player->UnsummonPetTemporaryIfAny(); | |
| } | |
| if (Seat->second.SeatInfo->m_flags & VEHICLE_SEAT_FLAG_PASSENGER_NOT_SELECTABLE) | |
| Passenger->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp | |
| index 161fca4..bf408da 100644 | |
| --- a/src/server/game/Entities/Player/Player.cpp | |
| +++ b/src/server/game/Entities/Player/Player.cpp | |
| @@ -5538,6 +5538,10 @@ void Player::RepopAtGraveyard() | |
| bool Player::CanJoinConstantChannelInZone(ChatChannelsEntry const* channel, AreaTableEntry const* zone) | |
| { | |
| + // Player can join LFG anywhere | |
| + if (channel->flags & CHANNEL_DBC_FLAG_LFG) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/scripts/Northrend/icecrown.cpp b/src/server/scripts/Northrend/icecrown.cpp | |
| index 27054b5..ca7afc7 100644 | |
| --- a/src/server/scripts/Northrend/icecrown.cpp | |
| +++ b/src/server/scripts/Northrend/icecrown.cpp | |
| @@ -276,6 +276,149 @@ public: | |
| }; | |
| /*###### | |
| +## npc_squire_danny | |
| +######*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 899905b8891157007bd0a884b87b2abaa2f7a50e Mon Sep 17 00:00:00 2001 | |
| From: Demonid <[email protected]> | |
| Date: Sat, 21 Mar 2015 10:17:19 -0700 | |
| Subject: [PATCH] Core/RBAC: Move RBAC code to namespace rbac | |
| --- | |
| src/server/game/Accounts/AccountMgr.cpp | 50 ++--- | |
| src/server/game/Accounts/AccountMgr.h | 37 ++-- | |
| src/server/game/Accounts/RBAC.cpp | 5 + | |
| src/server/game/Accounts/RBAC.h | 215 ++++++++++---------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TRUNCATE `spell_group`; | |
| TRUNCATE `spell_group_stack_rules`; | |
| INSERT INTO `spell_group` (`id`, `spell_id`) VALUES | |
| -- Battle Elixirs | |
| (1, 2367), | |
| (1, 2374), | |
| (1, 3160), | |
| (1, 3164), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 546767d3ccdeed0fd4f851201bd6e4c4c8fb86c4 Mon Sep 17 00:00:00 2001 | |
| From: PaulHellCore <[email protected]> | |
| Date: Wed, 8 Jul 2015 15:33:53 +0300 | |
| Subject: [PATCH] Core/Spells: Full hp for dismount pet's | |
| --- | |
| src/server/game/Entities/Pet/Pet.cpp | 10 +++++----- | |
| 1 file changed, 5 insertions(+), 5 deletions(-) | |
| diff --git a/src/server/game/Entities/Pet/Pet.cpp b/src/server/game/Entities/Pet/Pet.cpp |