diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-09 01:39:17 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-09 01:39:17 +0000 |
commit | 57a4ce31b538823af30dc0469f36df8b18731f08 (patch) | |
tree | d2e8f433cc1c7d9e5743d668b149f7a90132ab96 /crawl-ref/source/monplace.cc | |
parent | 2dd497a0595d5d305eb0dfbf04cceeb5f0127b64 (diff) | |
download | crawl-ref-57a4ce31b538823af30dc0469f36df8b18731f08.tar.gz crawl-ref-57a4ce31b538823af30dc0469f36df8b18731f08.zip |
Rarely, allow holy beings in the Abyss to worship Xom instead of TSO.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9006 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r-- | crawl-ref/source/monplace.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index c51d4937bb..7bdf5e18d4 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -1064,9 +1064,15 @@ static int _place_monster_aux(const mgen_data &mg, if (x_chance_in_y(6, 7)) menv[id].god = GOD_BEOGH; } - // Angels and Daevas belong to TSO. + // Angels and Daevas belong to TSO, but you may find ones adopted by + // Xom in the Abyss. else if (mons_class_holiness(mg.cls) == MH_HOLY) - menv[id].god = GOD_SHINING_ONE; + { + if (mg.level_type == LEVEL_ABYSS && one_chance_in(16)) + menv[id].god = GOD_XOM; + else + menv[id].god = GOD_SHINING_ONE; + } // If the caller requested a specific colour for this monster, // apply it now. |