diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-22 10:42:23 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-22 10:42:23 +0000 |
commit | 0650cb7c5d9f3538143bfdd1c4a75c27dc86e17c (patch) | |
tree | 0e570e3927d0f4a9a6c015dba864da902aaecd2c /crawl-ref/source/makeitem.cc | |
parent | 040d4ec8b58e1e9f725d57fdffb5af422177c0c5 (diff) | |
download | crawl-ref-0650cb7c5d9f3538143bfdd1c4a75c27dc86e17c.tar.gz crawl-ref-0650cb7c5d9f3538143bfdd1c4a75c27dc86e17c.zip |
Add new unique Gastronok (slug wizard), via a patch by bookofjude and some
tweaks to make his speech and casting work correctly. Turns up around the same
time as Erolcha and Grum.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10774 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 491851efd7..047dec0917 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -3106,7 +3106,8 @@ static void _give_scroll(monsters *mon, int level) static void _give_wand(monsters *mon, int level) { - if (mons_is_unique(mon->type) && one_chance_in(5)) + if (mons_is_unique(mon->type) && mon->type != MONS_GASTRONOK + && one_chance_in(5)) { const int idx = items(0, OBJ_WANDS, OBJ_RANDOM, true, level, 0); @@ -4322,6 +4323,12 @@ void give_armour(monsters *mon, int level) return; break; + case MONS_GASTRONOK: + item_race = MAKE_ITEM_NO_RACE; + item.base_type = OBJ_ARMOUR; + item.sub_type = ARM_WIZARD_HAT; + break; + case MONS_DOWAN: item_race = MAKE_ITEM_ELVEN; case MONS_DONALD: |