summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-29 09:18:14 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-29 09:18:14 -0500
commitace15c8b3e0eacd744f51f665fa51e13aa7cbd1c (patch)
tree012e56a6cdae5266dea7778d451c797e2e349d29 /crawl-ref/source/makeitem.cc
parent1673c5396d8901fa062f75ac048bebc186505fb2 (diff)
downloadcrawl-ref-ace15c8b3e0eacd744f51f665fa51e13aa7cbd1c.tar.gz
crawl-ref-ace15c8b3e0eacd744f51f665fa51e13aa7cbd1c.zip
Apply bookofjude's patch in [2869430] to adjust Duvessa's and Dowan's
stats.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index a5e22e7df3..10dc28ff7c 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -3341,6 +3341,13 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
break;
case MONS_DUVESSA:
+ item_race = MAKE_ITEM_ELVEN;
+ item.base_type = OBJ_WEAPONS;
+ item.sub_type = random_choose_weighted(30, WPN_SHORT_SWORD,
+ 10, WPN_SABRE,
+ 0);
+ break;
+
case MONS_DEEP_ELF_FIGHTER:
case MONS_DEEP_ELF_HIGH_PRIEST:
case MONS_DEEP_ELF_KNIGHT:
@@ -4098,7 +4105,6 @@ void give_shield(monsters *mon, int level)
level * 2 + 1, MAKE_ITEM_NO_RACE, 1);
break;
- case MONS_DUVESSA:
case MONS_DEEP_ELF_SOLDIER:
case MONS_DEEP_ELF_FIGHTER:
if (one_chance_in(6))