summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
authorabrahamwl <abrahamwl@gmail.com>2009-10-28 11:02:12 -0700
committerAdam Borowski <kilobyte@angband.pl>2009-10-28 19:07:59 +0100
commit06bf811e45f13eddea2dd1c1f4b3554c68e09553 (patch)
tree5476c6b283ec1cf705ed46041d80f71ba57836fa /crawl-ref/source/beam.h
parent4e14802376eeb4770861592e171b9b8dcedacb16 (diff)
downloadcrawl-ref-06bf811e45f13eddea2dd1c1f4b3554c68e09553.tar.gz
crawl-ref-06bf811e45f13eddea2dd1c1f4b3554c68e09553.zip
Beams can be assigned custom hit verbs now
If a beam is not, old behavior is default.
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index 281641cf90..f9103d8924 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -83,6 +83,10 @@ struct bolt
int beam_source; // NON_MONSTER or monster index #
std::string name;
std::string short_name;
+ std::string hit_verb; // The verb to use when this beam hits
+ // something. If not set, will use
+ // "engulfs" if an explosion or cloud
+ // and "hits" otherwise.
bool is_beam; // beams? (can hits multiple targets?)
bool is_explosion;
bool is_big_cloud; // expands into big_cloud at endpoint