This file contains 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" | |
enum NpcAtions { | |
NPC_RESET_NORMALS = 100, | |
NPC_RESET_HERO = 200 | |
}; | |
class npc_reset_instance : public CreatureScript | |
{ | |
public: |
This file contains 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/ChatHandler.cpp b/src/server/game/Handlers/ChatHandler.cpp | |
index 4ebccc5..d8ef043 100644 | |
--- a/src/server/game/Handlers/ChatHandler.cpp | |
+++ b/src/server/game/Handlers/ChatHandler.cpp | |
@@ -47,6 +47,18 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket& recvData) | |
recvData >> type; | |
recvData >> lang; | |
+/* Chat Min PlayedTime Coded By IranCore.Ir */ | |
+ Player* chatkonande = GetPlayer(); |
This file contains 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
# PLEASE APPLY THIS MANUALLY MY FOLDERS ARE CORRUPTED | |
# OPEN SpellEffects.cpp | |
# Search // rogue family enchantments exception by duration | |
# Follow The Colors. Red is for Suppressing - Green is for adding remove the - / + after change. | |
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp | |
index b825c34..261c64a 100644 | |
--- a/src/server/game/Spells/SpellEffects.cpp | |
+++ b/src/server/game/Spells/SpellEffects.cpp | |
@@ -2870,13 +2870,10 @@ void Spell::EffectEnchantItemTmp(SpellEffIndex effIndex) |
This file contains 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 0625a65..8c2b2d9 100644 | |
--- a/src/server/game/Entities/Player/Player.cpp | |
+++ b/src/server/game/Entities/Player/Player.cpp | |
@@ -80,6 +80,7 @@ | |
#include "WorldSession.h" | |
#include "MovementStructures.h" | |
#include "GameObjectAI.h" | |
+#include "Config.h" | |
This file contains 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/IcecrownCitadel/boss_icecrown_gunship_battle.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp | |
index 3e18213..23a2163 100644 | |
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp | |
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp | |
@@ -2244,10 +2244,12 @@ class spell_igb_gunship_fall_teleport : public SpellScriptLoader | |
void RelocateDest(SpellEffIndex /*effIndex*/) | |
{ | |
+ Position offset1 = {0.0f, 0.0f, 36.0f, 0.0f}; | |
+ Position offset2 = {0.0f, 0.0f, 21.0f, 0.0f}; |
This file contains 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 c9275a0..056889a 100644 | |
--- a/src/server/game/Entities/Player/Player.cpp | |
+++ b/src/server/game/Entities/Player/Player.cpp | |
@@ -19122,14 +19122,9 @@ bool Player::Satisfy(AccessRequirement const* ar, uint32 target_map, bool report | |
missingQuest = ar->quest_H; | |
uint32 missingAchievement = 0; | |
- Player* leader = this; | |
- uint64 leaderGuid = GetGroup() ? GetGroup()->GetLeaderGUID() : GetGUID(); |
This file contains 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 "AchievementMgr.h" | |
#define ARRAY_SIZE(x) sizeof(x) / sizeof(x[0]) | |
const uint32 achievement_ids[] = { | |
// Trial of the Crusader | |
3917, // Call of the Crusade (10 player) | |
3916, // Call of the Crusade (25 player) |
This file contains 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 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 <onlysuffering@gmail.com> | |
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 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()) |
OlderNewer