diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-11 10:54:39 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-11 12:18:40 -0700 |
commit | af2634a3aa6d7c286d35d2680d74359c8b01dd45 (patch) | |
tree | 1d19dd7268a9c15e424ca393993aee58b8dc3458 /crawl-ref/source/mon-info.cc | |
parent | a65bd4252d6c4a5c7b5cb5b983a141d3b469a5ad (diff) | |
download | crawl-ref-af2634a3aa6d7c286d35d2680d74359c8b01dd45.tar.gz crawl-ref-af2634a3aa6d7c286d35d2680d74359c8b01dd45.zip |
Describe monster energy usage in xv and ?/M screens.
e.g.
"A felid. [...] It covers ground quickly."
"A hydra. [...] It swims extremely quickly."
"An orb spider. [...] It is fast, but uses natural abilities extremely
slowly."
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
-rw-r--r-- | crawl-ref/source/mon-info.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc index 977b60389a..00fa84d95a 100644 --- a/crawl-ref/source/mon-info.cc +++ b/crawl-ref/source/mon-info.cc @@ -361,6 +361,7 @@ monster_info::monster_info(monster_type p_type, monster_type p_base_type) mitemuse = mons_class_itemuse(type); mbase_speed = mons_class_base_speed(type); + menergy = mons_class_energy(type); fly = max(mons_class_flies(type), mons_class_flies(base_type)); @@ -585,6 +586,7 @@ monster_info::monster_info(const monster* m, int milev) mresists = get_mons_resists(m); mitemuse = mons_itemuse(m); mbase_speed = mons_base_speed(m); + menergy = mons_class_energy(m->type); fly = mons_flies(m); if (mons_wields_two_weapons(m)) |