From c114b6995bcc2ab8980cf2ca6762ffc26d555652 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Mon, 16 Nov 2009 21:21:17 +1000 Subject: 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. --- crawl-ref/source/mon-stuff.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/mon-stuff.cc') 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); } } -- cgit v1.2.3-54-g00ecf