summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use3.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-19 08:09:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-19 08:09:52 +0000
commit8e0b3b5ef675f3a9799f156ed734fd686e995640 (patch)
treec37c7567d803e9e582e2fc5c92a635923d82787f /crawl-ref/source/it_use3.cc
parent067eab99d0d9edc496bc8a29ae7a9dbc5abcc41b (diff)
downloadcrawl-ref-8e0b3b5ef675f3a9799f156ed734fd686e995640.tar.gz
crawl-ref-8e0b3b5ef675f3a9799f156ed734fd686e995640.zip
Fix [2039271]: The staff of channeling now trains Evocations at the rate
of similar evocables. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7495 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r--crawl-ref/source/it_use3.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc
index b5e79d0872..1d1fa3a3b2 100644
--- a/crawl-ref/source/it_use3.cc
+++ b/crawl-ref/source/it_use3.cc
@@ -559,9 +559,7 @@ bool evoke_wielded()
}
}
else
- {
unevokable = true;
- }
break;
case OBJ_STAVES:
@@ -582,7 +580,7 @@ bool evoke_wielded()
mpr("You channel some magical energy.");
inc_mp( 1 + random2(3), false );
make_hungry(50, false, true);
- pract = (one_chance_in(5) ? 1 : 0);
+ pract = 1;
did_work = true;
if (!item_type_known(wpn))