summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ranged_attack.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-17 19:21:53 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-04-27 17:02:33 -0600
commit51a3c3daa54985a74a5024480c4b9819e9c41da9 (patch)
tree97046b335838c43d593a58def219ca0e43fb6c22 /crawl-ref/source/ranged_attack.h
parentfde016144d74dc363d43e65ef647e980391aeadc (diff)
downloadcrawl-ref-51a3c3daa54985a74a5024480c4b9819e9c41da9.tar.gz
crawl-ref-51a3c3daa54985a74a5024480c4b9819e9c41da9.zip
Ranged attack brands!
Launchers use the equivalent melee brand effects if the missile isn't an elemental brand (or the attacker is Nessos). Missiles have their own set of effects; flame, frost, and poison use effects basically identical to weapon brands, and everything else has its old effect back. The lajatang of Order works again. Hooray!
Diffstat (limited to 'crawl-ref/source/ranged_attack.h')
-rw-r--r--crawl-ref/source/ranged_attack.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/ranged_attack.h b/crawl-ref/source/ranged_attack.h
index 0205b604c4..da46643255 100644
--- a/crawl-ref/source/ranged_attack.h
+++ b/crawl-ref/source/ranged_attack.h
@@ -31,7 +31,11 @@ private:
int weapon_damage();
int apply_damage_modifiers(int damage, int damage_max, bool &half_ac);
bool attack_ignores_shield(bool verbose);
- bool apply_damage_brand();
+ bool apply_damage_brand(const char *what = NULL);
+ special_missile_type random_chaos_missile_brand();
+ bool blowgun_check(special_missile_type type);
+ int blowgun_duration_roll(special_missile_type type);
+ bool apply_missile_brand();
/* Weapon Effects */
bool check_unrand_effects();