From 2b0b87df11c7df4c7aa4000c34952a1a9130d054 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 31 Dec 2008 04:10:52 +0000 Subject: Occasionally allow dwarven long swords, since dwarves are above average with long blades, and so that the sequence of racial long blades is more even (dwarves: falchions and long swords, elves: dwarves' weapons plus scimitars, orcs: elves' weapons plus great swords). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8051 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index d7d4311da8..1d3dcc353b 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -765,7 +765,8 @@ void set_equip_race( item_def &item, unsigned long flags ) case OBJ_WEAPONS: if (weapon_skill(item) == SK_POLEARMS || (weapon_skill(item) == SK_LONG_BLADES - && item.sub_type != WPN_FALCHION) + && item.sub_type != WPN_FALCHION + && item.sub_type != WPN_LONG_SWORD) || item.sub_type == WPN_QUICK_BLADE || item.sub_type == WPN_CLUB || item.sub_type == WPN_WHIP -- cgit v1.2.3-54-g00ecf