Some shopkeepers are always stingier

This prevents the "drop the item few times, just to see if
the sell price changes"
This commit is contained in:
Pasi Kallinen
2015-12-22 21:44:53 +02:00
parent 715fd7e3d9
commit cdde5b76c9

View File

@@ -2157,7 +2157,7 @@ register struct monst *shkp;
tmp = (obj->otyp % (6 - shkp->m_id % 3));
tmp = (tmp + 3) * obj->quan;
}
} else if (tmp > 1L && !rn2(4))
} else if (tmp > 1L && !(shkp->m_id % 4))
multiplier *= 3L, divisor *= 4L;
}