diff options
author | DracoOmega <draco_omega@live.com> | 2014-03-01 06:47:54 -0330 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-03-06 09:58:16 -0700 |
commit | c5e17e5f3e484b0a9a8a57dc764b51f875d29aa3 (patch) | |
tree | 4e38da7221c44811339463bc0440a84f89940325 /crawl-ref/source/traps.cc | |
parent | dcfe0c6302d95122f8f4bedf693bb976f961676b (diff) | |
download | crawl-ref-c5e17e5f3e484b0a9a8a57dc764b51f875d29aa3.tar.gz crawl-ref-c5e17e5f3e484b0a9a8a57dc764b51f875d29aa3.zip |
Convert various other sources of player poison to the new system
This covers potions of (strong) poison, miscast effects, clouds,
needle traps, missiles, and curare.
Several of the less important ones have fairly arbitrary values that
seemed roughly reasonable. A bit more care was used with some things
whose poison damage could already be genuinely dangerous (such as
early poison needles), but definitely needs testing in a real game.
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r-- | crawl-ref/source/traps.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index 003aa3baac..1b1e28ae86 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -1585,7 +1585,7 @@ void trap_def::shoot_ammo(actor& act, bool was_known) } if (poison) - act.poison(NULL, 1 + random2(3)); + act.poison(NULL, 3 + roll_dice(2, 5)); act.hurt(NULL, damage_taken); } } |