diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 550bbf5851..d8a70c7848 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1535,12 +1535,12 @@ int player_res_poison(bool calc_unid, bool temp, bool items) // mutations: rp += player_mutation_level(MUT_POISON_RESISTANCE); + // Only thirsty vampires are naturally poison resistant. + if (you.species == SP_VAMPIRE && you.hunger_state < HS_SATIATED) + rp++; + if (temp) { - // Only thirsty vampires are naturally poison resistant. - if (you.species == SP_VAMPIRE && you.hunger_state < HS_SATIATED) - rp++; - // spells: if (you.duration[DUR_RESIST_POISON] > 0) rp++; @@ -4201,7 +4201,7 @@ int player_mental_clarity(bool calc_unid, bool items) { const int ret = (3 * player_equip(EQ_AMULET, AMU_CLARITY, calc_unid) * items) - + player_mutation_level(MUT_CLARITY); + + player_mutation_level(MUT_CLARITY); return ((ret > 3) ? 3 : ret); } |