From a7c16941b77fcdcc841c3edbcd0514c16ac4c2e5 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 18 Apr 2008 10:50:12 +0000 Subject: Fix tiles compile (in a hacky way, since I don't know what the mp/hp bar change was really about). Modify mutations screen for Vampires to allow a toggle to a second page that lists all those resistances and stuff depending on their blood level. The screen (designed by David) is really neat, but the underlying could stand to be improved, and it might be too large, as well. Also restrict Sublimation of Blood to Vampires that are at least Full, and it also makes them a bit more thirsty (since they presumably lose blood when using it). Dispel Undead only does half damage to Vampires at Alive, and 66% damage at Full or Very Full. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4325 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index c06ff1a2d9..35aae6c6e9 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3514,10 +3514,12 @@ int check_stealth(void) if (you.hunger_state <= HS_STARVING) stealth += (you.skills[SK_STEALTH] * 21); else if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT - || you.hunger_state <= HS_HUNGRY) + || you.hunger_state <= HS_NEAR_STARVING) { stealth += (you.skills[SK_STEALTH] * 20); } + else if (you.hunger_state <= HS_HUNGRY) + stealth += (you.skills[SK_STEALTH] * 19); else stealth += (you.skills[SK_STEALTH] * 18); break; -- cgit v1.2.3-54-g00ecf