Skip to content

Commit

Permalink
Update stores.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ikonomov committed Nov 23, 2023
1 parent 2944c26 commit 23e33cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/stores.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ void StartBoy()
if (!boyitem.isEmpty()) {
AddSText(0, 8, _("Talk to Wirt"), UiFlags::ColorBlue | UiFlags::AlignCenter, true);
AddSText(0, 12, _("I have something for sale,"), UiFlags::ColorWhitegold | UiFlags::AlignCenter, false);
AddSText(0, 14, fmt::format(fmt::runtime(_("but it will cost {:d} gold")), 50 + 50 * ((MyPlayer->_pLevel - 1) / 5)), UiFlags::ColorWhitegold | UiFlags::AlignCenter, false);
AddSText(0, 14, fmt::format(fmt::runtime(_("but it will cost {:d} gold")), 50 * ((MyPlayer->_pLevel + 4) / 5)), UiFlags::ColorWhitegold | UiFlags::AlignCenter, false);
AddSText(0, 16, _("just to take a look. "), UiFlags::ColorWhitegold | UiFlags::AlignCenter, false);
AddSText(0, 18, _("What have you got?"), UiFlags::ColorWhite | UiFlags::AlignCenter, true);
AddSText(0, 20, _("Say goodbye"), UiFlags::ColorWhite | UiFlags::AlignCenter, true);
Expand Down Expand Up @@ -1735,7 +1735,7 @@ void WitchRechargeEnter()

void BoyEnter()
{
int entrycost = 50 + 50 * ((MyPlayer->_pLevel - 1) / 5);
int entrycost = 50 * ((MyPlayer->_pLevel + 4) / 5);
if (!boyitem.isEmpty() && stextsel == 18) {
if (!PlayerCanAfford(entrycost)) {
stextshold = TalkID::Boy;
Expand Down

0 comments on commit 23e33cd

Please sign in to comment.