summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index f2e27c5174..577221fff8 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -48,6 +48,7 @@
#include "itemname.h"
#include "itemprop.h"
#include "items.h"
+#include "item_use.h"
#include "lev-pand.h"
#include "macro.h"
#include "makeitem.h"
@@ -2698,6 +2699,14 @@ bool go_berserk(bool intentional, bool potion)
if (!you.can_go_berserk(intentional, potion))
return (false);
+ if (stasis_blocks_effect(true,
+ "%s thrums violently and saps your rage.",
+ 3,
+ "%s vibrates violently and saps your rage."))
+ {
+ return (false);
+ }
+
if (Tutorial.tutorial_left)
Tutorial.tut_berserk_counter++;