diff options
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r-- | crawl-ref/source/mutation.cc | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index 77e5a28acb..d6f2838ed8 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -1180,7 +1180,7 @@ bool mutate(int which_mutation, bool failMsg) if ((!wearing_amulet(AMU_RESIST_MUTATION) && coinflip()) || one_chance_in(10)) { - mpr( "Your body decomposes!" ); + mpr( "Your body decomposes!", MSGCH_MUTATION ); if (coinflip()) lose_stat( STAT_RANDOM, 1 ); @@ -1194,7 +1194,7 @@ bool mutate(int which_mutation, bool failMsg) } if (failMsg) - mpr("You feel odd for a moment."); + mpr("You feel odd for a moment.", MSGCH_MUTATION); return (false); } @@ -1203,7 +1203,7 @@ bool mutate(int which_mutation, bool failMsg) && !force_mutation && !one_chance_in(10)) { if (failMsg) - mpr("You feel odd for a moment."); + mpr("You feel odd for a moment.", MSGCH_MUTATION); return (false); } @@ -1213,7 +1213,7 @@ bool mutate(int which_mutation, bool failMsg) && (you.mutation[MUT_MUTATION_RESISTANCE] == 3 || !one_chance_in(3))) { if (failMsg) - mpr("You feel odd for a moment."); + mpr("You feel odd for a moment.", MSGCH_MUTATION); return (false); } @@ -1321,9 +1321,6 @@ bool mutate(int which_mutation, bool failMsg) if (mutat == MUT_BIG_WINGS && !player_genus(GENPC_DRACONIAN)) return false; - //jmf: added some checks for new mutations - mpr("You mutate.", MSGCH_MUTATION); - // find where these things are actually changed // -- do not globally force redraw {dlb} you.redraw_hit_points = 1; @@ -1649,7 +1646,7 @@ bool delete_mutation(int which_mutation) if (you.mutation[MUT_MUTATION_RESISTANCE] > 1 && (you.mutation[MUT_MUTATION_RESISTANCE] == 3 || coinflip())) { - mpr("You feel rather odd for a moment."); + mpr("You feel rather odd for a moment.", MSGCH_MUTATION); return false; } @@ -1674,8 +1671,6 @@ bool delete_mutation(int which_mutation) if (you.demon_pow[mutat] >= you.mutation[mutat]) return false; - mpr("You mutate.", MSGCH_MUTATION); - switch (mutat) { case MUT_STRONG: |