summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fineff.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-09 17:39:19 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-09 19:37:44 +0000
commit2b0288b017874b531edc7170ef78c41c9fceec94 (patch)
tree2843344ad1094f8ee2b8289bfb07fcb89f902070 /crawl-ref/source/fineff.h
parent2294cc43dd8b4ea7e92c0ebc61ceb1f27b411394 (diff)
downloadcrawl-ref-2b0288b017874b531edc7170ef78c41c9fceec94.tar.gz
crawl-ref-2b0288b017874b531edc7170ef78c41c9fceec94.zip
Don't arc electricity when attacking with an elec weapon in water
The main thing it did was cause annoying prompts when you could hit yourself or an ally with the arc. It was rarely relevant other than that, and just made elec brand a bit more complicated unnecessarily.
Diffstat (limited to 'crawl-ref/source/fineff.h')
-rw-r--r--crawl-ref/source/fineff.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/fineff.h b/crawl-ref/source/fineff.h
index 1593109c8d..36c4be46e4 100644
--- a/crawl-ref/source/fineff.h
+++ b/crawl-ref/source/fineff.h
@@ -33,17 +33,6 @@ protected:
actor *defender() const { return actor_by_mid(def); }
};
-class lightning_fineff : public final_effect
-{
-public:
- lightning_fineff(const actor *attack, const coord_def &pos)
- : final_effect(attack, 0, pos)
- {
- }
- bool mergeable(const final_effect &a) const;
- void fire();
-};
-
class mirror_damage_fineff : public final_effect
{
public: