summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-26 23:29:34 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-26 23:44:09 -0700
commit2252c1227e57bdc8706b7e93f7aed1564ca60fd1 (patch)
tree44b6cd53f80dd6a33b8855660e8b7a9d349acc1d /crawl-ref/source/traps.cc
parent7a410f2d1ae61222e7923eef0b6f54af7afea074 (diff)
downloadcrawl-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/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index a8589bbde0..b45ac5a83f 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -1139,7 +1139,7 @@ trap_type get_trap_type(const coord_def& pos)
static bool _disarm_is_deadly(trap_def& trap)
{
int dam = trap.max_damage(you);
- if (trap.type == TRAP_NEEDLE && you.res_poison() <= 0)
+ if (trap.type == TRAP_NEEDLE && you.res_poison() <= 1)
dam += 15; // arbitrary
return you.hp <= dam;