Skip to content

Commit

Permalink
Add option count
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Oct 25, 2024
1 parent f33874a commit 3d6d96a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib9c/Action/CustomEquipmentCraft/CustomEquipmentCraft.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ public override IWorld Execute(IActionContext context)
totalCp * option.Ratio / optionRow.TotalOptionRatio,
avatarState.level)
);
equipment.optionCountFromCombination++;
}

// Set skill
Expand All @@ -258,6 +259,7 @@ public override IWorld Execute(IActionContext context)
random
);
equipment.Skills.Add(skill);
equipment.optionCountFromCombination++;

// Add equipment
avatarState.inventory.AddItem(equipment);
Expand Down

0 comments on commit 3d6d96a

Please sign in to comment.