summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-17 21:55:31 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-17 21:55:31 +0000
commitbcd3e391a7c63905b95527de38a92b34f535ddd0 (patch)
treede07bfa61d804a27acafb685056f880c69cacc45 /crawl-ref/source/acr.cc
parent44f56edce815f5ff8fb4124829523439f1cc8ad2 (diff)
downloadcrawl-ref-bcd3e391a7c63905b95527de38a92b34f535ddd0.tar.gz
crawl-ref-bcd3e391a7c63905b95527de38a92b34f535ddd0.zip
Some more cards and bugfixes.
Still not implemented: Shuffle, trowel, minefield, spade, blade. Partially implemented: Battlelust, helm, shadow, damage cards. Breaks savefiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1595 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 7d8ca311bc..2c6ab89b92 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1898,6 +1898,13 @@ static void decrement_durations()
you.invis = 0;
}
+ if ( you.duration[DUR_BARGAIN] > 1 )
+ you.duration[DUR_BARGAIN]--;
+ else if ( you.duration[DUR_BARGAIN] == 1 )
+ {
+ mpr("You feel less charismatic.", MSGCH_DURATION);
+ }
+
if (you.conf > 0)
reduce_confuse_player(1);