summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-23 21:42:00 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-23 21:42:00 +0000
commit5b096f16cf685678b6ceb622c60de77f4b90b689 (patch)
tree726ae3406013bc6965eaf54fb33e5a8ea5cc48f1 /crawl-ref/source/player.cc
parentdd633d4ba9abc5e8384ec12974ea18c3bbaefe2d (diff)
downloadcrawl-ref-5b096f16cf685678b6ceb622c60de77f4b90b689.tar.gz
crawl-ref-5b096f16cf685678b6ceb622c60de77f4b90b689.zip
Added more logic to Stealth and Portal cards.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1631 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 635ac234c8..356228f36b 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -2906,6 +2906,9 @@ int check_stealth(void)
stealth += 20;
}
+ if ( you.duration[DUR_STEALTH] )
+ stealth += 80;
+
stealth += scan_randarts( RAP_STEALTH );
if (player_is_levitating())