diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-05 19:58:50 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-05 19:58:50 +1000 |
commit | b9def0122143459c4d1fd0721384028f3974dc69 (patch) | |
tree | f7b26f422d93b6f6769a45cb757c9075279a7c6a /crawl-ref/source/monster.h | |
parent | 313465bf23382559f7c26c63849b64266c8d939f (diff) | |
download | crawl-ref-b9def0122143459c4d1fd0721384028f3974dc69.tar.gz crawl-ref-b9def0122143459c4d1fd0721384028f3974dc69.zip |
Move *_res(ist)_magic to relevant classes, provide actor interface.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r-- | crawl-ref/source/monster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h index 26667a280c..0528163fe4 100644 --- a/crawl-ref/source/monster.h +++ b/crawl-ref/source/monster.h @@ -307,6 +307,8 @@ public: int res_negative_energy() const; int res_torment() const; int res_acid() const; + int res_magic() const; + bool check_res_magic(int power); flight_type flight_mode() const; bool is_levitating() const; |