|
From: <gi...@cr...> - 2012-02-25 21:18:48
|
via 8af5db4e553cab59639916120ad6e74f8bb72f4c (commit)
from 69c28fe0c0878c8c03e07a4232b0384784193212 (commit)
-----------------------------------------------------------------------
commit 8af5db4e553cab59639916120ad6e74f8bb72f4c
Author: David Lawrence Ramsey <dol...@us...>
Date: Sat Feb 25 15:11:46 2012 -0600
Let whips randomly get the vampiric brand.
This makes them more symmetric with demon whips. The probability of
getting the brand is the same as for daggers.
-----------------------------------------------------------------------
Summary of changes:
crawl-ref/source/makeitem.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 53f176b..d37b697 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1269,6 +1269,9 @@ static brand_type _determine_weapon_brand(const item_def& item, int item_level)
if (_got_distortion_roll(item_level))
rc = SPWPN_DISTORTION;
+ if (one_chance_in(10))
+ rc = SPWPN_VAMPIRICISM;
+
if (one_chance_in(3))
rc = SPWPN_REACHING;
--
Dungeon Crawl Stone Soup
|