summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/throw.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2012-08-16 14:33:57 -0600
committerDracoOmega <draco_omega@live.com>2014-01-28 02:31:35 -0330
commit6f26326460c1aac973fdf3b69076c0a179df68fa (patch)
tree5615cc3ad61e3bc534a3e96b1430295c7b6590a5 /crawl-ref/source/throw.h
parentf2ee4041714a42f9b9d64681cee6b63b0269c73b (diff)
downloadcrawl-ref-6f26326460c1aac973fdf3b69076c0a179df68fa.tar.gz
crawl-ref-6f26326460c1aac973fdf3b69076c0a179df68fa.zip
Implement Portal Projectile for marksnagas in place of Leda's.
For whatever reason, extra-stable footing doesn't apply to liquefied ground, so that part of the original rationale fails; the new replacement is partly motivated by my observation that in a lot of scenarios where marksnagas turn up, the rest of the nagas in the pack tend to block their lines of fire - so this helps make them effective even in those scenarios. This is a variation of the implementation I've had floating around for a while (20f9716) updated for more modern Crawl.
Diffstat (limited to 'crawl-ref/source/throw.h')
-rw-r--r--crawl-ref/source/throw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/throw.h b/crawl-ref/source/throw.h
index 32453d4191..7ecaaca182 100644
--- a/crawl-ref/source/throw.h
+++ b/crawl-ref/source/throw.h
@@ -42,5 +42,5 @@ int launcher_final_speed(const item_def &launcher,
const item_def *shield, bool scaled = true);
void setup_monster_throw_beam(monster* mons, bolt &beam);
-bool mons_throw(monster* mons, bolt &beam, int msl);
+bool mons_throw(monster* mons, bolt &beam, int msl, bool teleport = false);
#endif