diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-01-31 17:24:52 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-01-31 19:34:34 +0000 |
commit | 66f6612f2aa6cc80b1647548dd4656cd4d35b0d2 (patch) | |
tree | ffa961c1841936c2a9d0e37389f84baf19ddf0c5 /crawl-ref/source/cloud.cc | |
parent | 6ec12ba372e3e8f6ddcaa638504a5389a2062ac1 (diff) | |
download | crawl-ref-66f6612f2aa6cc80b1647548dd4656cd4d35b0d2.tar.gz crawl-ref-66f6612f2aa6cc80b1647548dd4656cd4d35b0d2.zip |
Remove the unused Fumes mutation
Just creating clouds at random times was problematic, and a more
reasonable version of this now exists as a passive Dithmengos ability
instead (emit smoke when taking damage).
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r-- | crawl-ref/source/cloud.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc index 05a9591e41..158aa052a3 100644 --- a/crawl-ref/source/cloud.cc +++ b/crawl-ref/source/cloud.cc @@ -1566,15 +1566,3 @@ void run_cloud_spreaders(int dur) } } } - -void fume() -{ - static cloud_type clouds[] = - { CLOUD_PURPLE_SMOKE, CLOUD_BLUE_SMOKE, CLOUD_GREY_SMOKE }; - if (you.mutation[MUT_FUMES]) - { - int level = you.mutation[MUT_FUMES]; - if (x_chance_in_y(you.time_taken * level, 35)) - place_cloud(clouds[bestroll(3, 2)], you.pos(), 3 + random2(4), &you, 4); - } -} |