summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgen_data.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2011-01-17 20:23:49 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2011-01-17 20:27:38 +1000
commitb5cfd013cba9031bc17f20958725aff416ab8827 (patch)
treec1b5fa2e8eeef25cc8be689407e6ef45a9332d8d /crawl-ref/source/mgen_data.h
parent32c3cce915ac7c37e877bac7293434d32acb7ec8 (diff)
downloadcrawl-ref-b5cfd013cba9031bc17f20958725aff416ab8827.tar.gz
crawl-ref-b5cfd013cba9031bc17f20958725aff416ab8827.zip
Reimplement Sticks to Snakes as a pure transmutation.
This introduces a new transitory state of monsterness: fake abjuration. It takes the same values as normal abjuration, but these monsters are otherwise described as "short lived". They are not abjurable, do not give EXP, do not leave corpses, and "wither and die" when their timer runs out. This will be extended upon for homunculi! Hooray! I might've missed something, but I think I've gotten everything.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r--crawl-ref/source/mgen_data.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h
index 144f0bc46d..cb9d196da4 100644
--- a/crawl-ref/source/mgen_data.h
+++ b/crawl-ref/source/mgen_data.h
@@ -144,7 +144,8 @@ struct mgen_data
non_actor_summoner(nas), props()
{
ASSERT(summon_type == 0 || (abj >= 1 && abj <= 6)
- || mt == MONS_BALL_LIGHTNING || mt == MONS_ORB_OF_DESTRUCTION);
+ || mt == MONS_BALL_LIGHTNING || mt == MONS_ORB_OF_DESTRUCTION
+ || summon_type == SPELL_STICKS_TO_SNAKES);
}
bool permit_bands() const { return (flags & MG_PERMIT_BANDS); }