liking = count_bits_set(
hash((op->o_type << 4) ^ op->o_which) & tp->t_stats.s_ont) - 1;
- if (liking == 0 || tp->t_stats.s_int <= 3)
+ if (liking == 0
+ || liking > 0 && tp->t_stats.s_int <= MAYBE_INTERESTED)
{
const char *msgs[] = {
"The %s ignores %s",
embrace()
{
+ // Figure out if the player is near something w/ enough interest.
+ // Otherwise, hug something random, and make things worse.
+ if (amulet)
+ {
+ total_winner('K');
+ }
+ else
+ {
+ mostly_winner('K');
+ }
}