summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-03 22:52:08 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-03 23:54:25 +1000
commit196415dd325aa0fbe4c309f29d86a07a3988cb4a (patch)
tree7803b54e9c4b1358471630b50cd63f27e42b37f8 /crawl-ref/source/it_use2.cc
parenta0c81e59f0325e542ecf2feaa21b29cd3ffc0bc1 (diff)
downloadcrawl-ref-196415dd325aa0fbe4c309f29d86a07a3988cb4a.tar.gz
crawl-ref-196415dd325aa0fbe4c309f29d86a07a3988cb4a.zip
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.
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index 1588e86e84..53cdb875dc 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -523,6 +523,12 @@ bool unwield_item(bool showMsgs)
you.redraw_armour_class = true;
break;
+ case SPWPN_EVASION:
+ if (showMsgs)
+ mpr("You feel like more of a target.");
+ you.redraw_evasion = true;
+ break;
+
case SPWPN_VAMPIRICISM:
if (showMsgs)
{