diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-26 23:29:34 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-26 23:44:09 -0700 |
commit | 2252c1227e57bdc8706b7e93f7aed1564ca60fd1 (patch) | |
tree | 44b6cd53f80dd6a33b8855660e8b7a9d349acc1d /crawl-ref/source/player.cc | |
parent | 7a410f2d1ae61222e7923eef0b6f54af7afea074 (diff) | |
download | crawl-ref-2252c1227e57bdc8706b7e93f7aed1564ca60fd1.tar.gz crawl-ref-2252c1227e57bdc8706b7e93f7aed1564ca60fd1.zip |
Make rPois a bit more consistent (for players)
Direct damage resistance from 50% to 66%. Chance of preventing
poison from 90% to 66%. Chance of preventing curare from 80% to
66%. AF_STRONG_POISON (eg redbacks) no longer pierces rPois for
players. Wasps (AF_PARALYSE) now have their effects downgraded
one level by rPois (para -> slow, slow -> nothing) instead of
outright negated.
rPois should be a helpful resist to have, not a binary pass-fail
check for certain areas & enemies.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 24581daa8d..3065070b33 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -4867,7 +4867,7 @@ bool curare_hits_player(int death_source, int levels, string name, ASSERT(!crawl_state.game_is_arena()); if (player_res_poison() >= 3 - || player_res_poison() > 0 && !one_chance_in(5)) + || player_res_poison() > 0 && !one_chance_in(3)) { return false; } @@ -4918,7 +4918,7 @@ bool poison_player(int amount, string source, string source_aux, bool force) dprf("Cannot poison, you are immune!"); return false; } - else if (!force && player_res_poison() > 0 && !one_chance_in(10)) + else if (!force && player_res_poison() > 0 && !one_chance_in(3)) return false; const int old_value = you.duration[DUR_POISONING]; |