summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use3.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-21 03:51:35 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-21 03:51:35 +0000
commitf58e8c5c29e98fd32fdc2f3f8823a090cf788b64 (patch)
tree4caae32a2fab1855b9a7ee5b6762d2a610804379 /crawl-ref/source/it_use3.cc
parent1c8625802c5eab075df45d1d2ccce4ff625a63be (diff)
downloadcrawl-ref-f58e8c5c29e98fd32fdc2f3f8823a090cf788b64.tar.gz
crawl-ref-f58e8c5c29e98fd32fdc2f3f8823a090cf788b64.zip
Apply patch [1914617]: Give the staff of channeling a chance to work
even if you have no Evocations skill, since some other evokable items follow that same convention. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3785 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r--crawl-ref/source/it_use3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc
index 017400b32b..6f7da402d3 100644
--- a/crawl-ref/source/it_use3.cc
+++ b/crawl-ref/source/it_use3.cc
@@ -554,7 +554,7 @@ bool evoke_wielded()
else if (wpn.sub_type == STAFF_CHANNELING)
{
if (you.magic_points < you.max_magic_points
- && you.skills[SK_EVOCATIONS] >= random2(30))
+ && you.skills[SK_EVOCATIONS] + 10 >= random2(40))
{
mpr("You channel some magical energy.");
inc_mp( 1 + random2(3), false );