1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

Orb of Love no longer incresaes the displayed score in the Strange Challenge

This commit is contained in:
Zeno Rogue 2018-06-12 18:26:20 +02:00
parent c5468db000
commit 8f183b7afb
2 changed files with 9 additions and 0 deletions

View File

@ -300,6 +300,9 @@ int gold(int no) {
#if CAP_INV #if CAP_INV
if(inv::on && inv::remaining[itOrbLove]) if(inv::on && inv::remaining[itOrbLove])
love = true; love = true;
#endif
#if CAP_DAILY
if(daily::on) love = false;
#endif #endif
if(love) i += 30; if(love) i += 30;
} }

View File

@ -404,6 +404,12 @@ string generateHelpForItem(eItem it) {
if(inv::on && it == itInventory) if(inv::on && it == itInventory)
help += "\n\n" + XLAT(inv::helptext); help += "\n\n" + XLAT(inv::helptext);
#endif #endif
#if CAP_DAILY
if(daily::on && it == itOrbLove)
help += "\n\n" + XLAT("The Orb of Love gives no bonus score in the Strange Challenge.");
#endif
return help; return help;
} }