summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 15:50:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 15:50:30 +0000
commit4fdf65ba2dcb33d11e73742fe31ce4f85a27baf2 (patch)
tree056e682f0ba1db85a22ae08222b9c4ca510ee387
parentce0efa29dd5e57b2666d7f6452400f9769711f8a (diff)
downloadcrawl-ref-4fdf65ba2dcb33d11e73742fe31ce4f85a27baf2.tar.gz
crawl-ref-4fdf65ba2dcb33d11e73742fe31ce4f85a27baf2.zip
Fix percentage comments in random_servant().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3583 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/religion.cc36
1 files changed, 18 insertions, 18 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 37372b9dd1..9fd72f5324 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -502,27 +502,27 @@ static monster_type random_servant(god_type god)
case GOD_YREDELEMNUL:
// undead
thing_called = ((temp_rand > 66) ? MONS_WRAITH : // 33%
- (temp_rand > 52) ? MONS_WIGHT : // 12%
- (temp_rand > 40) ? MONS_SPECTRAL_WARRIOR : // 16%
- (temp_rand > 31) ? MONS_ROTTING_HULK : // 9%
- (temp_rand > 23) ? MONS_SKELETAL_WARRIOR : // 8%
- (temp_rand > 16) ? MONS_VAMPIRE : // 7%
- (temp_rand > 10) ? MONS_GHOUL : // 6%
- (temp_rand > 4) ? MONS_MUMMY // 6%
- : MONS_FLAYED_GHOST); // 5%
+ (temp_rand > 52) ? MONS_WIGHT : // 13%
+ (temp_rand > 40) ? MONS_SPECTRAL_WARRIOR : // 11%
+ (temp_rand > 31) ? MONS_ROTTING_HULK : // 8%
+ (temp_rand > 23) ? MONS_SKELETAL_WARRIOR : // 7%
+ (temp_rand > 16) ? MONS_VAMPIRE : // 6%
+ (temp_rand > 10) ? MONS_GHOUL : // 5%
+ (temp_rand > 4) ? MONS_MUMMY // 5%
+ : MONS_FLAYED_GHOST); // 4%
break;
case GOD_OKAWARU:
// warriors
- thing_called = ((temp_rand > 84) ? MONS_ORC_WARRIOR :
- (temp_rand > 69) ? MONS_ORC_KNIGHT :
- (temp_rand > 59) ? MONS_NAGA_WARRIOR :
- (temp_rand > 49) ? MONS_CENTAUR_WARRIOR :
- (temp_rand > 39) ? MONS_STONE_GIANT :
- (temp_rand > 29) ? MONS_FIRE_GIANT :
- (temp_rand > 19) ? MONS_FROST_GIANT :
- (temp_rand > 9) ? MONS_CYCLOPS :
- (temp_rand > 4) ? MONS_HILL_GIANT
- : MONS_TITAN);
+ thing_called = ((temp_rand > 84) ? MONS_ORC_WARRIOR : // 15%
+ (temp_rand > 69) ? MONS_ORC_KNIGHT : // 14%
+ (temp_rand > 59) ? MONS_NAGA_WARRIOR : // 9%
+ (temp_rand > 49) ? MONS_CENTAUR_WARRIOR : // 9%
+ (temp_rand > 39) ? MONS_STONE_GIANT : // 9%
+ (temp_rand > 29) ? MONS_FIRE_GIANT : // 9%
+ (temp_rand > 19) ? MONS_FROST_GIANT : // 9%
+ (temp_rand > 9) ? MONS_CYCLOPS : // 9%
+ (temp_rand > 4) ? MONS_HILL_GIANT // 4%
+ : MONS_TITAN); // 4%
break;
default: