diff options
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index daa3f14ab9..754f3f436e 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -268,11 +268,20 @@ bool potion_effect( potion_type pot_eff, int pow ) break; case POT_RESTORE_ABILITIES: - // give a message if restore_stat doesn't - if (!restore_stat(STAT_ALL, false)) + { + bool nothing_happens = true; + if (you.duration[DUR_BREATH_WEAPON]) + { + mpr("You have got your breath back.", MSGCH_RECOVERY); + you.duration[DUR_BREATH_WEAPON] = 0; + nothing_happens = false; + } + + // give a message if no message otherwise + if (!restore_stat(STAT_ALL, false) && nothing_happens) mpr( "You feel refreshed." ); break; - + } case POT_BERSERK_RAGE: if (you.species == SP_VAMPIRE) { |