summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-26 11:38:33 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-26 11:38:33 -0700
commita833eec8caed135f55b438fb07b9a4515843b023 (patch)
tree7b351dba8832e4c36000ff94d8a46ecf8e5986a2 /crawl-ref/source/beam.cc
parent93bd6f3c9f6481f10147fec7257468db2825c310 (diff)
downloadcrawl-ref-a833eec8caed135f55b438fb07b9a4515843b023.tar.gz
crawl-ref-a833eec8caed135f55b438fb07b9a4515843b023.zip
Make Poison Arrow a ranged attack
So that it does damage consistent with other spells against targets with negative resistances. (1.35x damage, instead of 1.7x.) Also makes BEAM_NEG count as ranged, if anyone or anything ever gets rN-.
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index cdf9b91618..8e97689fdd 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1580,7 +1580,7 @@ int mons_adjust_flavoured(monster* mons, bolt &pbolt, int hurted,
case BEAM_POISON_ARROW:
hurted = resist_adjust_damage(mons, pbolt.flavour,
mons->res_poison(),
- hurted);
+ hurted, true);
if (hurted < original)
{
if (doFlavouredEffects)
@@ -1610,7 +1610,7 @@ int mons_adjust_flavoured(monster* mons, bolt &pbolt, int hurted,
{
hurted = resist_adjust_damage(mons, pbolt.flavour,
mons->res_negative_energy(),
- hurted);
+ hurted, true);
// Early out if no side effects.
if (!doFlavouredEffects)