Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change additional cost in custom craft #2828

Merged
merged 4 commits into from
Sep 12, 2024

Conversation

U-lis
Copy link
Contributor

@U-lis U-lis commented Sep 12, 2024

  • Merge CostSheet into RelationshipSheet
  • Change relationship in relationshipSheet now means first value of new group

This resolves #2825

@U-lis U-lis added the enhancement New feature or request label Sep 12, 2024
@U-lis U-lis added this to the v230.0.0 milestone Sep 12, 2024
@U-lis U-lis self-assigned this Sep 12, 2024
@U-lis U-lis linked an issue Sep 12, 2024 that may be closed by this pull request
@@ -157,7 +148,7 @@ public override IWorld Execute(IActionContext context)

// Validate Recipe ResultEquipmentId
var relationshipRow = sheets.GetSheet<CustomEquipmentCraftRelationshipSheet>()
.OrderedList.First(row => row.Relationship >= relationship);
.OrderedList.Reverse().First(row => row.Relationship <= relationship);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

진짜 이거밖에 없을까요

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코드 변경에 대한 컨텍스트를 봐야하긴하는데, diff만 봐선 그냥 .Last쓰면 될것같네요

@U-lis U-lis merged commit 5bd1a16 into release/1.18.0 Sep 12, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

Custom craft 추가 비용은 구간을 넘어간 뒤에 지불
3 participants