summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-12 09:33:21 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-12 09:33:21 +0000
commit74c498a25a9ea3e5d03a41e6cc0e9822e94d5c9c (patch)
treee9690d2a18f9f1c94881fab0e77a710bfd130388 /crawl-ref/source/fight.cc
parent19c5f0f487097c52311565adcc12546c703e0a79 (diff)
downloadcrawl-ref-74c498a25a9ea3e5d03a41e6cc0e9822e94d5c9c.tar.gz
crawl-ref-74c498a25a9ea3e5d03a41e6cc0e9822e94d5c9c.zip
Beogh balancing:
- Cut Beogh's racial armour bonus. - Reduced weapon damage bonus by 50% at low piety. - Increased smiting food and piety cost. The piety cost may still be too low given how easy it is to gain Beogh piety. Tweaked monster generation, which had become too bland. Reintroduced shoal vault (onia_ninara_012_swampy_vault_shoal) which seems to work now. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1844 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index b242901b06..620e314ddf 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -999,9 +999,12 @@ 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 && !you.penance[GOD_BEOGH])
+ if (you.religion == GOD_BEOGH && !you.penance[GOD_BEOGH]
+ && (you.piety > 80 || coinflip()))
+ {
damage++;
-
+ }
+
if (coinflip())
damage++;
}