summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-22 15:33:50 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-22 15:33:50 +0000
commitf98ee70882dc93223ee920a4f6d8639f1f9df71d (patch)
tree175c34e6bff6a8c618333fe2b02e855b8345abd7
parentdab15f3c44ae7bbf866bc85556b232c098b5d564 (diff)
downloadcrawl-ref-f98ee70882dc93223ee920a4f6d8639f1f9df71d.tar.gz
crawl-ref-f98ee70882dc93223ee920a4f6d8639f1f9df71d.zip
Reduced overdose of draconians in draconian bands.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@72 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/monplace.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 26fb39e06b..479e9bb1a5 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -783,7 +783,9 @@ static int choose_band( int mon_type, int power, int &band_size )
if (power > 18 && one_chance_in(3))
{
band = BAND_DRACONIAN;
- band_size = 2 + random2(3);
+ // [dshaligram] band_size == 1 implies just the original monster
+ // without a band.
+ band_size = random_range(1, 3);
}
break;
case MONS_DRACONIAN_CALLER:
@@ -796,7 +798,7 @@ static int choose_band( int mon_type, int power, int &band_size )
if (power > 20)
{
band = BAND_DRACONIAN;
- band_size = 3 + random2(4);
+ band_size = random_range(2, 4);
}
break;
} // end switch