Prevent daily rewards from picking armors with soft inserts to duplciate reward count of

This commit is contained in:
Dev 2024-02-07 20:43:45 +00:00
parent 0759afb84f
commit 98b592f0c2

View File

@ -1104,6 +1104,7 @@ export class RepeatableQuestGenerator
{
return this.itemHelper.getStaticItemPrice(item._id) < maxRoublePriceToStack
&& !this.itemHelper.isOfBaseclasses(item._id, [BaseClasses.WEAPON, BaseClasses.AMMO])
&& !this.itemHelper.itemRequiresSoftInserts(item._id)
&& this.randomUtil.getChance100(25);
}