diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-08 14:27:41 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-08 14:30:55 +1000 |
commit | 5f88766c2ade9a2061cc477ef7d2cef4fb4af547 (patch) | |
tree | 31d61fc4461a696b8b9eb0b03699dc02ef78fa03 /crawl-ref/source/beam.cc | |
parent | 4915a3d61f5c92669121713d4744fb60036dac2f (diff) | |
download | crawl-ref-5f88766c2ade9a2061cc477ef7d2cef4fb4af547.tar.gz crawl-ref-5f88766c2ade9a2061cc477ef7d2cef4fb4af547.zip |
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.
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index c5c342d9ed..66827f3b6c 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -5296,6 +5296,10 @@ mon_resist_type bolt::apply_enchantment_to_monster(monsters* mon) if (!mon->has_ench(ENCH_CHARM)) { + // XXX: Another hackish thing for Pikel's band neutrality. + if (mon->type == MONS_PIKEL) + pikel_band_neutralise(); + if (simple_monster_message(mon, " is charmed.")) obvious_effect = true; mon->add_ench(ENCH_CHARM); |