feat: add /stopfollow and /zone slash commands, update /help

This commit is contained in:
Kelsi 2026-03-12 09:36:14 -07:00
parent aaa3649975
commit ec93981a9d
3 changed files with 34 additions and 3 deletions

View file

@ -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");