From fcc750d580ea03af7121348e8a8aa8d693c9c2e7 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Thu, 7 Jan 2010 23:17:10 +0100 Subject: Don't reduce the EV of a halo's source (angels/daevas/player) (Mantis 323) This has about no effect on heavy armour users, and makes dodgy chars use TSO just for the starting blade or weapon blessing. Stealth is of course still nuked. --- crawl-ref/source/fight.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 4910fba3fb..5e61322646 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -3995,7 +3995,7 @@ int melee_attack::player_to_hit(bool random_factor) // Check for backlight (Corona). if (defender && defender->atype() == ACT_MONSTER) { - if (defender->backlit()) + if (defender->backlit() && !defender->halo_radius()) your_to_hit += 2 + random2(8); // Invisible monsters are hard to hit. else if (!defender->visible_to(&you)) @@ -5674,7 +5674,7 @@ int melee_attack::mons_to_hit() if (attacker->confused()) mhit -= 5; - if (defender->backlit()) + if (defender->backlit() && !defender->halo_radius()) mhit += 2 + random2(8); // Invisible defender is hard to hit if you can't see invis. Note -- cgit v1.2.3-54-g00ecf