Combat/threat rewrite prep - merge RBAC/DB changes.

Port From (https://github.com/TrinityCore/TrinityCore/commit/118e53f1b84fca238a6f1039471351afa61bd6c4)
This commit is contained in:
hondacrx
2020-07-24 17:50:10 -04:00
parent 7bb86f94c5
commit 7baa1aede9
5 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ namespace Framework.Constants
CommandDebugGetitemstate = 306,
CommandDebugGetitemvalue = 307, // DEPRECATED: DON'T REUSE
CommandDebugGetvalue = 308, // DEPRECATED: DON'T REUSE
CommandDebugHostil = 309,
CommandDebugCombat = 309,
CommandDebugItemexpire = 310,
CommandDebugLootrecipient = 311,
CommandDebugLos = 312,
+2 -2
View File
@@ -435,8 +435,8 @@ namespace Game.Chat
return true;
}
[Command("hostil", RBACPermissions.CommandDebugHostil)]
static bool HandleDebugHostileRefListCommand(StringArguments args, CommandHandler handler)
[Command("combat", RBACPermissions.CommandDebugCombat)]
static bool HandleDebugCombatListCommand(StringArguments args, CommandHandler handler)
{
Unit target = handler.GetSelectedUnit();
if (!target)