From 65ad20dff06c085e329e627ddeebe8a1deca6d04 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 16 Nov 2008 18:20:22 +0000 Subject: Add a few more poison-related cleanups. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7449 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 7a66a9538a..a210328302 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5048,9 +5048,9 @@ bool confuse_player(int amount, bool resistable) return (true); } -bool curare_hits_player(int agent, int degree) +bool curare_hits_player(int agent, int amount) { - poison_player(degree); + poison_player(amount); const bool res_poison = player_res_poison() > 0; @@ -5070,7 +5070,7 @@ bool curare_hits_player(int agent, int degree) ouch(hurted, agent, KILLED_BY_CURARE, "curare-induced apnoea"); } - potion_effect(POT_SLOWING, 2 + random2(4 + degree)); + potion_effect(POT_SLOWING, 2 + random2(4 + amount)); } return (hurted > 0); -- cgit v1.2.3-54-g00ecf