From b9def0122143459c4d1fd0721384028f3974dc69 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Thu, 5 Nov 2009 19:58:50 +1000 Subject: Move *_res(ist)_magic to relevant classes, provide actor interface. Signed-off-by: Jude Brown --- crawl-ref/source/actor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/actor.h') diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index a80459a23a..2f46aff6aa 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -180,6 +180,8 @@ public: virtual int res_holy_energy(const actor *attacker) const = 0; virtual int res_negative_energy() const = 0; virtual int res_torment() const = 0; + virtual int res_magic() const = 0; + virtual bool check_res_magic(int power) = 0; virtual flight_type flight_mode() const = 0; virtual bool is_levitating() const = 0; -- cgit v1.2.3-54-g00ecf