From d1dbed95f3d92c842c94d7edbccc59564248ab7d Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 22 Feb 2022 11:13:59 +0200 Subject: [PATCH] Elves and rangers get alignment penalty for cutting down trees --- doc/fixes3-7-0.txt | 1 + src/dig.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 0a5fa44ce..15bc41d8b 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -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 diff --git a/src/dig.c b/src/dig.c index aabc43831..063b531ff 100644 --- a/src/dig.c +++ b/src/dig.c @@ -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; -- 2.50.1