diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-07 09:55:41 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-07 10:00:48 +1000 |
commit | e47db99b5c0e09041d8747b8aad9ce04ae7313dd (patch) | |
tree | db6001dda4b356c8d29fee2a28e8b88d7480a6a3 /crawl-ref/source/makeitem.cc | |
parent | d7532db0cf293d48eb192279883df4c91f1a393b (diff) | |
download | crawl-ref-e47db99b5c0e09041d8747b8aad9ce04ae7313dd.tar.gz crawl-ref-e47db99b5c0e09041d8747b8aad9ce04ae7313dd.zip |
New unique: Aizul, disgraced guardian naga turned naga warrior.
Casts Venom Bolt, Blink Other, Ensorcelled Hibernation, Slow and heals
himself. Comes with a ruby-red naga barding, a shield, and a chance of a
very nice weapon. Can appear on Snake:4 and Snake:5, and also on similar
dungeon levels to Margery and co.
Backstory: the guardian of a horde of treasure who fell asleep on the
job. Thieves raided the place, and he was disgraced and kicked out.
Turned to the role of a warrior, seeking redemption through battle.
Currently, there's something weird with the debug build at 'xv' for
monster description not displaying the right information all the time.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 17b6e1a314..48b12b2c3f 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -3502,6 +3502,16 @@ static item_make_species_type _give_weapon(monsters *mon, int level, do_curse_item(item); break; + case MONS_AIZUL: + if (one_chance_in(3)) + level = MAKE_GOOD_ITEM; + + item_race = MAKE_ITEM_NO_RACE; + item.base_type = OBJ_WEAPONS; + item.sub_type = random_choose(WPN_HALBERD, WPN_SCIMITAR, WPN_GREAT_MACE, + WPN_LONG_SWORD, WPN_EVENINGSTAR, -1); + break; + case MONS_GNOLL: case MONS_OGRE_MAGE: case MONS_NAGA_WARRIOR: @@ -4387,6 +4397,7 @@ void give_shield(monsters *mon, int level) make_item_for_monster(mon, OBJ_ARMOUR, ARM_LARGE_SHIELD, level * 2 + 1, MAKE_ITEM_RANDOM_RACE, 1); break; + case MONS_AIZUL: case MONS_DONALD: make_item_for_monster(mon, OBJ_ARMOUR, ARM_SHIELD, level * 2 + 1, MAKE_ITEM_RANDOM_RACE, 1); @@ -4675,6 +4686,13 @@ void give_armour(monsters *mon, int level) force_colour = LIGHTCYAN; break; + case MONS_AIZUL: + item_race = MAKE_ITEM_NO_RACE; + item.base_type = OBJ_ARMOUR; + item.sub_type = ARM_NAGA_BARDING; + force_colour = RED; + break; + default: return; } |