diff options
author | Brendan Hickey <brendan@bhickey.net> | 2009-11-08 02:39:21 -0500 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-08 17:44:15 +1000 |
commit | 9255dd6cfa9e29b6c4b5802c04639576f25f7144 (patch) | |
tree | b413b2e7f03307affc8059e94c7152efa69156fc /crawl-ref/source/item_use.cc | |
parent | 7401f365d1f45720d380ff151667c8360001f6ec (diff) | |
download | crawl-ref-9255dd6cfa9e29b6c4b5802c04639576f25f7144.tar.gz crawl-ref-9255dd6cfa9e29b6c4b5802c04639576f25f7144.zip |
Patch to satisfy FR 2892713. Hunger on wielding VAMP weapons
They are now wieldable by mummies and ghouls, but no healing effect. Vampires get nourished per hit.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 79a4a68779..6bcfb9a3ac 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -629,17 +629,17 @@ void wield_effects(int item_wield_2, bool showMsgs) break; } - if (you.is_undead != US_UNDEAD) + if (you.is_undead == US_ALIVE) { mpr("You feel a dreadful hunger."); + // takes player from Full to Hungry + make_hungry(4500, false, false); } else { mpr("You feel an empty sense of dread."); } - // takes player from Full to Hungry - make_hungry(4500, false, false); break; case SPWPN_RETURNING: |