Added reload command for spell_linked_spell DB table

--HG--
branch : trunk
This commit is contained in:
mknjc committed 2009-04-05 12:46:52 +02:00
1 parent 5fb720d117
commit 813a832b11
4 files changed
+14

No files matched your search

+9
View File
@@ -620,6 +620,7 @@ bool ChatHandler::HandleReloadAllSpellCommand(const char*)
HandleReloadSpellRequiredCommand("a");
HandleReloadSpellElixirCommand("a");
HandleReloadSpellLearnSpellCommand("a");
HandleReloadSpellLinkedSpellCommand("a");
HandleReloadSpellProcEventCommand("a");
HandleReloadSpellScriptTargetCommand("a");
HandleReloadSpellTargetPositionCommand("a");
@@ -927,6 +928,14 @@ bool ChatHandler::HandleReloadSpellLearnSpellCommand(const char*)
return true;
}
bool ChatHandler::HandleReloadSpellLinkedSpellCommand(const char*)
{
sLog.outString( "Re-Loading Spell Linked Spells..." );
spellmgr.LoadSpellLinked();
SendGlobalGMSysMessage("DB table `spell_linked_spell` reloaded.");
return true;
}
bool ChatHandler::HandleReloadSpellProcEventCommand(const char*)
{
sLog.outString( "Re-Loading Spell Proc Event conditions..." );