From a9cdeb1724ed5d9aa90f0a0992c31bb6dbabdfe3 Mon Sep 17 00:00:00 2001 From: Emmanuel AYME Date: Fri, 20 Feb 2026 10:42:05 +0100 Subject: [PATCH] Add more explicit tooltips. Add player stats in cheat tab --- BlackMythWukong/dllmain.cpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/BlackMythWukong/dllmain.cpp b/BlackMythWukong/dllmain.cpp index bcb7d87..81e32ba 100644 --- a/BlackMythWukong/dllmain.cpp +++ b/BlackMythWukong/dllmain.cpp @@ -78,10 +78,10 @@ static FixToggle individualFixes[] = { }; static FixToggle cheatFixes[] = { - { "Time dilation", &Time_Dilation_fix_enabled, GameFixes::TimeDilation, "ALT + 1 (top keyboard row) to toggle" }, - { "God Mode",&GodMode_fix_enabled, GameFixes::GodMode, "ALT + 2 (top keyboard row) to toggle" }, - { "Stamina",&Stamina_fix_enabled, GameFixes::Stamina, "ALT + 3 (top keyboard row) to toggle" }, - { "Mana",&Mana_fix_enabled, GameFixes::Mana, "ALT + 4 (top keyboard row) to toggle" } + { "Time dilation", &Time_Dilation_fix_enabled, GameFixes::TimeDilation, "ALT + 1 (top keyboard row) to toggle." }, + { "God Mode",&GodMode_fix_enabled, GameFixes::GodMode, "ALT + 2 (top keyboard row) to toggle.\nHP will always be restored to max." }, + { "Stamina",&Stamina_fix_enabled, GameFixes::Stamina, "ALT + 3 (top keyboard row) to toggle.\nStamina will always be restored to max." }, + { "Mana",&Mana_fix_enabled, GameFixes::Mana, "ALT + 4 (top keyboard row) to toggle\nMana will always be restored to max." } }; // Prepare array of sliders for ImGui static SliderFix2 sliders[6]; @@ -315,6 +315,13 @@ static void on_overlay_draw(reshade::api::effect_runtime* runtime) { } ImGui::PopStyleVar(); ImGui::EndTabItem(); + if (ImGui::CollapsingHeader("Cheat informations", ImGuiTreeNodeFlags_DefaultOpen)) { + if (GetGameInfos) { + GameInfos infos{}; + GetGameInfos(&infos); + ImGui::TextColored(ImColor(48, 179, 25), "Wukong health: %.1f - Stamina: %.1f - Mana: %.1f", infos.Health, infos.Stamina, infos.Mana); + } + } } ImGui::EndTabBar();