fix: don't give mastery xp for SpecialItems except for venari
All checks were successful
Build / build (pull_request) Successful in 59s

This commit is contained in:
Sainan 2025-07-13 06:33:09 +02:00
parent 66f3d65d77
commit d56a260fe6

View File

@ -1662,6 +1662,11 @@ export const applyClientEquipmentUpdates = (
item.XP ??= 0;
item.XP += XP;
if (
categoryName != "SpecialItems" ||
item.ItemType == "/Lotus/Powersuits/Khora/Kavat/KhoraKavatPowerSuit" ||
item.ItemType == "/Lotus/Powersuits/Khora/Kavat/KhoraPrimeKavatPowerSuit"
) {
let xpItemType = item.ItemType;
if (item.ModularParts) {
for (const part of item.ModularParts) {
@ -1686,6 +1691,7 @@ export const applyClientEquipmentUpdates = (
});
}
}
}
if (InfestationDate) {
// 2147483647000 means cured, otherwise became infected