From 164d4f26dd25772c57bcd5ecc4bd8e9cd8dbcafb Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 11 Oct 2007 20:16:40 +0000 Subject: Dwarves and orcs now get +1 to-dam when throwing racial gear. (Yup, this includes armour.) [1804894] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2444 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index a1c1b5f7ba..6ae8789bb0 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2013,8 +2013,15 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, { // elves with elven weapons if (get_equip_race(item) == ISFLAG_ELVEN - && player_genus(GENPC_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 -- cgit v1.2.3-54-g00ecf