Added support for item set names in case where item does not exist in item_template (like gladiator gear)
--HG-- branch : trunk
This commit is contained in:
@@ -1284,6 +1284,14 @@ bool ChatHandler::HandleReloadItemEnchantementsCommand(const char*)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadItemSetNamesCommand(const char*)
|
||||
{
|
||||
sLog.outString("Re-Loading Item set names...");
|
||||
LoadRandomEnchantmentsTable();
|
||||
SendGlobalGMSysMessage("DB table `item_set_names` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadGameObjectScriptsCommand(const char* arg)
|
||||
{
|
||||
if (sWorld.IsScriptScheduled())
|
||||
@@ -1502,6 +1510,14 @@ bool ChatHandler::HandleReloadLocalesItemCommand(const char* /*arg*/)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadLocalesItemSetNameCommand(const char* /*arg*/)
|
||||
{
|
||||
sLog.outString("Re-Loading Locales Item set name... ");
|
||||
objmgr.LoadItemSetNameLocales();
|
||||
SendGlobalGMSysMessage("DB table `locales_item_set_name` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadLocalesNpcTextCommand(const char* /*arg*/)
|
||||
{
|
||||
sLog.outString("Re-Loading Locales NPC Text ... ");
|
||||
|
||||
Reference in New Issue
Block a user