diff --git a/src/player.cc b/src/player.cc index 2b3f893..cc97c1e 100644 --- a/src/player.cc +++ b/src/player.cc @@ -145,9 +145,14 @@ long_result player_base::throw_potion(level *lvl, std::unique_ptr p, character *ch = lvl->get_elist()[flag ^ WHAT_ENEMY]; known_potions |= 1 << p->get_type(); ch->apply_effect(std::move(p)); + + if (ch->get_race() != BABY_DRAGON) + return {THROWN, "The potion of " + name + + "'s contents spilled on " + + ch->get_abbrev() + ". "}; + return {THROWN, "The potion of " + name + - "'s contents spilled on " + - ch->get_abbrev() + ". "}; + " didn't seem to affect B. "}; } }