Skip to content

Commit

Permalink
Vampires and the vampiric race cannot eat even if polymorphed.
Browse files Browse the repository at this point in the history
I think this should be settled once and for all - the gauntlet is thrown, can you survive with the starting intrinsics? We'll see!
  • Loading branch information
elunna committed Sep 21, 2023
1 parent 01654ec commit 7818ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hackem_changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

Version 1.2.1 (unreleased)

Vampires and the vampiric race cannot eat even if polymorphed.
Sync up some minor differences between EvilHack and Hack'EM dragon scales.
Double the time power shield is usually active.
Rename 'shield block' tech to 'power shield'.
Expand Down
2 changes: 1 addition & 1 deletion src/eat.c
Original file line number Diff line number Diff line change
Expand Up @@ -3778,7 +3778,7 @@ int corpsecheck; /* 0, no check, 1, corpses, 2, tinnable corpses */
boolean feeding = !strcmp(verb, "eat"), /* corpsecheck==0 */
offering = (!strcmp(verb, "sacrifice")); /* corpsecheck==1 */

if (feeding && maybe_polyd(is_vampire(youmonst.data), Race_if(PM_VAMPIRIC))) {
if (feeding && (is_vampire(youmonst.data) || Race_if(PM_VAMPIRIC))) {
You("can't eat.");
if (flags.verbose)
pline("You can feed on lifeblood by attacking and biting other monsters.");
Expand Down

0 comments on commit 7818ad4

Please sign in to comment.