summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-10 14:22:04 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-10 14:24:07 +1000
commit43e85458c7c6205645f844153f2569cb200ee206 (patch)
tree0f4796f985ce5166b02d6202b7a01c62b9db9d9f /crawl-ref/source/monster.cc
parent81177ef944594f12f3493189b70e6ea34debf4a3 (diff)
downloadcrawl-ref-43e85458c7c6205645f844153f2569cb200ee206.tar.gz
crawl-ref-43e85458c7c6205645f844153f2569cb200ee206.zip
Make Crazy Yiuf an actual unique, combining aspects of the Mad Roy FR.
Yiuf still only appears in his cottage (generated from D:2-7), still generates with a quarterstaff of chaos and a cloak, but is now randomly coloured at the start of the game, and has randomised speech. You leg down broken song!
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index 00e41f2bac..d566a40275 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -1509,8 +1509,11 @@ bool monsters::pickup_armour(item_def &item, int near, bool force)
eq = EQ_BODY_ARMOUR;
break;
case ARM_CLOAK:
- if (this->type == MONS_MAURICE || this->type == MONS_NIKOLA)
+ if (this->type == MONS_MAURICE || this->type == MONS_NIKOLA ||
+ this->type == MONS_CRAZY_YIUF)
+ {
eq = EQ_BODY_ARMOUR;
+ }
break;
case ARM_GLOVES:
if (this->type == MONS_NIKOLA)