From 3aa8195291e6770242fe483fba2596215960a3ae Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Fri, 6 Nov 2009 17:09:25 +1000 Subject: 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. --- crawl-ref/source/dat/database/monspell.txt | 6 ++++++ crawl-ref/source/enum.h | 1 + crawl-ref/source/mon-data.h | 4 ++-- crawl-ref/source/mon-spll.h | 11 +++++++++++ 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, -- cgit v1.2.3-54-g00ecf