From 082e5d6cf970a077687b2aff2ffee5eb69479086 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Tue, 12 Jan 2010 13:24:40 +0100 Subject: Remove electric missiles. The launcher brand is still there, currently on the storm bow and 1/5 of branded (ie, 1/3 of them) randart crossbows. --- crawl-ref/source/item_use.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 49ec152e8f..bcd3e0f29c 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2126,8 +2126,7 @@ bool setup_missile_beam(const actor *agent, bolt &beam, item_def &item, const bool reaping = (bow_brand == SPWPN_REAPING || ammo_brand == SPMSL_REAPING) && bow_brand != SPWPN_HOLY_WRATH; - const bool charged = bow_brand == SPWPN_ELECTROCUTION - || ammo_brand == SPMSL_ELECTRIC; + const bool charged = bow_brand == SPWPN_ELECTROCUTION; const bool blessed = bow_brand == SPWPN_HOLY_WRATH && ammo_brand != SPMSL_REAPING; @@ -2275,12 +2274,6 @@ bool setup_missile_beam(const actor *agent, bolt &beam, item_def &item, ammo_name = "silvery " + ammo_name; } - if (charged && ammo.special != SPMSL_ELECTRIC) - { - beam.name = "charged " + beam.name; - ammo_name = "charged " + ammo_name; - } - if (blessed) { beam.name = "blessed " + beam.name; -- cgit v1.2.3-54-g00ecf