diff options
author | megamage <none@none> | 2009-08-24 20:30:52 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-24 20:30:52 -0500 |
commit | 5df31bd4b3fddf35a884e3608210be25d4e94b9f (patch) | |
tree | 4f0912fa60e7ada4a8794b67a07a95e054a4881d /src/game/Level3.cpp | |
parent | 4a1a82c5e223ab5fa35ae898783c7771fc73fef4 (diff) |
[8412] Update some new and old client supported shift-links to proper format. Author: VladimirMangos
* List all client and server side supported shift-link types updated in Chat.cpp
* Now Henchant anf Hglyph links can be used in commands as spell links.
* Hitem and Hquest links changed to client supported form.
--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 7b69d03da38..d51db1d5a7a 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -3569,7 +3569,7 @@ bool ChatHandler::HandleLookupQuestCommand(const char* args) } if (m_session) - PSendSysMessage(LANG_QUEST_LIST_CHAT,qinfo->GetQuestId(),qinfo->GetQuestId(),title.c_str(),statusStr); + PSendSysMessage(LANG_QUEST_LIST_CHAT,qinfo->GetQuestId(),qinfo->GetQuestId(),qinfo->GetQuestLevel(),title.c_str(),statusStr); else PSendSysMessage(LANG_QUEST_LIST_CONSOLE,qinfo->GetQuestId(),title.c_str(),statusStr); @@ -3606,7 +3606,7 @@ bool ChatHandler::HandleLookupQuestCommand(const char* args) } if (m_session) - PSendSysMessage(LANG_QUEST_LIST_CHAT,qinfo->GetQuestId(),qinfo->GetQuestId(),title.c_str(),statusStr); + PSendSysMessage(LANG_QUEST_LIST_CHAT,qinfo->GetQuestId(),qinfo->GetQuestId(),qinfo->GetQuestLevel(),title.c_str(),statusStr); else PSendSysMessage(LANG_QUEST_LIST_CONSOLE,qinfo->GetQuestId(),title.c_str(),statusStr); @@ -5544,7 +5544,7 @@ bool ChatHandler::HandleQuestAdd(const char* args) } // .addquest #entry' - // number or [name] Shift-click form |color|Hquest:quest_id|h[name]|h|r + // number or [name] Shift-click form |color|Hquest:quest_id:quest_level|h[name]|h|r char* cId = extractKeyFromLink((char*)args,"Hquest"); if(!cId) return false; @@ -5598,7 +5598,7 @@ bool ChatHandler::HandleQuestRemove(const char* args) } // .removequest #entry' - // number or [name] Shift-click form |color|Hquest:quest_id|h[name]|h|r + // number or [name] Shift-click form |color|Hquest:quest_id:quest_level|h[name]|h|r char* cId = extractKeyFromLink((char*)args,"Hquest"); if(!cId) return false; @@ -5648,7 +5648,7 @@ bool ChatHandler::HandleQuestComplete(const char* args) } // .quest complete #entry - // number or [name] Shift-click form |color|Hquest:quest_id|h[name]|h|r + // number or [name] Shift-click form |color|Hquest:quest_id:quest_level|h[name]|h|r char* cId = extractKeyFromLink((char*)args,"Hquest"); if(!cId) return false; |