mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 00:20:16 +00:00
feat: add /stopfollow and /zone slash commands, update /help
This commit is contained in:
parent
aaa3649975
commit
ec93981a9d
3 changed files with 34 additions and 3 deletions
|
|
@ -10256,6 +10256,15 @@ void GameHandler::followTarget() {
|
|||
LOG_INFO("Following target: ", targetName, " (GUID: 0x", std::hex, targetGuid, std::dec, ")");
|
||||
}
|
||||
|
||||
void GameHandler::cancelFollow() {
|
||||
if (followTargetGuid_ == 0) {
|
||||
addSystemChatMessage("You are not following anyone.");
|
||||
return;
|
||||
}
|
||||
followTargetGuid_ = 0;
|
||||
addSystemChatMessage("You stop following.");
|
||||
}
|
||||
|
||||
void GameHandler::assistTarget() {
|
||||
if (state != WorldState::IN_WORLD) {
|
||||
LOG_WARNING("Cannot assist: not in world");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue