Skip to content

Commit

Permalink
Mark monster-cast enchantments as AUTOMATIC_HIT (duvessa, PowerOfKais…
Browse files Browse the repository at this point in the history
…hin)

Their to-hit was -1, meaning warlock's mirror almost always reflected
them (every time the to-block roll was positive).
  • Loading branch information
neilmoore committed Jan 28, 2016
1 parent d02dc51 commit 9b90ff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crawl-ref/source/mon-cast.cc
Expand Up @@ -1310,6 +1310,7 @@ bolt mons_spell_beam(monster* mons, spell_type spell_cast, int power,

if (beam.is_enchantment())
{
beam.hit = AUTOMATIC_HIT;
beam.glyph = 0;
beam.name = "";
}
Expand Down

0 comments on commit 9b90ff5

Please sign in to comment.