From a3d435d6dd693ab66af49cea2b4580884c706a74 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 27 Feb 2009 23:09:00 +0000 Subject: Simplify. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9267 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monplace.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/monplace.cc') diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index bd117cf5d2..9a73241bbe 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -1064,17 +1064,17 @@ static int _place_monster_aux(const mgen_data &mg, break; } } - // 6 out of 7 non-priestly orcs are believers. + // 1 out of 7 non-priestly orcs are unbelievers. else if (mons_genus(mg.cls) == MONS_ORC) { - if (x_chance_in_y(6, 7)) + if (!one_chance_in(7)) menv[id].god = GOD_BEOGH; } - // Angels and Daevas belong to TSO, but you may find ones adopted by - // Xom in the Abyss. + // Angels and Daevas belong to TSO, but 1 out of 7 in the Abyss are + // adopted by Xom. else if (mons_class_holiness(mg.cls) == MH_HOLY) { - if (mg.level_type != LEVEL_ABYSS || x_chance_in_y(6, 7)) + if (mg.level_type != LEVEL_ABYSS || !one_chance_in(7)) menv[id].god = GOD_SHINING_ONE; else menv[id].god = GOD_XOM; -- cgit v1.2.3-54-g00ecf