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(inv::on && inv::remaining[itOrbLove])
love = true;
#endif
#if CAP_DAILY
if(daily::on) love = false;
#endif
if(love) i += 30;
}

View File

@ -404,6 +404,12 @@ string generateHelpForItem(eItem it) {
if(inv::on && it == itInventory)
help += "\n\n" + XLAT(inv::helptext);
#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;
}