forked from OpenWF/SpaceNinjaServer
		
	fix: ignore purchaseQuantity for login reward items (#2321)
cryotic amount should not be multiplied by 3000... Reviewed-on: OpenWF/SpaceNinjaServer#2321 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									31e24c27ad
								
							
						
					
					
						commit
						bbccee0637
					
				@ -144,7 +144,8 @@ export const claimLoginReward = async (
 | 
			
		||||
        case "RT_STORE_ITEM":
 | 
			
		||||
        case "RT_RECIPE":
 | 
			
		||||
        case "RT_RANDOM_RECIPE":
 | 
			
		||||
            return (await handleStoreItemAcquisition(reward.StoreItemType, inventory, reward.Amount)).InventoryChanges;
 | 
			
		||||
            return (await handleStoreItemAcquisition(reward.StoreItemType, inventory, reward.Amount, undefined, true))
 | 
			
		||||
                .InventoryChanges;
 | 
			
		||||
 | 
			
		||||
        case "RT_CREDITS":
 | 
			
		||||
            return updateCurrency(inventory, -reward.Amount, false);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user