summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-16 21:25:47 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-16 21:25:47 +0000
commit191abc51947145395619617a958774cb0a2cdd10 (patch)
tree7d085e65e7ddd5c6a42b8e7172155e76699132ab /crawl-ref/source/it_use2.cc
parent9eacafdb2d48cf2ac853386f7727e322158e9fc6 (diff)
downloadcrawl-ref-191abc51947145395619617a958774cb0a2cdd10.tar.gz
crawl-ref-191abc51947145395619617a958774cb0a2cdd10.zip
Battlelust rage effect changed to 'building rage': you will go berserk
next turn. (You can drink a !oBR to cancel the effect. Another rage card effect, however, will just stack on and make you go berserk the next turn.) Breaks savefiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2111 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index a893ca4ceb..381a9f2364 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -275,6 +275,11 @@ bool potion_effect( potion_type pot_eff, int pow )
mpr("You feel slightly irritated.");
make_hungry(100, false);
}
+ else if ( you.duration[DUR_BUILDING_RAGE] )
+ {
+ you.duration[DUR_BUILDING_RAGE] = 0;
+ mpr("Your blood cools.");
+ }
else
{
if (go_berserk(true))