summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-06 17:09:25 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-06 17:12:15 +1000
commit3aa8195291e6770242fe483fba2596215960a3ae (patch)
treefc90e69ee45c33bfecf471d1ca42985988d1c3e3
parentabc1c21beac74651d1a328c6846dc37aec0c016e (diff)
downloadcrawl-ref-3aa8195291e6770242fe483fba2596215960a3ae.tar.gz
crawl-ref-3aa8195291e6770242fe483fba2596215960a3ae.zip
Give Dissolution "Summon Eyeballs" spell (dpeg).
Though do not actually give him the actual_spells flag. Instead, treat the slimes as gifts from Jiyva. Flavour messages could use a tweak.
-rw-r--r--crawl-ref/source/dat/database/monspell.txt6
-rw-r--r--crawl-ref/source/enum.h1
-rw-r--r--crawl-ref/source/mon-data.h4
-rw-r--r--crawl-ref/source/mon-spll.h11
4 files changed, 20 insertions, 2 deletions
diff --git a/crawl-ref/source/dat/database/monspell.txt b/crawl-ref/source/dat/database/monspell.txt
index e4ff1c0579..9b041e607a 100644
--- a/crawl-ref/source/dat/database/monspell.txt
+++ b/crawl-ref/source/dat/database/monspell.txt
@@ -238,6 +238,12 @@ gastronok cast targeted
@The_monster@ casts a spell at @target@.
%%%%
+dissolution cast
+
+@The_monster@ gurgles deeply, a call to fellow slimes.
+
+@The_monster@ says, "The Slime God sees all!"
+%%%%
wizard cast targeted
@The_monster@ gestures at @target@ while chanting.
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index 025b3cb869..d2dca00607 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -2301,6 +2301,7 @@ enum mon_spellbook_type
MST_MAURICE,
MST_KHUFU,
MST_NIKOLA,
+ MST_DISSOLUTION,
MST_TEST_SPAWNER = 170,
NUM_MSTYPES,
diff --git a/crawl-ref/source/mon-data.h b/crawl-ref/source/mon-data.h
index 264c067527..bfb1c95ab8 100644
--- a/crawl-ref/source/mon-data.h
+++ b/crawl-ref/source/mon-data.h
@@ -4057,12 +4057,12 @@ static monsterentry mondata[] = {
{
MONS_DISSOLUTION, 'J', LIGHTMAGENTA, "Dissolution",
M_UNIQUE | M_NO_SKELETON | M_SENSE_INVIS | M_ACID_SPLASH | M_BURROWS
- | M_PRIEST | M_SPEAKS,
+ | M_PRIEST | M_SPEAKS | M_SPELLCASTER,
MR_RES_POISON | MR_RES_ASPHYX | mrd(MR_RES_ACID, 3),
0, 11, MONS_JELLY, MONS_DISSOLUTION, MH_NATURAL, -7,
{ {AT_HIT, AF_ACID, 50}, {AT_HIT, AF_ACID, 30}, AT_NO_ATK, AT_NO_ATK },
{ 12, 0, 0, 180 },
- 10, 1, MST_NO_SPELLS, CE_POISONOUS, Z_NOZOMBIE, S_SILENT, I_NORMAL,
+ 10, 1, MST_DISSOLUTION, CE_POISONOUS, Z_NOZOMBIE, S_SILENT, I_NORMAL,
HT_LAND, FL_NONE, 8, DEFAULT_ENERGY, MONUSE_NOTHING, MONEAT_ITEMS, SIZE_LARGE
},
diff --git a/crawl-ref/source/mon-spll.h b/crawl-ref/source/mon-spll.h
index aeb3b0125d..4c0befd8d3 100644
--- a/crawl-ref/source/mon-spll.h
+++ b/crawl-ref/source/mon-spll.h
@@ -1253,6 +1253,17 @@
}
},
+ { MST_DISSOLUTION,
+ {
+ SPELL_NO_SPELL,
+ SPELL_NO_SPELL,
+ SPELL_NO_SPELL,
+ SPELL_SUMMON_EYEBALLS,
+ SPELL_NO_SPELL,
+ SPELL_SUMMON_EYEBALLS
+ }
+ },
+
{ MST_TEST_SPAWNER,
{
SPELL_SHADOW_CREATURES,