summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-25 14:02:38 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-25 14:03:09 +0100
commit9e4ff27375df190391c1a7bbfe8851dd1bf26293 (patch)
treee1a88f6b5bdba42de22f54dfa5b4bddf350fb719 /crawl-ref/source/describe.cc
parent9a1056ab7e0feb88bb8bcf84411441de3dc32ba6 (diff)
downloadcrawl-ref-9e4ff27375df190391c1a7bbfe8851dd1bf26293.tar.gz
crawl-ref-9e4ff27375df190391c1a7bbfe8851dd1bf26293.zip
Implement reaping as a melee brand.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 475ce9a72b..06d1ba722d 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -840,10 +840,15 @@ static std::string _describe_weapon(const item_def &item, bool verbose)
"its path until it reaches maximum range.";
break;
case SPWPN_REAPING:
- description += "If ammo fired by it kills a monster, "
- "causing it to leave a corpse, the corpse will be "
- "animated as a zombie friendly to the one who fired "
- "it.";
+ if (is_range_weapon(item))
+ description += "If ammo fired by it kills a monster, "
+ "causing it to leave a corpse, the corpse will be "
+ "animated as a zombie friendly to the one who fired "
+ "it.";
+ else
+ description += "All monsters killed with it which leave "
+ "corpses in good enough shape will be reanimated as "
+ "a zombie friendly to the killer.";
break;
}
}