summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/art-func.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-03 03:16:26 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-03 20:58:28 +0000
commit9631014b7618a9d2b50f07f1e521d1e1112a68a3 (patch)
tree39f3ab2a642c695415bab8744104ed4d9e8bf328 /crawl-ref/source/art-func.h
parentd2e94d32f2f91f51fec7ad475064648fcdd5639d (diff)
downloadcrawl-ref-9631014b7618a9d2b50f07f1e521d1e1112a68a3.tar.gz
crawl-ref-9631014b7618a9d2b50f07f1e521d1e1112a68a3.zip
Additional unrand tweaks to Snakebite and Leech
Make Snakebite a regular whip again, but increase to-dam and apply curare on 2/5 hits, and reduce Leech's to-dam in exchange for the guaranteed vampiric effect.
Diffstat (limited to 'crawl-ref/source/art-func.h')
-rw-r--r--crawl-ref/source/art-func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h
index 8b2a02e196..00a560b7fe 100644
--- a/crawl-ref/source/art-func.h
+++ b/crawl-ref/source/art-func.h
@@ -820,7 +820,7 @@ static void _PLUTONIUM_SWORD_melee_effects(item_def* weapon, actor* attacker,
static void _SNAKEBITE_melee_effects(item_def* weapon, actor* attacker,
actor* defender, bool mondied, int dam)
{
- if (!mondied && one_chance_in(5))
+ if (!mondied && x_chance_in_y(2, 5))
curare_actor(defender, attacker, "curare", attacker->name(DESC_PLAIN));
}