Invert Currency check

This commit is contained in:
Dev 2024-02-21 18:37:24 +00:00
parent 9525953444
commit 25a4e64e9a

View File

@ -401,7 +401,7 @@ export class BotLootGenerator
if (weightedItemTpl === "5783c43d2459774bbe137486") if (weightedItemTpl === "5783c43d2459774bbe137486")
{ {
const addCurrency = this.randomUtil.getChance100(25); const addCurrency = this.randomUtil.getChance100(25);
if (!addCurrency) if (addCurrency)
{ {
itemWithChildrenToAdd.push(...this.createWalletLoot(newRootItemId)); itemWithChildrenToAdd.push(...this.createWalletLoot(newRootItemId));
} }