diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-26 00:15:13 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-26 00:15:13 +0000 |
commit | 02f86de3ea70d559869c6b37446d7e6134fade3f (patch) | |
tree | 9ae4815f69ca91da73ac138af439abf60fc3a8e3 /crawl-ref/source/abl-show.cc | |
parent | 41a0cfe50af96cfc4c504c439e848870b69dbdf5 (diff) | |
download | crawl-ref-02f86de3ea70d559869c6b37446d7e6134fade3f.tar.gz crawl-ref-02f86de3ea70d559869c6b37446d7e6134fade3f.zip |
Remove divine lightning from Makhleb's "Greater Destruction" effects,
because (a) all of his other destructive powers are aimed at monsters,
not the player; (b) it's probably in for symmetry with Xom, but since
Lugonu was added to the Chaos God sub-pantheon and doesn't have it, it's
no longer as fitting; (c) among Makhleb's "Greater Destruction" effects,
the orb-of-electricity effect covers electric attacks nicely; and (d)
Xom's effects are generally not conjurations-oriented, except for divine
lightning, and making it unique to him is good.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7627 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 4d672ab57a..4dcc799daf 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1615,7 +1615,7 @@ static bool _do_ability(const ability_def& abil) if (!player_tracer(ZAP_DEBUGGING_RAY, power, beam, 20)) return (false); - switch (random2(8)) + switch (random2(7)) { case 0: zapping( ZAP_FIRE, power, beam ); break; case 1: zapping( ZAP_FIREBALL, power, beam ); break; @@ -1624,30 +1624,6 @@ static bool _do_ability(const ability_def& abil) case 4: zapping( ZAP_STICKY_FLAME, power, beam ); break; case 5: zapping( ZAP_IRON_BOLT, power, beam ); break; case 6: zapping( ZAP_ORB_OF_ELECTRICITY, power, beam ); break; - - case 7: - you.attribute[ATTR_DIVINE_LIGHTNING_PROTECTION] = 1; - simple_god_message(" hurls a blast of lightning!", GOD_MAKHLEB); - - // Make a divine lightning bolt, and fire! - beam.beam_source = NON_MONSTER; - beam.type = dchar_glyph(DCHAR_FIRED_BURST); - beam.damage = dice_def(3, 30); - beam.flavour = BEAM_ELECTRICITY; - beam.target = you.pos(); - beam.name = "blast of lightning"; - beam.colour = LIGHTCYAN; - beam.thrower = KILL_YOU; - beam.aux_source = "Makhleb's lightning strike"; - beam.ex_size = 1 + you.skills[SK_INVOCATIONS] / 8; - beam.is_tracer = false; - beam.is_explosion = true; - explosion(beam); - - // protection down - mpr("Your divine protection wanes."); - you.attribute[ATTR_DIVINE_LIGHTNING_PROTECTION] = 0; - break; } exercise(SK_INVOCATIONS, 3 + random2(5)); |