summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-stuff.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-16 21:21:17 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-16 21:26:59 +1000
commitc114b6995bcc2ab8980cf2ca6762ffc26d555652 (patch)
tree624ff25b9e6557922b8098ffec72c1f83d31c5bf /crawl-ref/source/mon-stuff.cc
parent94efa11e1613a3328378a2e1f9831f144490d434 (diff)
downloadcrawl-ref-c114b6995bcc2ab8980cf2ca6762ffc26d555652.tar.gz
crawl-ref-c114b6995bcc2ab8980cf2ca6762ffc26d555652.zip
Make Pikel's slaves actually slaves (new monster).
Identical stats to a normal human, but start with an animal skin and a different description. They should probably spawn with a weapon too.
Diffstat (limited to 'crawl-ref/source/mon-stuff.cc')
-rw-r--r--crawl-ref/source/mon-stuff.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc
index 86398d9d33..47c8e72c98 100644
--- a/crawl-ref/source/mon-stuff.cc
+++ b/crawl-ref/source/mon-stuff.cc
@@ -1161,18 +1161,17 @@ void pikel_band_neutralise ()
for (monster_iterator mi; mi; ++mi)
{
- if (mi->type == MONS_HUMAN
+ if (mi->type == MONS_SLAVE
&& testbits(mi->flags, MF_BAND_MEMBER)
&& mi->props.exists("pikel_band"))
{
if (mi->observable() && !message_made)
{
- mpr("Pikel's slaves thank you for their freedom.");
+ mpr("With Pikel's spell broken, the former slaves thank you for their freedom.");
message_made = true;
}
-
+ mi->flags |= MF_NAME_DESCRIPTOR | MF_NAME_REPLACE;
mi->mname = "freed slave";
- // viewwindow();
mons_pacify(*mi);
}
}