diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-19 21:48:03 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-27 17:02:33 -0600 |
commit | 0ae9f4fba60e8a6eed6359e8e3aaa045f5e74ebb (patch) | |
tree | c3ea65e73a812f3217421f52bcdcf71f4ba662c3 /crawl-ref/source/player.h | |
parent | a2702ba0a56228743ba069c151e94c06601aabb6 (diff) | |
download | crawl-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/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index b0036de75f..4a7fef7e9e 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -988,7 +988,8 @@ void contaminate_player(int change, bool controlled = false, bool msg = true); bool confuse_player(int amount, bool quiet = false); -bool curare_hits_player(int death_source, string name, string source_name); +bool curare_hits_player(int death_source, int levels, string name, + string source_name); bool poison_player(int amount, string source, string source_aux = "", bool force = false); void paralyse_player(string source, int amount = 0, int factor = 1); |