Elves and rangers get alignment penalty for cutting down trees

This commit is contained in:
Pasi Kallinen
2022-02-22 11:13:59 +02:00
parent 51a5550a51
commit d1dbed95f3
2 changed files with 3 additions and 0 deletions

View File

@@ -389,6 +389,8 @@ dig(void)
lev->typ = ROOM, lev->flags = 0;
if (!rn2(5))
(void) rnd_treefruit_at(dpx, dpy);
if (Race_if(PM_ELF) || Role_if(PM_RANGER))
adjalign(-1);
} else {
digtxt = "You succeed in cutting away some rock.";
lev->typ = CORR, lev->flags = 0;