Archeologists' fedora is lucky

This commit is contained in:
Pasi Kallinen
2024-12-08 16:17:35 +02:00
parent 13b8725ac2
commit 78289a7f83
3 changed files with 10 additions and 0 deletions

View File

@@ -599,6 +599,9 @@ nh_timeout(void)
if (svq.quest_status.killed_leader)
baseluck -= 4;
if (Role_if(PM_ARCHEOLOGIST) && uarmh && uarmh->otyp == FEDORA)
baseluck += 1;
if (u.uluck != baseluck
&& svm.moves % ((u.uhave.amulet || u.ugangr) ? 300 : 600) == 0) {
/* Cursed luckstones stop bad luck from timing out; blessed luckstones