summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-05 13:27:28 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-05 13:27:28 +0000
commit086e548103eed62bf4d1bb806e2bec88562fbfe6 (patch)
tree26eefe5832d5be81387b3222338fdc6765efa31b /crawl-ref/source/religion.cc
parent9905c3fa45641105522041cb9cf4bfa6625845d5 (diff)
downloadcrawl-ref-086e548103eed62bf4d1bb806e2bec88562fbfe6.tar.gz
crawl-ref-086e548103eed62bf4d1bb806e2bec88562fbfe6.zip
Fix 2011201: Disallow summoned orcs from joining a worshipper of Beogh.
Fix 2011258: Consolidate named orcs correctly in the monster list. Fix 2010542: Patrolling monsters forgetting the player too quickly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6408 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 10ae714886..28861f3f46 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -765,11 +765,11 @@ static void _inc_penance(god_type god, int val)
take_note(Note(NOTE_PENANCE, god));
- // orcish bonuses don't apply under penance
+ // Orcish bonuses don't apply under penance.
if (god == GOD_BEOGH)
you.redraw_armour_class = true;
- // neither does Zin's vitalisation chaining, divine robustness,
- // or divine stamina
+ // Neither does Zin's vitalisation chaining, divine robustness,
+ // or divine stamina.
else if (god == GOD_ZIN)
{
if (you.duration[DUR_VITALISATION_CHAIN])
@@ -3297,7 +3297,7 @@ void lose_piety(int pgn)
const int old_piety = you.piety;
- // Apply hysteresis
+ // Apply hysteresis.
{
const int old_hysteresis = you.piety_hysteresis;
you.piety_hysteresis = (unsigned char)std::min<int>(
@@ -3358,9 +3358,9 @@ void lose_piety(int pgn)
if (you.piety > 0 && you.piety <= 5)
learned_something_new(TUT_GOD_DISPLEASED);
- if ( you.religion == GOD_BEOGH )
+ if (you.religion == GOD_BEOGH)
{
- // every piety level change also affects AC from orcish gear
+ // Every piety level change also affects AC from orcish gear.
you.redraw_armour_class = true;
}
}
@@ -4620,7 +4620,7 @@ static bool _beogh_followers_abandon_you()
return (false);
}
-// currently only used when orcish idols have been destroyed
+// Currently only used when orcish idols have been destroyed.
static std::string _get_beogh_speech(const std::string key)
{
std::string result = getSpeakString("Beogh " + key);