diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-08 19:36:11 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-08 19:36:11 -0600 |
commit | f56ece6c5f981cc67d2f4f492cb5395e5f08c444 (patch) | |
tree | 92f5b7491c90902d7a78f6e830d66927221e9187 /crawl-ref/source/fineff.h | |
parent | 6dece555467dd88867af88096edc12507507293e (diff) | |
download | crawl-ref-f56ece6c5f981cc67d2f4f492cb5395e5f08c444.tar.gz crawl-ref-f56ece6c5f981cc67d2f4f492cb5395e5f08c444.zip |
Make rakshasa defense cloning a fineff and take energy (elliptic).
Prevents crashes related to tornado and monster positioning.
Diffstat (limited to 'crawl-ref/source/fineff.h')
-rw-r--r-- | crawl-ref/source/fineff.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/fineff.h b/crawl-ref/source/fineff.h index 48d1182ad6..1d5a9f3bc9 100644 --- a/crawl-ref/source/fineff.h +++ b/crawl-ref/source/fineff.h @@ -186,6 +186,19 @@ public: void fire(); }; + +class rakshasa_clone_fineff : public final_effect +{ +public: + rakshasa_clone_fineff(const actor *defend, const coord_def &pos) + : final_effect(0, defend, pos) + { + } + bool mergeable(const final_effect &a) const; + void fire(); +protected: + int damage; +}; void fire_final_effects(); #endif |