diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 23:51:49 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 23:51:49 +0000 |
commit | 2fbcfdf08656a6d5fea6f24cf42ab223f7b0934c (patch) | |
tree | d49d8892a7acb6a28b2bc5c3e520322b5d1b6f64 /crawl-ref | |
parent | 6e01ad4051e824734f3ac60ed6ad3c414e70a9fe (diff) | |
download | crawl-ref-2fbcfdf08656a6d5fea6f24cf42ab223f7b0934c.tar.gz crawl-ref-2fbcfdf08656a6d5fea6f24cf42ab223f7b0934c.zip |
Added the new monster "test spawner", an unkillable, stationary monster which
does nothing but cast Shadow Creatures over and over. If there's a randomly
occuring, hard to reproduce monster bug then run
crawl -arena "test spawner v test spawner"
and wait for the endless hordes of battling monster to eventually reproduce it.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8067 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/enum.h | 4 | ||||
-rw-r--r-- | crawl-ref/source/mon-data.h | 16 | ||||
-rw-r--r-- | crawl-ref/source/mon-spll.h | 11 |
3 files changed, 31 insertions, 0 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 46d7faa90a..c4f0e87a38 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -1992,6 +1992,9 @@ enum monster_type // (int) menv[].type MONS_SILVER_STATUE, MONS_ICE_STATUE, + // Testing monsters + MONS_TEST_SPAWNER, + NUM_MONSTERS, // used for polymorph RANDOM_MONSTER = 1000, // used to distinguish between a random monster and using program bugs for error trapping {dlb} @@ -2200,6 +2203,7 @@ enum mon_spellbook_type MST_CURSE_TOE, MST_RUPERT, // 135 MST_ICE_STATUE, + MST_TEST_SPAWNER, NUM_MSTYPES, MST_NO_SPELLS = 250 }; diff --git a/crawl-ref/source/mon-data.h b/crawl-ref/source/mon-data.h index 4c2e7ebcca..d94d80a7c6 100644 --- a/crawl-ref/source/mon-data.h +++ b/crawl-ref/source/mon-data.h @@ -4377,6 +4377,22 @@ static monsterentry mondata[] = { { 18, 0, 0, 250 }, 10, 30, MST_ERESHKIGAL, CE_NOCORPSE, Z_NOZOMBIE, S_SHOUT, I_HIGH, HT_LAND, 14, DEFAULT_ENERGY, MONUSE_WEAPONS_ARMOUR, SIZE_LARGE +}, + +// Impossible to hit, impossible to damage, immune to everything, +// unkillable, just sits there doing nothing but casting Shadow Creatures +// over and over. +{ + MONS_TEST_SPAWNER, 'X', WHITE, "test spawner", + M_SPELLCASTER | M_STATIONARY | M_REGEN | M_INSUBSTANTIAL, + mrd(MR_RES_ELEC | MR_RES_POISON | MR_RES_FIRE | MR_RES_HELLFIRE + | MR_RES_COLD | MR_RES_ASPHYX | MR_RES_ACID + | MR_RES_STICKY_FLAME | MR_RES_STEAM, 127), + 0, 15, MONS_TEST_SPAWNER, MONS_TEST_SPAWNER, MH_NONLIVING, MAG_IMMUNE, + { AT_NO_ATK, AT_NO_ATK, AT_NO_ATK, AT_NO_ATK }, + { 1000, 1000, 0, 0 }, + 127, 127, MST_TEST_SPAWNER, CE_NOCORPSE, Z_NOZOMBIE, S_SILENT, I_PLANT, + HT_LAND, 14, DEFAULT_ENERGY, MONUSE_NOTHING, SIZE_LARGE } /* diff --git a/crawl-ref/source/mon-spll.h b/crawl-ref/source/mon-spll.h index 3d9a82bc42..fed39f962b 100644 --- a/crawl-ref/source/mon-spll.h +++ b/crawl-ref/source/mon-spll.h @@ -1068,6 +1068,17 @@ SPELL_SUMMON_ICE_BEAST, SPELL_SUMMON_ICE_BEAST } + }, + + { MST_TEST_SPAWNER, + { + SPELL_SHADOW_CREATURES, + SPELL_SHADOW_CREATURES, + SPELL_SHADOW_CREATURES, + SPELL_SHADOW_CREATURES, + SPELL_SHADOW_CREATURES, + SPELL_SHADOW_CREATURES + } } #endif |