Archeologists' fedora is lucky
This commit is contained in:
@@ -420,6 +420,9 @@ Helmet_on(void)
|
||||
{
|
||||
switch (uarmh->otyp) {
|
||||
case FEDORA:
|
||||
if (Role_if(PM_ARCHEOLOGIST))
|
||||
change_luck(1);
|
||||
break;
|
||||
case HELMET:
|
||||
case DENTED_POT:
|
||||
case ELVEN_LEATHER_HELM:
|
||||
@@ -503,6 +506,9 @@ Helmet_off(void)
|
||||
|
||||
switch (uarmh->otyp) {
|
||||
case FEDORA:
|
||||
if (Role_if(PM_ARCHEOLOGIST))
|
||||
change_luck(-1);
|
||||
break;
|
||||
case HELMET:
|
||||
case DENTED_POT:
|
||||
case ELVEN_LEATHER_HELM:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user