summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-29 13:21:09 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-29 14:23:50 +0100
commit8657d1a1b6f40b7da7e970ca6e0082d04f0d1802 (patch)
tree5c2a3fc770f0e5fc0af538b0fe87e02bd6acc366 /crawl-ref/source/fight.cc
parent87427dc9d989fcf0b70261ebae95f8d835fb8ed8 (diff)
downloadcrawl-ref-8657d1a1b6f40b7da7e970ca6e0082d04f0d1802.tar.gz
crawl-ref-8657d1a1b6f40b7da7e970ca6e0082d04f0d1802.zip
Give tier 3 (= long blade) stabbing bonuses to all 1-handed polearms.
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index b2237a92cb..c88ca09f3b 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1652,7 +1652,10 @@ void melee_attack::player_weapon_auto_id()
int melee_attack::player_stab_weapon_bonus(int damage)
{
if (weapon && weapon->base_type == OBJ_WEAPONS
- && (weapon->sub_type == WPN_CLUB || weapon->sub_type == WPN_SPEAR))
+ && (weapon->sub_type == WPN_CLUB
+ || weapon->sub_type == WPN_SPEAR
+ || weapon->sub_type == WPN_TRIDENT
+ || weapon->sub_type == WPN_DEMON_TRIDENT))
{
goto ok_weaps;
}