diff options
author | Neil Moore <neil@s-z.org> | 2014-07-20 19:09:11 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-20 19:11:29 -0400 |
commit | 9ca6b5b83bedfd541e74ef2bb1cbbfc475d54b08 (patch) | |
tree | dc97e96a29d71354877ae37df626741398fd8f99 /crawl-ref/source/beam.cc | |
parent | b50ab8a91528afb0a53417a7d97f9a2d7c37c20a (diff) | |
download | crawl-ref-9ca6b5b83bedfd541e74ef2bb1cbbfc475d54b08.tar.gz crawl-ref-9ca6b5b83bedfd541e74ef2bb1cbbfc475d54b08.zip |
Remove some vestiges of Ice Storm.
zap_type isn't marshalled anywhere, so doesn't need save compat.
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index c1f662c6ce..990cac45ce 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -459,14 +459,6 @@ void zappy(zap_type z_type, int power, bolt &pbolt) if (zinfo->damage) pbolt.damage = (*zinfo->damage)(power); -#if TAG_MAJOR_VERSION == 34 - if (z_type == ZAP_ICE_STORM) - { - pbolt.ench_power = power; // used for radius - pbolt.ex_size = power > 76 ? 3 : 2; // for tracer, overwritten later - } - else -#endif if (z_type == ZAP_EXPLOSIVE_BOLT) pbolt.ench_power = power; else if (z_type == ZAP_BREATHE_FROST) @@ -2640,8 +2632,7 @@ void bolt::affect_endpoint() // FIXME: why don't these just have is_explosion set? // They don't explode in tracers: why not? - if (name == "orb of electricity" - || name == "great blast of cold") + if (name == "orb of electricity") { target = pos(); refine_for_explosion(); @@ -2896,9 +2887,6 @@ void bolt::affect_place_clouds() place_cloud(CLOUD_COLD, p, damage.num * damage.size / 30 + 1, agent()); } - if (name == "great blast of cold") - place_cloud(CLOUD_COLD, p, random2(5) + 3, agent()); - if (name == "ball of steam") place_cloud(CLOUD_STEAM, p, random2(5) + 2, agent()); @@ -5916,17 +5904,6 @@ void bolt::refine_for_explosion() // Everything else is handled elsewhere... } - if (name == "great blast of cold") - { - seeMsg = "The blast explodes into a great storm of ice!"; - hearMsg = "You hear a raging storm!"; - - name = "ice storm"; - glyph = dchar_glyph(DCHAR_FIRED_ZAP); - colour = WHITE; - ex_size = is_tracer ? 3 : (2 + (random2(ench_power) > 75)); - } - if (name == "stinking cloud") { seeMsg = "The beam explodes into a vile cloud!"; |