diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-07 14:54:30 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-07 14:54:30 +0000 |
commit | 5d21ab53cd4c5c73b5aa0c69376619a4992c9414 (patch) | |
tree | f25a68b40d807451ace95d178c75d4728d388a89 /crawl-ref/source/misc.cc | |
parent | 361c9481bd37fc56fbbaac0d34c9e5c82af0b931 (diff) | |
download | crawl-ref-5d21ab53cd4c5c73b5aa0c69376619a4992c9414.tar.gz crawl-ref-5d21ab53cd4c5c73b5aa0c69376619a4992c9414.zip |
Moth of wrath angering attack was lost in 0.2, reintroduced.
Monsters can now go berserk (the rage spell, or by moth of wrath attack).
Rupert is now a crusading-style berserker.
Moths of wrath can now enrage nearby monsters of similar attitude.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1256 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 1369f7ed76..9fb999beee 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1678,32 +1678,12 @@ void weird_colours(unsigned char coll, char wc[30]) bool go_berserk(bool intentional) { - if (you.berserker) - { - if (intentional) - mpr("You're already berserk!"); - // or else you won't notice -- no message here. - return false; - } - - if (you.exhausted) - { - if (intentional) - mpr("You're too exhausted to go berserk."); - // or else they won't notice -- no message here - return false; - } - - if (you.is_undead) - { - if (intentional) - mpr("You cannot raise a blood rage in your lifeless body."); - // or else you won't notice -- no message here - return false; - } + if (!you.can_go_berserk(intentional)) + return (false); if (Options.tutorial_left) Options.tut_berserk_counter++; + mpr("A red film seems to cover your vision as you go berserk!"); mpr("You feel yourself moving faster!"); mpr("You feel mighty!"); |