Core/Scripts/SmartAI: removed test code
Core/CreatureTextMgr: added reload command handle text from DB handle grouped texts handle repeatable/single texts based on probability todo: sound/emote, code cleanup --HG-- branch : trunk
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
#include "WeatherMgr.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "LFGMgr.h"
|
||||
#include "CreatureTextMgr.h"
|
||||
|
||||
//reload commands
|
||||
bool ChatHandler::HandleReloadAllCommand(const char*)
|
||||
@@ -1170,6 +1171,14 @@ bool ChatHandler::HandleReloadConditions(const char* /*args*/)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadCreatureText(const char* /*args*/)
|
||||
{
|
||||
sLog.outString("Re-Loading Creature Texts...");
|
||||
sCreatureTextMgr.LoadCreatureTexts();
|
||||
SendGlobalGMSysMessage("Creature Texts reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleAccountSetGmLevelCommand(const char *args)
|
||||
{
|
||||
if (!*args)
|
||||
|
||||
Reference in New Issue
Block a user