summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-01 18:44:18 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-01 18:44:18 +0000
commitc10bc5a2f2146120a856e49c49a2547fd0e3bf2e (patch)
tree3581129422f15f0e9187b2510e51e38f20fa4981 /crawl-ref/source
parent61f06ccdba38c903533a8be651bb6262737e3ab6 (diff)
downloadcrawl-ref-c10bc5a2f2146120a856e49c49a2547fd0e3bf2e.tar.gz
crawl-ref-c10bc5a2f2146120a856e49c49a2547fd0e3bf2e.zip
Add hungry ghosts to the list of Yred's random servants.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7327 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/religion.cc23
1 files changed, 12 insertions, 11 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index cca89bb627..70e5f24fca 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -888,17 +888,18 @@ static int _yred_random_servants(int threshold, bool force_hostile = false)
// undead
mon = ((temp_rand < 25) ? MONS_WRAITH : // 25%
(temp_rand < 35) ? MONS_WIGHT : // 10%
- (temp_rand < 45) ? MONS_FLYING_SKULL : // 10%
- (temp_rand < 54) ? MONS_SPECTRAL_WARRIOR : // 9%
- (temp_rand < 61) ? MONS_ROTTING_HULK : // 7%
- (temp_rand < 67) ? MONS_SKELETAL_WARRIOR : // 6%
- (temp_rand < 72) ? MONS_FREEZING_WRAITH : // 5%
- (temp_rand < 77) ? MONS_FLAMING_CORPSE : // 5%
- (temp_rand < 82) ? MONS_GHOUL : // 5%
- (temp_rand < 87) ? MONS_MUMMY : // 5%
- (temp_rand < 91) ? MONS_VAMPIRE : // 4%
- (temp_rand < 95) ? MONS_FLAYED_GHOST : // 4%
- (temp_rand < 98) ? MONS_SKELETAL_DRAGON // 3%
+ (temp_rand < 44) ? MONS_FLYING_SKULL : // 9%
+ (temp_rand < 52) ? MONS_SPECTRAL_WARRIOR : // 8%
+ (temp_rand < 59) ? MONS_ROTTING_HULK : // 7%
+ (temp_rand < 65) ? MONS_SKELETAL_WARRIOR : // 6%
+ (temp_rand < 70) ? MONS_FREEZING_WRAITH : // 5%
+ (temp_rand < 75) ? MONS_FLAMING_CORPSE : // 5%
+ (temp_rand < 80) ? MONS_GHOUL : // 5%
+ (temp_rand < 85) ? MONS_MUMMY : // 5%
+ (temp_rand < 89) ? MONS_VAMPIRE : // 4%
+ (temp_rand < 93) ? MONS_HUNGRY_GHOST : // 4%
+ (temp_rand < 96) ? MONS_FLAYED_GHOST : // 3%
+ (temp_rand < 98) ? MONS_SKELETAL_DRAGON // 2%
: MONS_DEATH_COB); // 2%
if (mon == MONS_FLYING_SKULL)