Prevent daily rewards from picking armors with soft inserts to duplciate reward count of
This commit is contained in:
parent
0759afb84f
commit
98b592f0c2
@ -1104,6 +1104,7 @@ export class RepeatableQuestGenerator
|
|||||||
{
|
{
|
||||||
return this.itemHelper.getStaticItemPrice(item._id) < maxRoublePriceToStack
|
return this.itemHelper.getStaticItemPrice(item._id) < maxRoublePriceToStack
|
||||||
&& !this.itemHelper.isOfBaseclasses(item._id, [BaseClasses.WEAPON, BaseClasses.AMMO])
|
&& !this.itemHelper.isOfBaseclasses(item._id, [BaseClasses.WEAPON, BaseClasses.AMMO])
|
||||||
|
&& !this.itemHelper.itemRequiresSoftInserts(item._id)
|
||||||
&& this.randomUtil.getChance100(25);
|
&& this.randomUtil.getChance100(25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user