Hotfix for boots :)
This commit is contained in:
@@ -119,9 +119,16 @@ function handleMatchItems(timeline, participant: any, participantIndex : number,
|
||||
}
|
||||
if(event.type != "ITEM_PURCHASED") continue;
|
||||
|
||||
// Handle boots upgrades
|
||||
if(itemInfo.requiredBuffCurrencyName == "Feats_NoxianBootPurchaseBuff"
|
||||
|| itemInfo.requiredBuffCurrencyName == "Feats_SpecialQuestBootBuff") {
|
||||
itemInfo.categories.push("Boots");
|
||||
event.itemId = itemInfo.from[0]
|
||||
}
|
||||
|
||||
// Handle boots differently
|
||||
if(itemInfo.categories.includes("Boots")){
|
||||
if(itemInfo.to.length == 0 || event.itemId == 3006) {
|
||||
if(itemInfo.to.length == 0 || (itemInfo.to[0] >= 3171 && itemInfo.to[0] <= 3176)) {
|
||||
// Check for bootsFirst
|
||||
if(items.length < 2) {
|
||||
builds.bootsFirst += 1
|
||||
|
||||
Reference in New Issue
Block a user