diff options
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index a7e2b459e4..1e0c1310d9 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -2305,7 +2305,7 @@ bool is_bad_item(const item_def &item, bool temp) case POT_POISON: case POT_STRONG_POISON: // Poison is not that bad if you're poison resistant. - return (!player_res_poison() + return (!player_res_poison(false) || !temp && you.species == SP_VAMPIRE); case POT_MUTATION: return (you.is_undead @@ -2447,7 +2447,7 @@ bool is_useless_item(const item_def &item, bool temp) case POT_POISON: case POT_STRONG_POISON: // If you're poison resistant, poison is only useless. - return player_res_poison(); + return player_res_poison(false); } return (false); @@ -2482,7 +2482,7 @@ bool is_useless_item(const item_def &item, bool temp) return (player_mutation_level(MUT_ACUTE_VISION)); case RING_POISON_RESISTANCE: - return (player_res_poison(true, temp, false) + return (player_res_poison(false, temp, false) && (temp || you.species != SP_VAMPIRE)); case AMU_CONTROLLED_FLIGHT: |