diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2012-08-20 20:10:52 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2012-08-20 20:10:52 -0600 |
commit | 0efe6cec5fb6f50da9b3174b1c55a6b2a6c8e4e2 (patch) | |
tree | 206944e115a24ce40273c7c2090f9e81fad2700d /crawl-ref/source/spl-damage.h | |
parent | 60aaac4f3bbf1ac503cfa50e692d96ad149f7645 (diff) | |
download | crawl-ref-0efe6cec5fb6f50da9b3174b1c55a6b2a6c8e4e2.tar.gz crawl-ref-0efe6cec5fb6f50da9b3174b1c55a6b2a6c8e4e2.zip |
Have deaths by monster Shatter indicate that Shatter was used.
This also preserves the old behaviour for monsters wielding Devastator.
Diffstat (limited to 'crawl-ref/source/spl-damage.h')
-rw-r--r-- | crawl-ref/source/spl-damage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-damage.h b/crawl-ref/source/spl-damage.h index 9bf710f819..3415f57b08 100644 --- a/crawl-ref/source/spl-damage.h +++ b/crawl-ref/source/spl-damage.h @@ -22,7 +22,7 @@ void sonic_damage(bool scream); int shatter_monsters(coord_def where, int pow, actor *agent); int shatter_items(coord_def where, int pow, actor *agent); int shatter_walls(coord_def where, int pow, actor *agent); -int shatter_player(int pow, actor *wielder); +int shatter_player(int pow, actor *wielder, bool devastator = false); bool mons_shatter(monster* caster, bool actual = true); void shillelagh(actor *wielder, coord_def where, int pow); spret_type vampiric_drain(int pow, monster* mons, bool fail); |