summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/potion.cc
diff options
context:
space:
mode:
authorSage <SageBasilMint@gmail.com>2013-12-30 15:37:27 -0800
committerNeil Moore <neil@s-z.org>2014-01-26 11:15:40 -0500
commit321c037b6790e6ad2649caee2c20d13a850b72f2 (patch)
tree00ad990d40666dd2151c6b580873a1cd2ac21042 /crawl-ref/source/potion.cc
parentcb62a7f8bfa2cfed35e8a2eeb4ac05ed89ac2e66 (diff)
downloadcrawl-ref-321c037b6790e6ad2649caee2c20d13a850b72f2.tar.gz
crawl-ref-321c037b6790e6ad2649caee2c20d13a850b72f2.zip
Change 'magic' to 'power' for non-spellcaster manadrain message.
In case people are wondering what vine stalkers get when biting e.g. geckos.
Diffstat (limited to 'crawl-ref/source/potion.cc')
-rw-r--r--crawl-ref/source/potion.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc
index b0193c5436..b6d213467c 100644
--- a/crawl-ref/source/potion.cc
+++ b/crawl-ref/source/potion.cc
@@ -83,7 +83,7 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
if (you.mutation[MUT_NO_DEVICE_HEAL]
&& potion && was_known
- && you.duration[DUR_CONF] == 0
+ && you.duration[DUR_CONF] == 0
&& you.duration[DUR_POISONING] == 0
&& you.rotting == 0
&& you.disease == 0)
@@ -92,10 +92,8 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
return false;
}
- if (!you.mutation[MUT_NO_DEVICE_HEAL])
- {
+ if (!you.mutation[MUT_NO_DEVICE_HEAL])
inc_hp((5 + random2(7)) / factor);
- }
mpr("You feel better.");