diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-16 21:25:47 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-16 21:25:47 +0000 |
commit | 191abc51947145395619617a958774cb0a2cdd10 (patch) | |
tree | 7d085e65e7ddd5c6a42b8e7172155e76699132ab /crawl-ref/source/decks.cc | |
parent | 9eacafdb2d48cf2ac853386f7727e322158e9fc6 (diff) | |
download | crawl-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/decks.cc')
-rw-r--r-- | crawl-ref/source/decks.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index 74e2a0c4ef..dfdd37e599 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -808,11 +808,14 @@ static void battle_lust_card(int power, deck_rarity_type rarity) { const int power_level = get_power_level(power, rarity); if ( power_level >= 2 ) + { you.duration[DUR_SLAYING] = random2(power/6) + 1; + mpr("You feel deadly."); + } else if ( power_level == 1 ) { - // FIXME change to "go berserk next turn" - go_berserk(false); + you.duration[DUR_BUILDING_RAGE] = 1; + mpr("You feel your rage building."); } else if ( power_level == 0 ) potion_effect(POT_MIGHT, random2(power/4)); |