[Hide Content]From c3dcfe67f99f5f12b447b804a7c826d65db0d3dc Mon Sep 17 00:00:00 2001
From: cjo <cjo@ulyco.com>
Date: Thu, 1 Aug 2013 12:40:41 -0700
Subject: [PATCH] Allow vampires to go berserk when at full or higher
satiation.
---
crawl-ref/source/player-act.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crawl-ref/source/player-act.cc b/crawl-ref/source/player-act.cc
index 4a3ca51..cd380a8 100644
--- a/crawl-ref/source/player-act.cc
+++ b/crawl-ref/source/player-act.cc
@@ -669,7 +669,8 @@ bool player::can_go_berserk(bool intentional, bool potion, bool quiet) const
return false;
}
- if (holiness() == MH_UNDEAD)
+ if ((holiness() == MH_UNDEAD && you.species != SP_VAMPIRE)
+ || (you.species == SP_VAMPIRE && you.hunger_state <= HS_SATIATED))
{
if (verbose)
mpr("You cannot raise a blood rage in your lifeless body.");
--
1.8.3-rc3