summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/art-func.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-19 21:48:03 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-04-27 17:02:33 -0600
commit0ae9f4fba60e8a6eed6359e8e3aaa045f5e74ebb (patch)
treec3ea65e73a812f3217421f52bcdcf71f4ba662c3 /crawl-ref/source/art-func.h
parenta2702ba0a56228743ba069c151e94c06601aabb6 (diff)
downloadcrawl-ref-0ae9f4fba60e8a6eed6359e8e3aaa045f5e74ebb.tar.gz
crawl-ref-0ae9f4fba60e8a6eed6359e8e3aaa045f5e74ebb.zip
Let stabbing with blowgun attacks extend effect duration (elliptic).
Poisoned needles deal more poison damage; curare has its effect amplified; duration-based needles have their durations extended (except frenzy, possibly for now). The needle of paralysis hits the stone giant in a vulnerable spot!!!! This code might have some side effects based on the dur paramater of enchant_monster_with_flavour being meaningful for the duration-base needle enchantment types; if so, that'll need fixing.
Diffstat (limited to 'crawl-ref/source/art-func.h')
-rw-r--r--crawl-ref/source/art-func.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h
index 97541c62df..d8a642d40a 100644
--- a/crawl-ref/source/art-func.h
+++ b/crawl-ref/source/art-func.h
@@ -835,7 +835,10 @@ static void _SNAKEBITE_melee_effects(item_def* weapon, actor* attacker,
actor* defender, bool mondied, int dam)
{
if (!mondied && x_chance_in_y(2, 5))
- curare_actor(attacker, defender, "curare", attacker->name(DESC_PLAIN));
+ {
+ curare_actor(attacker, defender, 2, "curare",
+ attacker->name(DESC_PLAIN));
+ }
}
///////////////////////////////////////////////////