mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
[7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
--HG--
branch : trunk
This commit is contained in:
@@ -576,6 +576,7 @@ bool ChatHandler::HandleReloadAllNpcCommand(const char* /*args*/)
|
||||
HandleReloadNpcTrainerCommand("a");
|
||||
HandleReloadNpcVendorCommand("a");
|
||||
HandleReloadPointsOfInterestCommand("a");
|
||||
HandleReloadSpellClickSpellsCommand("a");
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -922,6 +923,14 @@ bool ChatHandler::HandleReloadPointsOfInterestCommand(const char*)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadSpellClickSpellsCommand(const char*)
|
||||
{
|
||||
sLog.outString( "Re-Loading `npc_spellclick_spells` Table!" );
|
||||
objmgr.LoadNPCSpellClickSpells();
|
||||
SendGlobalSysMessage("DB table `npc_spellclick_spells` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadReservedNameCommand(const char*)
|
||||
{
|
||||
sLog.outString( "Loading ReservedNames... (`reserved_name`)" );
|
||||
|
||||
Reference in New Issue
Block a user