diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-03 22:52:08 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-03 23:54:25 +1000 |
commit | 196415dd325aa0fbe4c309f29d86a07a3988cb4a (patch) | |
tree | 7803b54e9c4b1358471630b50cd63f27e42b37f8 /crawl-ref/source/it_use2.cc | |
parent | a0c81e59f0325e542ecf2feaa21b29cd3ffc0bc1 (diff) | |
download | crawl-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.cc | 6 |
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) { |