From 57a4ce31b538823af30dc0469f36df8b18731f08 Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 9 Feb 2009 01:39:17 +0000 Subject: 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 --- crawl-ref/source/monplace.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/monplace.cc') 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. -- cgit v1.2.3-54-g00ecf