mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7776] Completed implementation of CMSG_SPELLCLICK
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
This commit is contained in:
parent
6e87802fa5
commit
fefe56e3c5
19 changed files with 225 additions and 39 deletions
|
|
@ -102,6 +102,7 @@ bool ChatHandler::HandleReloadAllNpcCommand(const char* /*args*/)
|
|||
HandleReloadNpcTrainerCommand("a");
|
||||
HandleReloadNpcVendorCommand("a");
|
||||
HandleReloadPointsOfInterestCommand("a");
|
||||
HandleReloadSpellClickSpellsCommand("a");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -429,6 +430,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`)" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue