Compare commits

..

No commits in common. "f6bbeb4380f755c3cf64db8b7cb91b8bff16533e" and "85ce1bba997143e84d6bcc4f8558c685f30aaf24" have entirely different histories.

11 changed files with 20 additions and 20 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -53,7 +53,7 @@ bool AHYShopAOE::RandomizeTradableItemSets(int CurrentHonbaekAmount)
// Filtering match the case.(Item can be bought, ItemValue is less and equal than honbaek amount and over than 0)
TArray<FInventoryItem*> FilteredItemData = ItemData.FilterByPredicate([CurrentHonbaekAmount](const FInventoryItem* ItemDataRow)
{
return !ItemDataRow->OnlyDropped && ItemDataRow->ItemValue > 0 && ItemDataRow->ItemValue <= CurrentHonbaekAmount && ItemDataRow->CanBeBought;
return !ItemDataRow->OnlyDropped && ItemDataRow->ItemValue > 0 && ItemDataRow->ItemValue <= CurrentHonbaekAmount;
});
int maxLoopNum = FMath::Min(5, FilteredItemData.Num());