Compare commits

..

No commits in common. "33545acc0d03038f9cf834cacf736f8b26155cea" and "a27f1c5e017dcbcd1527138b5629b188d753f1c4" have entirely different histories.

View File

@ -351,7 +351,7 @@ export const addFixedLevelRewards = (
if (rewards.items) {
for (const item of rewards.items) {
MissionRewards.push({
StoreItem: item,
StoreItem: item.includes(`/StoreItems/`) ? item : `/Lotus/StoreItems${item.substring("Lotus/".length)}`,
ItemCount: 1
});
}
@ -359,7 +359,9 @@ export const addFixedLevelRewards = (
if (rewards.countedItems) {
for (const item of rewards.countedItems) {
MissionRewards.push({
StoreItem: `/Lotus/StoreItems${item.ItemType.substring("Lotus/".length)}`,
StoreItem: item.ItemType.includes(`/StoreItems/`)
? item.ItemType
: `/Lotus/StoreItems${item.ItemType.substring("Lotus/".length)}`,
ItemCount: item.ItemCount
});
}