summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-25 01:50:36 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-04 03:15:11 +0100
commit6033fda4df73fbf1799efa99f2855d726cc706d4 (patch)
tree7e9e26dbd7abe466b36d128625199596114acbb4 /crawl-ref/source/mon-info.h
parent1782bbfdc94b5bf1968478c66945fcab9652ba44 (diff)
downloadcrawl-ref-6033fda4df73fbf1799efa99f2855d726cc706d4.tar.gz
crawl-ref-6033fda4df73fbf1799efa99f2855d726cc706d4.zip
Describe monster attack flavours in their descriptions
Adds monster attacks to monster_info and displays a line above monster spell sets for monsters with attack flavours, such as "It may attack to cause poisoning and deal extra fire damage." Player ghosts and random pan lords use brands instead of attack flavours and so aren't described here (and random pan lords shouldn't be anyway).
Diffstat (limited to 'crawl-ref/source/mon-info.h')
-rw-r--r--crawl-ref/source/mon-info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-info.h b/crawl-ref/source/mon-info.h
index 6229d2ea04..de7ec3d729 100644
--- a/crawl-ref/source/mon-info.h
+++ b/crawl-ref/source/mon-info.h
@@ -146,6 +146,7 @@ struct monster_info_base
string constrictor_name;
vector<string> constricting_name;
monster_spells spells;
+ mon_attack_def attack[MAX_NUM_ATTACKS];
uint32_t client_id;
};