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:
@@ -2157,7 +2157,7 @@ register struct monst *shkp;
|
|||||||
tmp = (obj->otyp % (6 - shkp->m_id % 3));
|
tmp = (obj->otyp % (6 - shkp->m_id % 3));
|
||||||
tmp = (tmp + 3) * obj->quan;
|
tmp = (tmp + 3) * obj->quan;
|
||||||
}
|
}
|
||||||
} else if (tmp > 1L && !rn2(4))
|
} else if (tmp > 1L && !(shkp->m_id % 4))
|
||||||
multiplier *= 3L, divisor *= 4L;
|
multiplier *= 3L, divisor *= 4L;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user