From f2403badc50dcf8cb6d2470a17b6d8c0b44b08b0 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Fri, 16 May 2025 17:56:39 -0500 Subject: [PATCH] alchemy difficulty follows in parenthesis --- src/game/boe.party.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/boe.party.cpp b/src/game/boe.party.cpp index 5c7b490e..1b461e50 100644 --- a/src/game/boe.party.cpp +++ b/src/game/boe.party.cpp @@ -2350,10 +2350,9 @@ eAlchemy alch_choice(short pc_num) { chooseAlchemy.attachClickHandlers(alch_choice_event_filter, {"cancel", "help"}); for(short i = 0; i < 20; i++) { std::string n = boost::lexical_cast(i + 1); - chooseAlchemy["label" + n].setText(get_str("magic-names", i + 200)); + chooseAlchemy["label" + n].setText(get_str("magic-names", i + 200) + " (" + std::to_string((*eAlchemy(i)).difficulty)+ ")"); chooseAlchemy["potion" + n].attachClickHandler(alch_choice_event_filter); if(!univ.party.alchemy[i] || !(*eAlchemy(i)).can_make(univ.party[pc_num].skill(eSkill::ALCHEMY))){ - LOG("potion " + n + "can't be made!"); chooseAlchemy["potion" + n].hide(); } }