From 8bb770637637850f522fdeb873e2d0b05eb0be24 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 9 Nov 2009 09:41:40 -0600 Subject: Add an is_holy() function to the actor interface. This is consistent with similar functions in that it checks not only for MH_HOLY holiness, but whether the monster is a priest of a good god (currently, there are none) and whether it uses holy spells (currently, there are none after the changes described below). Minor and Major Healing are now enchantments rather than holy spells. The beam code treats them as such; wands of healing aren't holy items the way e.g. wands of draining are evil items; and unholy monsters (among others, Lom Lobon!) can cast these spells. --- crawl-ref/source/spl-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-util.h') diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index e3feea06ed..9715d52eee 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -25,7 +25,7 @@ enum spschool_flag_type SPTYP_POISON = 1<<9, SPTYP_EARTH = 1<<10, SPTYP_AIR = 1<<11, - SPTYP_HOLY = 1<<12, //jmf: moved to accomodate "random" miscast f/x + SPTYP_HOLY = 1<<12, //jmf: moved to accommodate "random" miscast f/x SPTYP_LAST_EXPONENT = 12, //jmf: ``NUM_SPELL_TYPES'' kinda useless NUM_SPELL_TYPES = 14, SPTYP_RANDOM = 1<<14 -- cgit v1.2.3-54-g00ecf