summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/skills.cc')
-rw-r--r--crawl-ref/source/skills.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/skills.cc b/crawl-ref/source/skills.cc
index 64fd439fc2..d39635531a 100644
--- a/crawl-ref/source/skills.cc
+++ b/crawl-ref/source/skills.cc
@@ -208,6 +208,14 @@ static int _exercise2(int exsk)
bonus += random2(30);
}
+ // Maces and Staves.
+ if ((exsk == SK_MACES_FLAILS || exsk == SK_STAVES)
+ && (you.skills[SK_MACES_FLAILS] > you.skills[exsk]
+ || you.skills[SK_STAVES] > you.skills[exsk]))
+ {
+ bonus += random2(30);
+ }
+
// Slings and Throwing.
if ((exsk == SK_SLINGS || exsk == SK_THROWING)
&& (you.skills[SK_SLINGS] > you.skills[exsk]