summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-12 23:21:24 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-12 23:21:24 +0000
commit3f3afe7a266723d33b84c19b09b45854dee24ebd (patch)
tree7c5ea909454b96c2372b0d6e53d0c4b58f3b157a /crawl-ref/source
parent995e9fc728b24c9dd5a821c6e9c490b3d4682177 (diff)
downloadcrawl-ref-3f3afe7a266723d33b84c19b09b45854dee24ebd.tar.gz
crawl-ref-3f3afe7a266723d33b84c19b09b45854dee24ebd.zip
Implement part of FR 2829379 - half of this already slipped into my last
commit. Ah well... * Psyche gets a chaos (75% chance) or distortion (25%) branded weapon. * Terence gets some kind of mail (50% scale, rest 2/3 chain, else ring) and gets some kind of Gladiator weapon, other than in the FR not restricted to maces because I didn't see the point. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10531 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/makeitem.cc16
1 files changed, 14 insertions, 2 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 937912fbd9..e5ca9b445f 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -3301,13 +3301,12 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
item_race = MAKE_ITEM_ORCISH;
// deliberate fall through {gdl}
- case MONS_TERENCE:
case MONS_DRACONIAN:
case MONS_DRACONIAN_ZEALOT:
if (!one_chance_in(5))
{
item.base_type = OBJ_WEAPONS;
- item.sub_type = random_choose_weighted(
+ item.sub_type = random_choose_weighted(
30, WPN_DAGGER, 30, WPN_CLUB,
27, WPN_FLAIL, 24, WPN_HAND_AXE,
20, WPN_HAMMER, 20, WPN_SHORT_SWORD,
@@ -3321,6 +3320,19 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
return (item_race);
break;
+ case MONS_TERENCE:
+ item.base_type = OBJ_WEAPONS;
+ item.sub_type = random_choose_weighted( 30, WPN_FLAIL,
+ 20, WPN_HAND_AXE,
+ 20, WPN_SHORT_SWORD,
+ 20, WPN_MACE,
+ 10, WPN_TRIDENT,
+ 10, WPN_FALCHION,
+ 10, WPN_MORNINGSTAR,
+ 3, WPN_SPIKED_FLAIL,
+ 0);
+ break;
+
case MONS_DEEP_ELF_FIGHTER:
case MONS_DEEP_ELF_HIGH_PRIEST:
case MONS_DEEP_ELF_KNIGHT: