diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-04 06:13:41 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-04 06:13:41 +0000 |
commit | 37c5451a43f1f791c77bb535cd9a1b4c32f08967 (patch) | |
tree | 378a8cb39c28b7be7248c85def1006b53354c90e | |
parent | 55928ab08197f6a1c595af6e216a3fa56fdbff34 (diff) | |
download | crawl-ref-37c5451a43f1f791c77bb535cd9a1b4c32f08967.tar.gz crawl-ref-37c5451a43f1f791c77bb535cd9a1b4c32f08967.zip |
Don't allow "Summon Wraiths" to summon shadow wraiths anymore, as
they're invisible, nothing else seems to allow summoning invisible
monsters, and handling of such is a can of worms due to the visual
messages when summoning ("A shadowy figure forms in the air before you
[that you can't see].").
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5470 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/mstuff2.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/spells2.cc | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index 1a964e44a5..37f0973796 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -449,8 +449,7 @@ static monster_type _pick_random_wraith() { static monster_type wraiths[] = { - MONS_WRAITH, MONS_FREEZING_WRAITH, MONS_SPECTRAL_WARRIOR, - MONS_SHADOW_WRAITH + MONS_WRAITH, MONS_FREEZING_WRAITH, MONS_SPECTRAL_WARRIOR }; return wraiths[ random2(sizeof(wraiths) / sizeof(*wraiths)) ]; diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 67e11297c6..fdb1a68457 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1774,10 +1774,9 @@ void summon_undead(int pow) { temp_rand = random2(25); - thing_called = ((temp_rand > 8) ? MONS_WRAITH : // 64% - (temp_rand > 4) ? MONS_FREEZING_WRAITH : // 16% - (temp_rand > 1) ? MONS_SPECTRAL_WARRIOR // 12% - : MONS_SHADOW_WRAITH); // 8% + thing_called = ((temp_rand > 8) ? MONS_WRAITH : // 64% + (temp_rand > 3) ? MONS_FREEZING_WRAITH // 20% + : MONS_SPECTRAL_WARRIOR); // 16% bool friendly = (random2(pow) > 5); |