diff options
| author | Rat <none@none> | 2010-09-26 20:48:25 +0200 |
|---|---|---|
| committer | Rat <none@none> | 2010-09-26 20:48:25 +0200 |
| commit | bbf86641a1c35fcc66de30d7a79175c31effde88 (patch) | |
| tree | 165aa4c561800bf54d7037eb5f1fd7cf5b0f8801 /src/server/game/Chat/Commands | |
| parent | 133ab88f8c43edf6e987649c86ad4f7b684c2886 (diff) | |
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
Diffstat (limited to 'src/server/game/Chat/Commands')
| -rw-r--r-- | src/server/game/Chat/Commands/Level3.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/server/game/Chat/Commands/Level3.cpp b/src/server/game/Chat/Commands/Level3.cpp index 51dca819481..b831d8b6294 100644 --- a/src/server/game/Chat/Commands/Level3.cpp +++ b/src/server/game/Chat/Commands/Level3.cpp @@ -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) |
