summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 7eb3d2b6f9..6a4664513c 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -999,7 +999,7 @@ int melee_attack::player_apply_weapon_bonuses(int damage)
if (get_equip_race(*weapon) == ISFLAG_ORCISH
&& you.species == SP_HILL_ORC)
{
- if (you.religion == GOD_BEOGH)
+ if (you.religion == GOD_BEOGH && !you.penance[GOD_BEOGH])
damage++;
if (coinflip())
@@ -2118,7 +2118,7 @@ int melee_attack::player_to_hit(bool random_factor)
your_to_hit += (random_factor && coinflip() ? 2 : 1);
}
else if (get_equip_race(*weapon) == ISFLAG_ORCISH
- && you.religion == GOD_BEOGH)
+ && you.religion == GOD_BEOGH && !you.penance[GOD_BEOGH])
{
your_to_hit++;
}