From 7be78100e7dd7b63e276ebbf7997201df4d53f1b Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 21 Mar 2008 19:34:10 +0000 Subject: Allow vampires of hunger state full or higher to go berserk. Should this be too strong (they have insane regeneration already) it should be easy enough to revert. Also renamed all static functions in abl-show.cc and player.cc to follow the new coding conventions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3792 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/it_use2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/it_use2.cc') diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index 07d4e55fca..39993815a1 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -318,7 +318,7 @@ bool potion_effect( potion_type pot_eff, int pow ) break; } case POT_BERSERK_RAGE: - if (you.species == SP_VAMPIRE) + if (you.species == SP_VAMPIRE && you.hunger_state < HS_FULL) { mpr("You feel slightly irritated."); make_hungry(100, false); -- cgit v1.2.3-54-g00ecf