From 5f88766c2ade9a2061cc477ef7d2cef4fb4af547 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Sun, 8 Nov 2009 14:27:41 +1000 Subject: New unique: Pikel, the big kobold slaver. Appears from D:4 through D:9, and comes with a band of human slaves. They will turn neutral (and be pacified, granting 1/2 EXP) if you destroy Pikel before destroying them. Pikel generates with a whip (either flaming or pain), and a black robe. The "pikel_band_neutralise()" function is quite hacky and assumes that all MONS_HUMANS with MF_BAND_MEMBER are part of Pikel's band. This should be changed as soon as there is a better way of tracking who is in what band. --- crawl-ref/source/makeitem.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crawl-ref/source/makeitem.cc') diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 37fd3086e6..cd1a53c301 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -3518,6 +3518,15 @@ static item_make_species_type _give_weapon(monsters *mon, int level, } break; + case MONS_PIKEL: + force_item = true; // guaranteed flaming or pain + item.base_type = OBJ_WEAPONS; + item.sub_type = WPN_WHIP; + set_item_ego_type(item, OBJ_WEAPONS, coinflip() ? SPWPN_PAIN : SPWPN_FLAMING); + item.plus += -2 + random2(4); + item.plus2 += -1 + random2(2); + break; + case MONS_GRUM: force_item = true; // guaranteed reaching item_race = MAKE_ITEM_NO_RACE; @@ -4652,6 +4661,7 @@ void give_armour(monsters *mon, int level) case MONS_FRANCIS: case MONS_NECROMANCER: case MONS_VAMPIRE_MAGE: + case MONS_PIKEL: item.base_type = OBJ_ARMOUR; item.sub_type = ARM_ROBE; force_colour = DARKGREY; -- cgit v1.2.3-54-g00ecf