mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11523] Implement .npc aiinfo
Comamnd show information about used AI and scripts for targeted creature. AI classes (including from script DLL) can provide additinal info about own state. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ae2a9e1c6a
commit
4ba5aa83e3
14 changed files with 94 additions and 11 deletions
|
|
@ -1708,7 +1708,7 @@ bool ChatHandler::HandleWhispersCommand(char* args)
|
|||
{
|
||||
if(!*args)
|
||||
{
|
||||
PSendSysMessage(LANG_COMMAND_WHISPERACCEPTING, m_session->GetPlayer()->isAcceptWhispers() ? GetMangosString(LANG_ON) : GetMangosString(LANG_OFF));
|
||||
PSendSysMessage(LANG_COMMAND_WHISPERACCEPTING, GetOnOffStr(m_session->GetPlayer()->isAcceptWhispers()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue