diff options
author | QAston <none@none> | 2010-02-01 19:22:32 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-02-01 19:22:32 +0100 |
commit | a1256d88ee4cb4295e38fcf5f85581e9b1d8c876 (patch) | |
tree | 5ba85162a48efeeedf9b31bd7dbf5fa18ca8488e /src/game/Level3.cpp | |
parent | 65705a16c148d06e1b7f029edd98756dbef24489 (diff) |
*drop spell_elixir table
*add spell_group table for storage of groups of spell (kinda obvious, isn't it?) and populate the table with converted spell_elixir table data
*the table is going to be maintained by core team
*fix percentage display at spell_ranks table loading
*add TARGET_UNIT_CASTER to allowed learn spell targets in npc_trainer table, thanks to Aokromes for noticing the issue.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r-- | src/game/Level3.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index 3f71bbdfc16..75429eca352 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -651,7 +651,7 @@ bool ChatHandler::HandleReloadAllSpellCommand(const char*) HandleReloadSkillExtraItemTemplateCommand("a"); HandleReloadSpellRequiredCommand("a"); HandleReloadSpellAreaCommand("a"); - HandleReloadSpellElixirCommand("a"); + HandleReloadSpellGroupsCommand("a"); HandleReloadSpellLearnSpellCommand("a"); HandleReloadSpellLinkedSpellCommand("a"); HandleReloadSpellProcEventCommand("a"); @@ -1030,11 +1030,11 @@ bool ChatHandler::HandleReloadSpellRequiredCommand(const char*) return true; } -bool ChatHandler::HandleReloadSpellElixirCommand(const char*) +bool ChatHandler::HandleReloadSpellGroupsCommand(const char*) { - sLog.outString( "Re-Loading Spell Elixir types..." ); - spellmgr.LoadSpellElixirs(); - SendGlobalGMSysMessage("DB table `spell_elixir` (spell elixir types) reloaded."); + sLog.outString( "Re-Loading Spell Groups..." ); + spellmgr.LoadSpellGroups(); + SendGlobalGMSysMessage("DB table `spell_group` (spell elixir types) reloaded."); return true; } |