Fix the rewards of Second Dream #1498

Merged
Sainan merged 5 commits from VampireKitten/SpaceNinjaServerOnlyGit:main into main 2025-04-06 16:05:48 -07:00
Showing only changes of commit 7a2c187d54 - Show all commits

View File

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