Browse Source

Fix minlvl when generating translated names for staves

pull/6622/head
staphen 3 years ago committed by Anders Jenbo
parent
commit
4a1da5a777
  1. 1
      Source/items.cpp

1
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

Loading…
Cancel
Save