From fa2f65b7a853195fa69612e5cc4de6e5fc54ae85 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 9 Nov 2009 12:58:58 -0600 Subject: Add spell flag SPFLAG_CHAOTIC, and mark all chaotic spells with it. The list of chaotic spells is now generalized instead of being hardcoded in is_chaotic_spell(). This is modeled somewhat after SPFLAG_UNHOLY. --- crawl-ref/source/spl-data.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/spl-data.h') diff --git a/crawl-ref/source/spl-data.h b/crawl-ref/source/spl-data.h index 02fff3b101..bc168a3b2b 100644 --- a/crawl-ref/source/spl-data.h +++ b/crawl-ref/source/spl-data.h @@ -181,7 +181,7 @@ { SPELL_POLYMORPH_OTHER, "Polymorph Other", SPTYP_TRANSMUTATION, // removed enchantment, wasn't needed -- bwr - SPFLAG_DIR_OR_TARGET | SPFLAG_NOT_SELF, + SPFLAG_DIR_OR_TARGET | SPFLAG_NOT_SELF | SPFLAG_CHAOTIC, 5, 200, LOS_RADIUS, LOS_RADIUS, @@ -1055,7 +1055,7 @@ { SPELL_CORPSE_ROT, "Corpse Rot", SPTYP_NECROMANCY, - SPFLAG_AREA | SPFLAG_NEUTRAL, + SPFLAG_AREA | SPFLAG_NEUTRAL | SPFLAG_CHAOTIC, 2, 0, -1, -1, @@ -1302,7 +1302,7 @@ { SPELL_ALTER_SELF, "Alter Self", SPTYP_TRANSMUTATION, - SPFLAG_NONE, + SPFLAG_CHAOTIC, 7, 0, -1, -1, @@ -1978,7 +1978,7 @@ { SPELL_SUMMON_UGLY_THING, "Summon Ugly Thing", SPTYP_SUMMONING, - SPFLAG_NONE, + SPFLAG_CHAOTIC, 5, 200, -1, -1, @@ -2202,7 +2202,7 @@ { SPELL_MIASMA, "Miasma", SPTYP_CONJURATION, - SPFLAG_DIR_OR_TARGET | SPFLAG_MONSTER, + SPFLAG_DIR_OR_TARGET | SPFLAG_CHAOTIC | SPFLAG_MONSTER, 6, 0, 6, 6, @@ -2215,7 +2215,7 @@ { SPELL_SUMMON_DRAKES, "Summon Drakes", SPTYP_SUMMONING, - SPFLAG_UNHOLY | SPFLAG_MONSTER, + SPFLAG_UNHOLY | SPFLAG_CHAOTIC | SPFLAG_MONSTER, 6, 0, -1, -1, @@ -2332,7 +2332,7 @@ { SPELL_PORKALATOR, "Porkalator", SPTYP_ENCHANTMENT | SPTYP_TRANSMUTATION, - SPFLAG_DIR_OR_TARGET, + SPFLAG_DIR_OR_TARGET | SPFLAG_CHAOTIC, 5, 200, LOS_RADIUS, LOS_RADIUS, -- cgit v1.2.3-54-g00ecf