summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/religion.cc17
1 files changed, 6 insertions, 11 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 3934a834d7..9f335dae56 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -406,9 +406,7 @@ void dec_penance(god_type god, int val)
// bonuses now once more effective
if ( god == GOD_BEOGH && you.religion == GOD_BEOGH)
- {
- you.redraw_armour_class = 1;
- }
+ you.redraw_armour_class = true;
}
else
you.penance[god] -= val;
@@ -2593,16 +2591,9 @@ void divine_retribution( god_type god )
god_acting gdact(god, true);
- // Just the thought of retribution (getting this far) mollifies
- // the god by at least a point... the punishment might reduce
- // penance further.
- dec_penance( god, 1 + random2(3) );
-
- bool do_more = true;
-
+ bool do_more = true;
switch (god)
{
-
// One in ten chance that Xom might do something good...
case GOD_XOM: xom_acts(one_chance_in(10), abs(you.piety - 100)); break;
case GOD_SHINING_ONE: do_more = tso_retribution(); break;
@@ -2643,6 +2634,10 @@ void divine_retribution( god_type god )
}
}
}
+
+ // Just the thought of retribution mollifies the god by at least a
+ // point...the punishment might have reduced penance further.
+ dec_penance( god, 1 + random2(3) );
}
// upon excommunication, (now ex) Beogh adepts lose their orcish followers