From 4a1da5a777975e997370f6af9ff6a48482f16b77 Mon Sep 17 00:00:00 2001 From: staphen Date: Sat, 16 Sep 2023 15:30:50 -0400 Subject: [PATCH] Fix minlvl when generating translated names for staves --- Source/items.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/items.cpp b/Source/items.cpp index 0bf384f41..c29cdb791 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -2363,6 +2363,7 @@ std::string GetTranslatedItemNameMagical(const Item &item, bool hellfireItem, bo affixItemType = AffixItemType::Staff; else if (!hellfireItem && FlipCoin(4)) { affixItemType = AffixItemType::Staff; + minlvl = maxlvl / 2; } else { DiscardRandomValues(2); // Spell and Charges