From 1c3f2f4ae3db094f443dc41ded3e2d02ef34dbc0 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Tue, 17 Mar 2026 12:02:17 -0700 Subject: [PATCH] feat: show exploration XP as floating combat text Area discovery XP was only shown in the system chat log. Now it also appears as a floating "+XP" number like kill XP, giving immediate visual feedback when discovering new zones. --- src/game/game_handler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index bb06c781..5f859c85 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -2002,6 +2002,8 @@ void GameHandler::handlePacket(network::Packet& packet) { msg = buf; } addSystemChatMessage(msg); + addCombatText(CombatTextEntry::XP_GAIN, + static_cast(xpGained), 0, true); // XP is updated via PLAYER_XP update fields from the server. if (areaDiscoveryCallback_) areaDiscoveryCallback_(areaName, xpGained);