diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-09 12:58:58 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-09 12:58:58 -0600 |
commit | fa2f65b7a853195fa69612e5cc4de6e5fc54ae85 (patch) | |
tree | ce36ef7aad84d941ad0ef0dc95332324564a287b /crawl-ref/source/spl-data.h | |
parent | 5204dd771008a235eeec188fd6e6613b0c6a63ed (diff) | |
download | crawl-ref-fa2f65b7a853195fa69612e5cc4de6e5fc54ae85.tar.gz crawl-ref-fa2f65b7a853195fa69612e5cc4de6e5fc54ae85.zip |
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.
Diffstat (limited to 'crawl-ref/source/spl-data.h')
-rw-r--r-- | crawl-ref/source/spl-data.h | 14 |
1 files changed, 7 insertions, 7 deletions
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, |