From bc2e35c0169e2724ac4d81c2d4d85fdba16464d9 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 27 Apr 2008 13:06:46 +0000 Subject: * For Beogh's high level reinforcements, there's a 20% chance of a summon to be named. * If the show_gold_turns option is used print gold and turns on the second to last line in the hud rather than the last, so xp and level are always in the last line. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4692 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crawl-ref/source/religion.cc') diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index b49ea6b323..f1c77b552b 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -1035,10 +1035,15 @@ static bool _beogh_blessing_reinforcement() int how_many = random2(4) + 1; monster_type follower_type; + bool high_level; for (int i = 0; i < how_many; ++i) { + high_level = false; if (random2(you.experience_level) >= 9 && coinflip()) + { follower_type = RANDOM_ELEMENT(high_xl_followers); + high_level = true; + } else follower_type = RANDOM_ELEMENT(followers); @@ -1050,6 +1055,10 @@ static bool _beogh_blessing_reinforcement() monsters *mon = &menv[monster]; mon->flags |= MF_ATT_CHANGE_ATTEMPT; + // For high level orcs, there's a chance of being named. + if (high_level && one_chance_in(5)) + give_unique_monster_name(mon); + success = true; } } -- cgit v1.2.3-54-g00ecf