summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 00:16:26 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 00:16:26 +0000
commit15bb3aff6a05bdbb6580149c80b6e61ab5153135 (patch)
tree13c18b00fe0e33a0ee8b5218b4412d422111ab56 /crawl-ref/source
parented5d34361aa5820f6e49616dafec6f5160848834 (diff)
downloadcrawl-ref-15bb3aff6a05bdbb6580149c80b6e61ab5153135.tar.gz
crawl-ref-15bb3aff6a05bdbb6580149c80b6e61ab5153135.zip
Let "Summon Wraiths" rarely summon shadow wraiths.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5226 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/spells2.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 55b7d95ebb..c261b9d04b 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -1772,8 +1772,9 @@ void summon_undead(int pow)
temp_rand = random2(25);
thing_called = ((temp_rand > 8) ? MONS_WRAITH : // 64%
- (temp_rand > 3) ? MONS_SPECTRAL_WARRIOR // 20%
- : MONS_FREEZING_WRAITH); // 16%
+ (temp_rand > 4) ? MONS_FREEZING_WRAITH : // 16%
+ (temp_rand > 1) ? MONS_SPECTRAL_WARRIOR // 12%
+ : MONS_SHADOW_WRAITH); // 8%
bool friendly = (random2(pow) > 5);