fix up some odd indentation in mcastu.c
This commit is contained in:
+5
-5
@@ -389,7 +389,7 @@ staticfn void
|
||||
mcast_death_touch(struct monst *mtmp)
|
||||
{
|
||||
pline("Oh no, %s's using the touch of death!", mhe(mtmp));
|
||||
if (nonliving(u.umonst->data) || is_demon(u.umonst->data)) {
|
||||
if (nonliving(u.umonst->data) || is_demon(u.umonst->data)) {
|
||||
You("seem no deader than before.");
|
||||
} else if (!Antimagic && rn2(mtmp->m_lev) > 12) {
|
||||
if (Hallucination) {
|
||||
@@ -553,9 +553,9 @@ mcast_fire_pillar(struct monst *mtmp, int dmg)
|
||||
if (Half_spell_damage)
|
||||
dmg = (dmg + 1) / 2;
|
||||
burn_away_slime();
|
||||
(void) burnarmor(u.umonst);
|
||||
(void) burnarmor(u.umonst);
|
||||
/* item destruction dmg */
|
||||
(void) destroy_items(u.umonst, AD_FIRE, orig_dmg);
|
||||
(void) destroy_items(u.umonst, AD_FIRE, orig_dmg);
|
||||
ignite_items(gi.invent);
|
||||
/* burn up flammable items on the floor, melt ice terrain */
|
||||
mon_spell_hits_spot(mtmp, AD_FIRE, u.ux, u.uy);
|
||||
@@ -586,7 +586,7 @@ mcast_lightning(struct monst *mtmp, int dmg)
|
||||
}
|
||||
if (Half_spell_damage)
|
||||
dmg = (dmg + 1) / 2;
|
||||
(void) destroy_items(u.umonst, AD_ELEC, orig_dmg);
|
||||
(void) destroy_items(u.umonst, AD_ELEC, orig_dmg);
|
||||
/* lightning might destroy iron bars if hero is on such a spot;
|
||||
reflection protects terrain here [execution won't get here due
|
||||
to 'if (reflects) break' above] but hero resistance doesn't;
|
||||
@@ -730,7 +730,7 @@ mcast_blind_you(void)
|
||||
{
|
||||
/* note: resists_blnd() doesn't apply here */
|
||||
if (!Blinded) {
|
||||
int num_eyes = eyecount(u.umonst->data);
|
||||
int num_eyes = eyecount(u.umonst->data);
|
||||
|
||||
pline("Scales cover your %s!", (num_eyes == 1)
|
||||
? body_part(EYE)
|
||||
|
||||
Reference in New Issue
Block a user