diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-21 19:34:10 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-21 19:34:10 +0000 |
commit | 7be78100e7dd7b63e276ebbf7997201df4d53f1b (patch) | |
tree | 1e145651f9656bc498c6e83c0a619eced0f8784e /crawl-ref/source/it_use2.cc | |
parent | a11e3c0cf886a41f796c840e42c83032302bb44d (diff) | |
download | crawl-ref-7be78100e7dd7b63e276ebbf7997201df4d53f1b.tar.gz crawl-ref-7be78100e7dd7b63e276ebbf7997201df4d53f1b.zip |
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
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |