From 196415dd325aa0fbe4c309f29d86a07a3988cb4a Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Sun, 3 Jan 2010 22:52:08 +1000 Subject: New (ranged) weapon brand: evasion. This replaces "protection" on all ranged weapons, and will only generate on those. This commit also fixes shopping values for the new needle brands. --- crawl-ref/source/player.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b4a2611d9e..d29a361040 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2134,6 +2134,10 @@ int player_evasion(ev_ignore_type evit) ev -= 2; ev += player_equip( EQ_RINGS_PLUS, RING_EVASION ); + + if (player_equip_ego_type( EQ_WEAPON, SPWPN_EVASION )) + ev += 5; + ev += scan_artefacts( ARTP_EVASION ); // ponderous ev mod -- cgit v1.2.3-54-g00ecf