summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/itemprop.cc3
-rw-r--r--crawl-ref/source/makeitem.cc2
2 files changed, 4 insertions, 1 deletions
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
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index bd4ee4a76d..1e49049735 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1013,6 +1013,8 @@ static item_status_flag_type _determine_weapon_race(const item_def& item,
break;
case WPN_LONG_SWORD:
+ if (one_chance_in(6))
+ rc = ISFLAG_DWARVEN;
if (one_chance_in(4))
rc = ISFLAG_ORCISH;
if (coinflip())