diff options
author | Neil Moore <neil@s-z.org> | 2014-07-14 11:28:23 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-14 11:28:23 -0400 |
commit | c97130181c2d17a42e4c1d7e955c70ab0aee9702 (patch) | |
tree | 4467fd8756739c7a118fcc24e89ffbb99d27178a /crawl-ref/source/attack.cc | |
parent | 97a1effaeff95f222da50cb68cebf6be3304a025 (diff) | |
download | crawl-ref-c97130181c2d17a42e4c1d7e955c70ab0aee9702.tar.gz crawl-ref-c97130181c2d17a42e4c1d7e955c70ab0aee9702.zip |
Fix reflected attack damage (PleasingFungus, doh)
Diffstat (limited to 'crawl-ref/source/attack.cc')
-rw-r--r-- | crawl-ref/source/attack.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/attack.cc b/crawl-ref/source/attack.cc index aba1f6fc3a..eab6f7cb9f 100644 --- a/crawl-ref/source/attack.cc +++ b/crawl-ref/source/attack.cc @@ -429,7 +429,9 @@ void attack::init_attack(skill_type unarmed_skill, int attack_number) attk_flavour = mon_attk.flavour; // Don't scale damage for YOU_FAULTLESS etc. - if (attacker->get_experience_level() > 0) + if (attacker->get_experience_level() == 0) + attk_damage = mon_attk.damage; + else { attk_damage = div_rand_round(mon_attk.damage * attacker->get_hit_dice(), |