summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 10:14:04 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 10:14:04 +0000
commit7d9b773b07a0910442ceae8be62813cac27bbade (patch)
tree8b87022754d1bb6db17aa75a246a50f1ef8f708d /crawl-ref/source/makeitem.cc
parentcf90584352b01eaa431ce337e054f99625579763 (diff)
downloadcrawl-ref-7d9b773b07a0910442ceae8be62813cac27bbade.tar.gz
crawl-ref-7d9b773b07a0910442ceae8be62813cac27bbade.zip
Tweak racial types of a few monsters' weapons again, and remove
ITEM_NO_RACE from things that can't be racial anyway. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8784 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 8d38f422cf..f5ef63a942 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -3135,7 +3135,6 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
{
item.base_type = OBJ_WEAPONS;
item.sub_type = WPN_SLING;
- item_race = MAKE_ITEM_NO_RACE;
break;
}
// deliberate fall through {dlb}
@@ -3158,7 +3157,6 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
if (coinflip())
{
force_item = true;
- item_race = MAKE_ITEM_NO_RACE;
item.plus += 1 + random2(3);
item.plus2 += 1 + random2(3);
@@ -3394,7 +3392,6 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
case MONS_POLYPHEMUS:
case MONS_CYCLOPS:
case MONS_STONE_GIANT:
- item_race = MAKE_ITEM_NO_RACE;
item.base_type = OBJ_MISSILES;
item.sub_type = MI_LARGE_ROCK;
break;
@@ -3418,13 +3415,11 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
// intentional fall-through...
case MONS_SIGMUND:
- item_race = MAKE_ITEM_NO_RACE;
item.base_type = OBJ_WEAPONS;
item.sub_type = WPN_SCYTHE;
break;
case MONS_BALRUG:
- item_race = MAKE_ITEM_NO_RACE;
item.base_type = OBJ_WEAPONS;
item.sub_type = WPN_DEMON_WHIP;
break;
@@ -3444,7 +3439,6 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
case MONS_EROLCHA:
item_race = MAKE_ITEM_NO_RACE;
item.base_type = OBJ_WEAPONS;
-
item.sub_type = (one_chance_in(3) ? WPN_GIANT_SPIKED_CLUB
: WPN_GIANT_CLUB);
@@ -3598,6 +3592,7 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
}
case MONS_FIRE_GIANT:
force_item = true;
+ item_race = MAKE_ITEM_NO_RACE;
item.base_type = OBJ_WEAPONS;
item.sub_type = WPN_GREAT_SWORD;
item.plus = 0;
@@ -3613,6 +3608,7 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
case MONS_FROST_GIANT:
force_item = true;
+ item_race = MAKE_ITEM_NO_RACE;
item.base_type = OBJ_WEAPONS;
item.sub_type = WPN_BATTLEAXE;
item.plus = 0;