diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-06 05:56:50 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-06 05:56:50 +0000 |
commit | bd1d91f4b91afaf8dd80c329c78b775f43382b87 (patch) | |
tree | 38c0cfd9f7268aa1eeb200e19996f63bf24f62b9 /crawl-ref/source/spells4.cc | |
parent | 7cd64c37c6b36806e99e92e59581447c9b91560a (diff) | |
download | crawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.tar.gz crawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.zip |
Kill hard tabs.
redraw_dexterity now implies redraw_evasion.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@987 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 0314200c80..17b6b4518a 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -900,7 +900,7 @@ static int tame_beast_monsters(int x, int y, int pow, int garbage) // 50% bonus for dogs, add cats if they get implemented if (monster->type == MONS_HOUND || monster->type == MONS_WAR_DOG - || monster->type == MONS_BLACK_BEAR) + || monster->type == MONS_BLACK_BEAR) { pow += (pow / 2); } @@ -1265,8 +1265,8 @@ static int discharge_monsters( int x, int y, int pow, int garbage ) mpr( "You are struck by lightning." ); damage = 3 + random2( 5 + pow / 10 ); damage = check_your_resists( damage, BEAM_ELECTRICITY ); - if ( player_is_levitating() ) - damage /= 2; + if ( player_is_levitating() ) + damage /= 2; ouch( damage, 0, KILLED_BY_WILD_MAGIC ); } else if (mon == NON_MONSTER) |