summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/beam.cc6
-rw-r--r--crawl-ref/source/mstuff2.cc2
2 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index d48cfc979f..11885cb32c 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3401,8 +3401,10 @@ static int affect_player( bolt &beam )
int roll = hurted;
#endif
- hurted -= random2( 1 + player_AC() );
-
+ int armour_damage_reduction = random2( 1 + player_AC() );
+ if (beam.flavour == BEAM_ELECTRICITY)
+ armour_damage_reduction /= 2;
+ hurted -= armour_damage_reduction;
// shrapnel
if (beam.flavour == BEAM_FRAG && !player_light_armour())
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index cfeac23965..67d8e2aa15 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -1691,7 +1691,7 @@ bolt mons_spells( int spell_cast, int power )
beam.name = "bolt of lightning";
beam.range = 7;
beam.rangeMax = 16;
- beam.damage = dice_def( 3, 10 + power / 9 );
+ beam.damage = dice_def( 3, 10 + power / 17 );
beam.colour = LIGHTCYAN;
beam.type = SYM_ZAP;
beam.thrower = KILL_MON;