summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-30 19:29:40 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-30 19:29:40 -0500
commit387e5d2db125d6306f6eed6901ce3b504ce44072 (patch)
treed5b162a9ef25cecf0df80111e44e70fcc9a0e1e1 /crawl-ref
parent6b175b03479389da1eb69e1a94af61ae62e583e5 (diff)
downloadcrawl-ref-387e5d2db125d6306f6eed6901ce3b504ce44072.tar.gz
crawl-ref-387e5d2db125d6306f6eed6901ce3b504ce44072.zip
Give gnolls a chance of getting a whip, as they can get it elsewhere,
and it fits the example of Grum.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/makeitem.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index c5ca03f7d5..2b1524081c 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -3307,8 +3307,8 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
{
item.base_type = OBJ_WEAPONS;
item.sub_type = random_choose(WPN_SPEAR, WPN_SPEAR, WPN_TRIDENT,
- WPN_HALBERD, WPN_CLUB, WPN_FLAIL,
- -1);
+ WPN_HALBERD, WPN_CLUB, WPN_WHIP,
+ WPN_FLAIL, -1);
}
break;
@@ -3316,7 +3316,7 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
force_item = true; // guaranteed reaching
item_race = MAKE_ITEM_NO_RACE;
item.base_type = OBJ_WEAPONS;
- item.sub_type = random_choose(WPN_SPEAR, WPN_WHIP, WPN_WHIP,
+ item.sub_type = random_choose(WPN_WHIP, WPN_WHIP, WPN_SPEAR,
WPN_HALBERD, WPN_GLAIVE, -1);
set_item_ego_type(item, OBJ_WEAPONS, SPWPN_REACHING);
item.plus += -2 + random2(4);