summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/melee_attack.h
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-04-30 13:56:47 -0230
committerDracoOmega <draco_omega@live.com>2013-05-26 20:19:46 -0230
commit6773f044c5de9f759180e802f1721125b9ec74a1 (patch)
treef5ffdc60a565287cee1170acd5443c00dbfd1af6 /crawl-ref/source/melee_attack.h
parent1f7be3423fde080779b18de2fa3a16df81b3deb8 (diff)
downloadcrawl-ref-6773f044c5de9f759180e802f1721125b9ec74a1.tar.gz
crawl-ref-6773f044c5de9f759180e802f1721125b9ec74a1.zip
Make phantasmal warrior's attack ignore shields and check only half AC
Flavored as the phantasmal weapons they carry being only partially grounded in physical reality, their attacks pass clean through shields and are less impeded by contact with heavy armour.
Diffstat (limited to 'crawl-ref/source/melee_attack.h')
-rw-r--r--crawl-ref/source/melee_attack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/melee_attack.h b/crawl-ref/source/melee_attack.h
index 36402ae675..dbe40ea1a9 100644
--- a/crawl-ref/source/melee_attack.h
+++ b/crawl-ref/source/melee_attack.h
@@ -86,7 +86,7 @@ private:
int calc_damage();
int calc_stat_to_hit_base();
int calc_stat_to_dam_base();
- int apply_defender_ac(int damage, int damage_max = 0);
+ int apply_defender_ac(int damage, int damage_max = 0, bool half_ac = false);
int fire_res_apply_cerebov_downgrade(int res);
/* Attack effects */