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
/* | |
SQL : CHARACTERS | |
DROP TABLE IF EXISTS `character_loot_rate`; | |
CREATE TABLE `character_loot_rate` ( | |
`guid` int(10) unsigned NOT NULL, | |
`loot_rate` int(10) unsigned NOT NULL DEFAULT '1', | |
PRIMARY KEY (`guid`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player Loot Rate System'; |
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
Set @Subname_OS_Vanilla_1 := "Transmog Off-Set Vanilla 'Uncommon'"; | |
Set @Subname_OS_Vanilla_2 := "Transmog Off-Set Vanilla 'Rare & Epics'"; | |
Set @Subname_Wep_Vanilla_1 := "Transmog Weapons Vanilla 'Uncommon'"; | |
Set @Subname_Wep_Vanilla_2 := "Transmog Weapons Vanilla 'Rare'"; | |
Set @Subname_Wep_Vanilla_3 := "Transmog Weapons Vanilla 'Epics'"; | |
Set @M_Cloth := 7; | |
Set @M_Leather := 8; | |
Set @M_Mail := 5; |
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
class LEVEL_NPC : public CreatureScript | |
{ | |
public: LEVEL_NPC() : CreatureScript("LEVEL_NPC") {} | |
bool OnGossipHello(Player* player, Creature* creature) | |
{ | |
if (player->HasItemCount(600000, 1, true) || player->HasItemCount(600001, 1, true)) | |
ChatHandler(player->GetSession()).SendSysMessage("You are no longer able to acces to this npc."); | |
if (player->getLevel() == 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
From 5b66515188713231ecd95db306f9e0c2e7ada265 Mon Sep 17 00:00:00 2001 | |
From: soulfrost <[email protected]> | |
Date: Wed, 20 Mar 2013 21:03:08 +0400 | |
Subject: [PATCH 2/2] SpellEffectInfo::CalcRadius | |
Signed-off-by: soulfrost <[email protected]> | |
--- | |
src/server/game/DataStores/DBCStructure.h | 6 +- | |
src/server/game/Spells/SpellInfo.cpp | 392 ++++++++++++++++++++++++++++-- | |
src/server/game/Spells/SpellInfo.h | 2 +- |
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/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp | |
index 91a2ff9..b3a1d34 100644 | |
--- a/src/server/authserver/Server/AuthSession.cpp | |
+++ b/src/server/authserver/Server/AuthSession.cpp | |
@@ -22,11 +22,13 @@ | |
#include "Database/DatabaseEnv.h" | |
#include "SHA1.h" | |
#include "TOTP.h" | |
+#include "Util.h" | |
#include "openssl/crypto.h" |
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
/* | |
Ultimate Duel Script (Reward/Rating/Security/Zoned & Reset) | |
Author : Philippe | |
Version : V1.4 (Full Rewrite) | |
Release Date : 21/03/14 | |
Script Complete : 80 % | |
Version : 3.3.5 & 4.3.4 | |
TrinityCore based. | |
Tested and Works Well. |
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
/* | |
Ultimate Duel Script (Reward/Rating/Security/Zoned & Reset) | |
Author : Philippe | |
Version : V1.4 (Full Rewrite) | |
Release Date : 21/03/14 | |
Script Complete : 80 % | |
Version : 3.3.5 & 4.3.4 | |
TrinityCore based. | |
Tested and Works Well. |
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 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" | |
@@ -134,7 +135,7 @@ enum CharacterCustomizeFlags |