From 6dba2ac32df50d8a0d3628fbc65fb81825a96fdd Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 14 Jun 2007 08:55:24 +0000 Subject: Implemented Beogh, god of Orcs. + added information about random choice to newgame git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1585 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/dungeon.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/dungeon.cc') diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 698af2f03e..748048a9aa 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -3717,13 +3717,14 @@ static dungeon_feature_type pick_an_altar() break; case BRANCH_ORCISH_MINES: // violent gods - temp_rand = random2(5); + temp_rand = random2(10); // 50% chance of Beogh altar_type = ((temp_rand == 0) ? DNGN_ALTAR_VEHUMET : (temp_rand == 1) ? DNGN_ALTAR_MAKHLEB : (temp_rand == 2) ? DNGN_ALTAR_OKAWARU : - (temp_rand == 3) ? DNGN_ALTAR_TROG - : DNGN_ALTAR_XOM); + (temp_rand == 3) ? DNGN_ALTAR_TROG : + (temp_rand == 4) ? DNGN_ALTAR_XOM + : DNGN_ALTAR_BEOGH); break; case BRANCH_VAULTS: // "lawful" gods @@ -3761,7 +3762,8 @@ static dungeon_feature_type pick_an_altar() random2(NUM_GODS - 1)); } while (altar_type == DNGN_ALTAR_NEMELEX_XOBEH - || altar_type == DNGN_ALTAR_LUGONU); + || altar_type == DNGN_ALTAR_LUGONU + || altar_type == DNGN_ALTAR_BEOGH); break; } } -- cgit v1.2.3-54-g00ecf