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

@@ -805,6 +805,7 @@ replace monk starting sleep spell with confuse monster
chargeable rings have a chance of getting charged when hit with electricity
flint and hard gems break less often when thrown
hobbits getting a sling also get some ammo for it
elves and rangers get alignment penalty for cutting down trees
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository

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;