Skip to content

Commit

Permalink
CPHelper now needs collectionStatModifier parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Feb 20, 2024
1 parent 2ee5cee commit d5126ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NineChronicles.Headless/ArenaParticipantsWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
using Nekoyume.Battle;
using Nekoyume.Model.Arena;
using Nekoyume.Model.EnumType;
using Nekoyume.Model.Stat;
using Nekoyume.Model.State;
using Nekoyume.Module;
using Nekoyume.TableData;
Expand Down Expand Up @@ -246,7 +247,7 @@ List runeSlotList
avatar.inventory.Costumes.FirstOrDefault(x => x.ItemId == guid))
.Where(item => item != null).ToList();
var runeOptions = StateQuery.GetRuneOptions(equippedRuneStates, runeOptionSheet);
var cp = CPHelper.TotalCP(equipments, costumes, runeOptions, avatar.level, row, costumeSheet);
var cp = CPHelper.TotalCP(equipments, costumes, runeOptions, avatar.level, row, costumeSheet, new List<StatModifier>());
var portraitId = StateQuery.GetPortraitId(equipments, costumes);
return new ArenaParticipant(
avatarAddr,
Expand Down

0 comments on commit d5126ea

Please sign in to comment.