summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-11 17:55:44 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-11 17:55:44 +0000
commit554f5b52783fb599e2ab8acf8b836dcb41f52b9b (patch)
tree457d3200a805cf83310f46beeb32799de7d5e5a4
parent00c1758ff8c301d1d40ddac667a242aba3748080 (diff)
downloadcrawl-ref-554f5b52783fb599e2ab8acf8b836dcb41f52b9b.tar.gz
crawl-ref-554f5b52783fb599e2ab8acf8b836dcb41f52b9b.zip
Disallow Orb Guardians as polymorph targets for 0.2.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.2@1574 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/monstuff.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index ee0df7a891..058ab45d9b 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -988,7 +988,10 @@ static bool valid_morph( struct monsters *monster, int new_mclass )
// but if we ever do have polydemon, these will be needed:
|| new_mclass == MONS_PLAYER_GHOST
|| new_mclass == MONS_PANDEMONIUM_DEMON
+
+ // Other poly-unsuitable things
|| new_mclass == MONS_ROYAL_JELLY
+ || new_mclass == MONS_ORB_GUARDIAN
|| new_mclass == MONS_ORANGE_STATUE
|| new_mclass == MONS_SILVER_STATUE
|| (new_mclass >= MONS_GERYON && new_mclass <= MONS_ERESHKIGAL))