feat: darvo deal #2261
@ -39,6 +39,7 @@
|
|||||||
"noArgonCrystalDecay": false,
|
"noArgonCrystalDecay": false,
|
||||||
"noMasteryRankUpCooldown": false,
|
"noMasteryRankUpCooldown": false,
|
||||||
"noVendorPurchaseLimits": false,
|
"noVendorPurchaseLimits": false,
|
||||||
|
"noDarvoDealPurchaseLimit": false,
|
||||||
"noDeathMarks": false,
|
"noDeathMarks": false,
|
||||||
"noKimCooldowns": false,
|
"noKimCooldowns": false,
|
||||||
"fullyStockedVendors": false,
|
"fullyStockedVendors": false,
|
||||||
|
@ -46,6 +46,7 @@ export interface IConfig {
|
|||||||
noArgonCrystalDecay?: boolean;
|
noArgonCrystalDecay?: boolean;
|
||||||
noMasteryRankUpCooldown?: boolean;
|
noMasteryRankUpCooldown?: boolean;
|
||||||
noVendorPurchaseLimits?: boolean;
|
noVendorPurchaseLimits?: boolean;
|
||||||
|
noDarvoDealPurchaseLimit?: boolean;
|
||||||
noDeathMarks?: boolean;
|
noDeathMarks?: boolean;
|
||||||
noKimCooldowns?: boolean;
|
noKimCooldowns?: boolean;
|
||||||
fullyStockedVendors?: boolean;
|
fullyStockedVendors?: boolean;
|
||||||
|
@ -349,8 +349,10 @@ export const handleDailyDealPurchase = async (
|
|||||||
updateCurrency(inventory, dailyDeal.SalePrice, true, purchaseResponse.InventoryChanges);
|
updateCurrency(inventory, dailyDeal.SalePrice, true, purchaseResponse.InventoryChanges);
|
||||||
}
|
}
|
||||||
|
|
||||||
inventory.UsedDailyDeals.push(purchaseParams.StoreItem);
|
if (!config.noDarvoDealPurchaseLimit) {
|
||||||
purchaseResponse.DailyDealUsed = purchaseParams.StoreItem;
|
inventory.UsedDailyDeals.push(purchaseParams.StoreItem);
|
||||||
|
purchaseResponse.DailyDealUsed = purchaseParams.StoreItem;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export const handleBundleAcqusition = async (
|
export const handleBundleAcqusition = async (
|
||||||
|
@ -692,6 +692,10 @@
|
|||||||
<input class="form-check-input" type="checkbox" id="noVendorPurchaseLimits" />
|
<input class="form-check-input" type="checkbox" id="noVendorPurchaseLimits" />
|
||||||
<label class="form-check-label" for="noVendorPurchaseLimits" data-loc="cheats_noVendorPurchaseLimits"></label>
|
<label class="form-check-label" for="noVendorPurchaseLimits" data-loc="cheats_noVendorPurchaseLimits"></label>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input" type="checkbox" id="noDarvoDealPurchaseLimit" />
|
||||||
|
<label class="form-check-label" for="noDarvoDealPurchaseLimit" data-loc="cheats_noDarvoDealPurchaseLimit"></label>
|
||||||
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="noDeathMarks" />
|
<input class="form-check-input" type="checkbox" id="noDeathMarks" />
|
||||||
<label class="form-check-label" for="noDeathMarks" data-loc="cheats_noDeathMarks"></label>
|
<label class="form-check-label" for="noDeathMarks" data-loc="cheats_noDeathMarks"></label>
|
||||||
|
@ -156,6 +156,7 @@ dict = {
|
|||||||
cheats_noArgonCrystalDecay: `Argon-Kristalle verschwinden niemals`,
|
cheats_noArgonCrystalDecay: `Argon-Kristalle verschwinden niemals`,
|
||||||
cheats_noMasteryRankUpCooldown: `Keine Wartezeit beim Meisterschaftsrangaufstieg`,
|
cheats_noMasteryRankUpCooldown: `Keine Wartezeit beim Meisterschaftsrangaufstieg`,
|
||||||
cheats_noVendorPurchaseLimits: `Keine Kaufbeschränkungen bei Händlern`,
|
cheats_noVendorPurchaseLimits: `Keine Kaufbeschränkungen bei Händlern`,
|
||||||
|
cheats_noDarvoDealPurchaseLimit: `[UNTRANSLATED] No Darvo Deal Purchase Limit`,
|
||||||
cheats_noDeathMarks: `Keine Todesmarkierungen`,
|
cheats_noDeathMarks: `Keine Todesmarkierungen`,
|
||||||
cheats_noKimCooldowns: `Keine Wartezeit bei KIM`,
|
cheats_noKimCooldowns: `Keine Wartezeit bei KIM`,
|
||||||
cheats_fullyStockedVendors: `[UNTRANSLATED] Fully Stocked Vendors`,
|
cheats_fullyStockedVendors: `[UNTRANSLATED] Fully Stocked Vendors`,
|
||||||
|
@ -155,6 +155,7 @@ dict = {
|
|||||||
cheats_noArgonCrystalDecay: `No Argon Crystal Decay`,
|
cheats_noArgonCrystalDecay: `No Argon Crystal Decay`,
|
||||||
cheats_noMasteryRankUpCooldown: `No Mastery Rank Up Cooldown`,
|
cheats_noMasteryRankUpCooldown: `No Mastery Rank Up Cooldown`,
|
||||||
cheats_noVendorPurchaseLimits: `No Vendor Purchase Limits`,
|
cheats_noVendorPurchaseLimits: `No Vendor Purchase Limits`,
|
||||||
|
cheats_noDarvoDealPurchaseLimit: `No Darvo Deal Purchase Limit`,
|
||||||
cheats_noDeathMarks: `No Death Marks`,
|
cheats_noDeathMarks: `No Death Marks`,
|
||||||
cheats_noKimCooldowns: `No KIM Cooldowns`,
|
cheats_noKimCooldowns: `No KIM Cooldowns`,
|
||||||
cheats_fullyStockedVendors: `Fully Stocked Vendors`,
|
cheats_fullyStockedVendors: `Fully Stocked Vendors`,
|
||||||
|
@ -156,6 +156,7 @@ dict = {
|
|||||||
cheats_noArgonCrystalDecay: `Sin descomposición de cristal de Argón`,
|
cheats_noArgonCrystalDecay: `Sin descomposición de cristal de Argón`,
|
||||||
cheats_noMasteryRankUpCooldown: `Sin tiempo de espera para rango de maestría`,
|
cheats_noMasteryRankUpCooldown: `Sin tiempo de espera para rango de maestría`,
|
||||||
cheats_noVendorPurchaseLimits: `Sin límite de compras de vendedores`,
|
cheats_noVendorPurchaseLimits: `Sin límite de compras de vendedores`,
|
||||||
|
cheats_noDarvoDealPurchaseLimit: `[UNTRANSLATED] No Darvo Deal Purchase Limit`,
|
||||||
cheats_noDeathMarks: `Sin marcas de muerte`,
|
cheats_noDeathMarks: `Sin marcas de muerte`,
|
||||||
cheats_noKimCooldowns: `Sin tiempo de espera para conversaciones KIM`,
|
cheats_noKimCooldowns: `Sin tiempo de espera para conversaciones KIM`,
|
||||||
cheats_fullyStockedVendors: `Vendedores con stock completo`,
|
cheats_fullyStockedVendors: `Vendedores con stock completo`,
|
||||||
|
@ -156,6 +156,7 @@ dict = {
|
|||||||
cheats_noArgonCrystalDecay: `Aucune désintégration des Cristaux d'Argon`,
|
cheats_noArgonCrystalDecay: `Aucune désintégration des Cristaux d'Argon`,
|
||||||
cheats_noMasteryRankUpCooldown: `Aucune attente pour la montée de rang de maîtrise`,
|
cheats_noMasteryRankUpCooldown: `Aucune attente pour la montée de rang de maîtrise`,
|
||||||
cheats_noVendorPurchaseLimits: `Aucune limite d'achat chez les PNJ`,
|
cheats_noVendorPurchaseLimits: `Aucune limite d'achat chez les PNJ`,
|
||||||
|
cheats_noDarvoDealPurchaseLimit: `[UNTRANSLATED] No Darvo Deal Purchase Limit`,
|
||||||
cheats_noDeathMarks: `Aucune marque d'assassin`,
|
cheats_noDeathMarks: `Aucune marque d'assassin`,
|
||||||
cheats_noKimCooldowns: `Aucun cooldown sur le KIM`,
|
cheats_noKimCooldowns: `Aucun cooldown sur le KIM`,
|
||||||
cheats_fullyStockedVendors: `Les vendeurs ont un stock à 100%`,
|
cheats_fullyStockedVendors: `Les vendeurs ont un stock à 100%`,
|
||||||
|
@ -156,6 +156,7 @@ dict = {
|
|||||||
cheats_noArgonCrystalDecay: `Без распада аргоновых кристаллов`,
|
cheats_noArgonCrystalDecay: `Без распада аргоновых кристаллов`,
|
||||||
cheats_noMasteryRankUpCooldown: `Повышение ранга мастерства без кулдауна`,
|
cheats_noMasteryRankUpCooldown: `Повышение ранга мастерства без кулдауна`,
|
||||||
cheats_noVendorPurchaseLimits: `Отсутствие лимитов на покупки у вендоров`,
|
cheats_noVendorPurchaseLimits: `Отсутствие лимитов на покупки у вендоров`,
|
||||||
|
cheats_noDarvoDealPurchaseLimit: `[UNTRANSLATED] No Darvo Deal Purchase Limit`,
|
||||||
cheats_noDeathMarks: `Без меток сметри`,
|
cheats_noDeathMarks: `Без меток сметри`,
|
||||||
cheats_noKimCooldowns: `Чаты KIM без кулдауна`,
|
cheats_noKimCooldowns: `Чаты KIM без кулдауна`,
|
||||||
cheats_fullyStockedVendors: `[UNTRANSLATED] Fully Stocked Vendors`,
|
cheats_fullyStockedVendors: `[UNTRANSLATED] Fully Stocked Vendors`,
|
||||||
|
@ -156,6 +156,7 @@ dict = {
|
|||||||
cheats_noArgonCrystalDecay: `氩结晶无衰变`,
|
cheats_noArgonCrystalDecay: `氩结晶无衰变`,
|
||||||
cheats_noMasteryRankUpCooldown: `段位考核无冷却时间`,
|
cheats_noMasteryRankUpCooldown: `段位考核无冷却时间`,
|
||||||
cheats_noVendorPurchaseLimits: `商城或商人无购买限制`,
|
cheats_noVendorPurchaseLimits: `商城或商人无购买限制`,
|
||||||
|
cheats_noDarvoDealPurchaseLimit: `[UNTRANSLATED] No Darvo Deal Purchase Limit`,
|
||||||
cheats_noDeathMarks: `无死亡标记(不会被 Stalker/Grustrag 三霸/Zanuka 猎人等标记)`,
|
cheats_noDeathMarks: `无死亡标记(不会被 Stalker/Grustrag 三霸/Zanuka 猎人等标记)`,
|
||||||
cheats_noKimCooldowns: `即时通无冷却时间`,
|
cheats_noKimCooldowns: `即时通无冷却时间`,
|
||||||
cheats_fullyStockedVendors: `商人贩卖所有商品`,
|
cheats_fullyStockedVendors: `商人贩卖所有商品`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user