Skip to content

Commit 5216243

Browse files
Count corpses left by zombies for draugr same-race sacrifice
When zombies die, their corpses are transformed into default racial corpses, e.g. orc zombie->orc. This meant that you could only do same-race sacrifice as a draugr by chancing upon a draugr NPC or wishing explicitly for a 'foo zombie corpse.' This allows corpses left by zombies to be used as well.
1 parent 1f7cb0c commit 5216243

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/evilhack-changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3501,3 +3501,4 @@ The following changes to date are:
35013501
- Fix: drawbridges crush both rider and steed
35023502
- Fix: stethoscopes shouldn't open chests
35033503
- Fix: blunt weptools had +4 TH bonus
3504+
- Count corpses left by zombies for draugr same-race sacrifice

src/pray.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1743,7 +1743,8 @@ dosacrifice()
17431743

17441744
if (your_race(ptr)
17451745
|| (Race_if(PM_ELF) && is_drow(ptr))
1746-
|| (Race_if(PM_DROW) && is_elf(ptr))) {
1746+
|| (Race_if(PM_DROW) && is_elf(ptr))
1747+
|| (Race_if(PM_DRAUGR) && otmp->zombie_corpse)) {
17471748
if (is_demon(raceptr(&youmonst))) {
17481749
You("find the idea very satisfying.");
17491750
exercise(A_WIS, TRUE);

0 commit comments

Comments
 (0)