diff options
-rw-r--r-- | crawl-ref/source/item_use.cc | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 173001a6ef..ffcb07b5fa 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2085,13 +2085,6 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, if (get_equip_race(item) == ISFLAG_ELVEN && player_genus(GENPC_ELVEN)) baseHit += 1; - if ( (get_equip_race(item) == ISFLAG_DWARVEN - && player_genus(GENPC_DWARVEN)) || - (get_equip_race(item) == ISFLAG_ORCISH - && you.species == SP_HILL_ORC)) - { - baseDam += 1; - } // give an appropriate 'tohit' - // hand axes and clubs are -5 @@ -2117,6 +2110,16 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, exHitBonus = you.skills[SK_THROWING] * 2; baseDam = property( item, PWPN_DAMAGE ); + + // dwarves/orcs with dwarven/orcish weapons + if ( (get_equip_race(item) == ISFLAG_DWARVEN + && player_genus(GENPC_DWARVEN)) || + (get_equip_race(item) == ISFLAG_ORCISH + && you.species == SP_HILL_ORC)) + { + baseDam += 1; + } + exDamBonus = (10 * (you.skills[SK_THROWING] / 2 + you.strength - 10)) / 12; |