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
+6
View File
@@ -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: