From e3afe19ce8ca61bcf5cd1cfd18e5147dccab7cf3 Mon Sep 17 00:00:00 2001 From: Gargarensis Date: Tue, 26 Jul 2016 01:11:23 +0200 Subject: [PATCH] some modifications to gm commands sql --- .../data/sql/new/world/azth_gm_commands.sql | 23 +++---------------- .../azth_custom_hearthstone_mode.cpp | 3 +++ 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/modules/azerothshard/data/sql/new/world/azth_gm_commands.sql b/modules/azerothshard/data/sql/new/world/azth_gm_commands.sql index f815b66157..89bc01b05e 100644 --- a/modules/azerothshard/data/sql/new/world/azth_gm_commands.sql +++ b/modules/azerothshard/data/sql/new/world/azth_gm_commands.sql @@ -1,21 +1,3 @@ -# -# AzerothShard RBAC Structure -# -# Current original Roles are: -# 198 Moderator Commands -# 197 GameMaster Commands -# 196 Administrator Commands -# -# 195: Player 0 -# 194: Moderator 1 -# 193: GameMaster 2 -# 192: Administrator 3 -# -# AzerothShard custom roles: 100000+ -# - -# IMPORTANT RULE: do NOT insert duplicate linked permissions for multiple non-custom roles - # # EDIT DEFAULT PERMISSIONS # @@ -92,7 +74,7 @@ UPDATE command SET `security` = 0 WHERE `name` IN "server motd" ); -# [100000] TIER 0: Interface shared by all GMs +# TIER 0: Interface shared by all GMs # # COMMANDS @@ -170,6 +152,8 @@ UPDATE command SET `security` = 1 WHERE `name` IN "reload rbac", "gps", "guild rank" +"title" +"unmute" ); # @@ -233,7 +217,6 @@ UPDATE command SET `security` = 2 WHERE `name` IN "ban", "morph", "demorph", -"unmute" ); # [100005] Entertainer diff --git a/modules/azerothshard/src/server/plugins/Hearthstone/azth_custom_hearthstone_mode.cpp b/modules/azerothshard/src/server/plugins/Hearthstone/azth_custom_hearthstone_mode.cpp index af0046e993..d63775d0b8 100644 --- a/modules/azerothshard/src/server/plugins/Hearthstone/azth_custom_hearthstone_mode.cpp +++ b/modules/azerothshard/src/server/plugins/Hearthstone/azth_custom_hearthstone_mode.cpp @@ -7,6 +7,7 @@ #include "azth_custom_new_vendor.cpp" #include "WorldPacket.h" #include "Chat.h" +#include "Spell.h" #define GOSSIP_ITEM_GIVE_PVE_QUEST "Vorrei ricevere la mia missione PVE giornaliera." @@ -340,4 +341,6 @@ void AddSC_hearthstone() new npc_han_al(); new npc_azth_vendor(); new item_azth_hearthstone_loot_sack(); + new item_azth_hearthstone_morph_creator(); + new item_azth_hearthstone_morph(); } \ No newline at end of file