summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-20 17:27:27 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-20 17:27:27 +0000
commit04db3066f674f97ee65e20b01facc847b7630548 (patch)
treedad2e9524345b6ae3cec0f5d7487ad40c4a39a32 /crawl-ref/source
parentcbaaa32d55fd87eba6882c581db2ac32ef88c3f9 (diff)
downloadcrawl-ref-04db3066f674f97ee65e20b01facc847b7630548.tar.gz
crawl-ref-04db3066f674f97ee65e20b01facc847b7630548.zip
expand the special case for kobold fighters (leather armor, darts, etc.)
to include halfling and gnome fighters too, as they have similar aptitudes; plus, they're worse with Armour skill than kobolds, so getting the fighter default of scale mail is disadvantageous git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2886 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/newgame.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 2dfcd5c528..0a89a80f41 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -3238,7 +3238,8 @@ bool give_items_skills()
if (you.species == SP_VAMPIRE && coinflip())
you.inv[1].sub_type = ARM_LEATHER_ARMOUR;
}
- else if (you.species == SP_KOBOLD)
+ else if (you.species == SP_HALFLING || you.species == SP_KOBOLD ||
+ you.species == SP_GNOME)
{
newgame_make_item(1, EQ_BODY_ARMOUR, OBJ_ARMOUR,
ARM_LEATHER_ARMOUR);
@@ -3265,7 +3266,8 @@ bool give_items_skills()
if (you.species != SP_TROLL)
weap_skill = 2;
- if (you.species == SP_KOBOLD)
+ if (you.species == SP_HALFLING || you.species == SP_KOBOLD ||
+ you.species == SP_GNOME)
{
you.skills[SK_THROWING] = 1;
you.skills[SK_DARTS] = 1;