diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-08 12:14:55 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-08 12:14:55 +0000 |
commit | c55a9bbb7a3c07d22c8ead9f5fc40f26a5f2d7fe (patch) | |
tree | 75bc4e72bf8f14e40495ebc593826542bcdeb278 /crawl-ref/source | |
parent | 4f3558feb5639ff93e46a0795d94d638ef0c89fc (diff) | |
download | crawl-ref-c55a9bbb7a3c07d22c8ead9f5fc40f26a5f2d7fe.tar.gz crawl-ref-c55a9bbb7a3c07d22c8ead9f5fc40f26a5f2d7fe.zip |
Remove card penalty for Triple Draw.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4128 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/decks.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index db0f42a7ca..93a88c59c4 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -1055,18 +1055,6 @@ bool deck_triple_draw() if (_check_buggy_deck(deck)) return false; - // lose some cards, but keep at least two - if ( cards_in_deck(deck) > 2 ) - { - const int num_lost = std::min(cards_in_deck(deck)-2, random2(2) + 1); - for ( int i = 0; i < num_lost; ++i ) - _deck_lose_card(deck); - if ( num_lost == 1 ) - mpr("A card falls out of the deck."); - else if ( num_lost > 1 ) - mpr("Some cards fall out of the deck."); - } - const int num_cards = cards_in_deck(deck); if (num_cards == 1) |