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 2b19444ee5ed4f2525d2d2b94b15785cdd41c3fb Mon Sep 17 00:00:00 2001 | |
From: Callmephil <[email protected]> | |
Date: Wed, 16 Mar 2016 01:57:37 +0200 | |
Subject: [PATCH] Core/Fix & Features : Implement Cross-Faction LFG / Implement | |
Two Side Interaction / Fix Guild Bank For GM | |
--- | |
src/server/game/AuctionHouse/AuctionHouseMgr.cpp | 5 +- | |
src/server/game/Chat/Channels/Channel.cpp | 9 +++- | |
src/server/game/Chat/Channels/ChannelMgr.cpp | 6 ++- |
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/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp | |
index 1dd66d7699..8683884b25 100644 | |
--- a/src/server/game/AI/CreatureAI.cpp | |
+++ b/src/server/game/AI/CreatureAI.cpp | |
@@ -350,6 +350,40 @@ void CreatureAI::SetBoundary(CreatureBoundary const* boundary, bool negateBounda | |
me->DoImmediateBoundaryCheck(); | |
} | |
+bool CreatureAI::CheckMeleeRepositionRequirements() | |
+{ |
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/ActionBatchObject.cpp b/src/server/game/Entities/Player/ActionBatchObject.cpp | |
new file mode 100644 | |
index 0000000000..dfefef657a | |
--- /dev/null | |
+++ b/src/server/game/Entities/Player/ActionBatchObject.cpp | |
@@ -0,0 +1,126 @@ | |
+/* | |
+* Copyright (C) 2008-2018 TrinityCore <https://www.trinitycore.org/> | |
+* | |
+* This program is free software; you can redistribute it and/or modify it |
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
item/texturecomponents/torsouppertexture/leather_draenorquest95_b_01_chest_tu_f.blp | |
item/texturecomponents/torsouppertexture/leather_draenorquest95_b_01_chest_tu_m.blp | |
item/texturecomponents/torsolowertexture/leather_draenorquest95_b_01bronze_belt_tl_u.blp | |
item/texturecomponents/torsouppertexture/leather_legionquest100_b_01_brown_chest_tu_m_dhu.blp | |
item/texturecomponents/torsolowertexture/leather_legionquest100_b_01_brown_chest_tl_f_dhu.blp | |
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_pam.m2 | |
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_scf.m2 | |
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_scm.m2 | |
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_taf.m2 | |
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_tam.m2 |
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 spell_gen_mount : public SpellScriptLoader | |
{ | |
public: | |
spell_gen_mount(const char* name, uint32 mount0 = 0, uint32 mount60 = 0, uint32 mount100 = 0, uint32 mount150 = 0, uint32 mount280 = 0, uint32 mount310 = 0) : SpellScriptLoader(name), | |
_mount0(mount0), _mount60(mount60), _mount100(mount100), _mount150(mount150), _mount280(mount280), _mount310(mount310) { } | |
class spell_gen_mount_SpellScript : public SpellScript | |
{ | |
PrepareSpellScript(spell_gen_mount_SpellScript); |
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 Custom_NPC : public CreatureScript | |
{ | |
public: | |
Custom_NPC() : CreatureScript("Custom_NPC") { } | |
bool OnGossipHello(Player* player, Creature* creature) | |
{ | |
player->ADD_GOSSIP_ITEM(1, "Nevermind", GOSSIP_SENDER_MAIN, 0); | |
player->ADD_GOSSIP_ITEM(1, "Thing you Want to do", GOSSIP_SENDER_MAIN, 1); |
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/Handlers/MiscHandler.cpp b/src/server/game/Handlers/MiscHandler.cpp | |
index 758d5af..6f07ff4 100644 | |
--- a/src/server/game/Handlers/MiscHandler.cpp | |
+++ b/src/server/game/Handlers/MiscHandler.cpp | |
@@ -255,6 +255,10 @@ void WorldSession::HandleWhoOpcode(WorldPacket& recvData) | |
// player can see member of other team only if CONFIG_ALLOW_TWO_SIDE_WHO_LIST | |
if (target->GetTeam() != team && !HasPermission(rbac::RBAC_PERM_TWO_SIDE_WHO_LIST)) | |
continue; | |
+ | |
+ // will not allow player in arena to see other players in who |
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 7b0fad50ebcb1be886b807c9f8e6374311e6e234 Mon Sep 17 00:00:00 2001 | |
From: EmiliyanKurtseliyanski <[email protected]> | |
Date: Sun, 30 Mar 2014 22:22:16 -0700 | |
Subject: [PATCH] Proper Spectator | |
--- | |
sql/Razer/Custom/rbac_permissions_Spectate.sql | 12 + | |
.../Custom/rbac_role_permissions_Spectate.sql | 12 + | |
src/server/game/Accounts/RBAC.h | 6 + | |
src/server/game/Battlegrounds/Battleground.cpp | 34 +- |
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
#include "ScriptPCH.h" | |
class gamble_npc : public CreatureScript | |
{ | |
public: | |
gamble_npc() : CreatureScript("gamble_npc") { } | |
std::string colorstring(int8 type) | |
{ | |
std::string _color; |
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/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp | |
index 768b290..9915fea 100644 | |
--- a/src/server/game/Spells/Spell.cpp | |
+++ b/src/server/game/Spells/Spell.cpp | |
@@ -3690,6 +3690,11 @@ void Spell::cast(bool skipCheck) | |
} | |
} | |
+ if (Player* playercast = m_caster->ToPlayer()) | |
+ if ((playercast->IsAlive() && playercast->IsInCombat()) && player->GetMap()->IsBattlegroundOrArena()) |