summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/art-func.h
diff options
context:
space:
mode:
authorwheals <shm.mark@gmail.com>2014-02-03 03:19:41 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-03 20:58:26 +0000
commitd2e94d32f2f91f51fec7ad475064648fcdd5639d (patch)
treec270bb3cdc62be1f46ab03cb5c05dcb47dcecadd /crawl-ref/source/art-func.h
parentf745ed05d17bff1e14494cdf2219c725966edb13 (diff)
downloadcrawl-ref-d2e94d32f2f91f51fec7ad475064648fcdd5639d.tar.gz
crawl-ref-d2e94d32f2f91f51fec7ad475064648fcdd5639d.zip
Make some unrands more interesting, bring back two
* Make Zhor have rC+++ (as it is it has some trouble competing with a robe of resistance) * Make Leech drain hp on all hits, rather than 3/5ths like other vampiric weapons * Bring back Sniper: it's a +15 vorpal crossbow with slower fire (ranged dark maul) * Bring back Snakebite: it's a +5 venom dwhip that curares the defender on 1 out of 5 hits * Make the Singing Sword a bastard sword (this is fairly big buff, but it still has no brand) * Remove Bullseye, give Gong 21 more SH and 5 less EV (remaining a normal-sized shield)
Diffstat (limited to 'crawl-ref/source/art-func.h')
-rw-r--r--crawl-ref/source/art-func.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h
index e51887b946..8b2a02e196 100644
--- a/crawl-ref/source/art-func.h
+++ b/crawl-ref/source/art-func.h
@@ -817,6 +817,15 @@ static void _PLUTONIUM_SWORD_melee_effects(item_def* weapon, actor* attacker,
///////////////////////////////////////////////////
+static void _SNAKEBITE_melee_effects(item_def* weapon, actor* attacker,
+ actor* defender, bool mondied, int dam)
+{
+ if (!mondied && one_chance_in(5))
+ curare_actor(defender, attacker, "curare", attacker->name(DESC_PLAIN));
+}
+
+///////////////////////////////////////////////////
+
static void _WOE_melee_effects(item_def* weapon, actor* attacker,
actor* defender, bool mondied, int dam)
{