From 3af889aed322f5be38538c04c6944b89b8c368c8 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 24 Mar 2007 23:59:29 +0000 Subject: Hard-capped see invisible and resist poison at 1 level to fix 1687499. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1090 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 462a38abae..c929776c85 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1121,8 +1121,8 @@ int player_res_poison(bool calc_unid) break; } - if (rp > 3) - rp = 3; + if (rp > 1) + rp = 1; return (rp); } // end player_res_poison() @@ -2045,6 +2045,9 @@ int player_see_invis(bool calc_unid) if (artefacts > 0) si += artefacts; + if ( si > 1 ) + si = 1; + return si; } -- cgit v1.2.3-54-g00ecf