Fix bug in ``ChallengeInstance``

Really a amazing bug. i thought author copy the second method from the first one then forgot to change
This commit is contained in:
letheriver2007
2024-11-07 00:22:51 +08:00
committed by GitHub
parent 6893abc7a4
commit 5b5c2bdf17

View File

@@ -201,7 +201,7 @@ public class ChallengeInstance
{
var avatar = Player.AvatarManager?.GetAvatar(lineupAvatar.BaseAvatarId);
if (avatar == null) continue;
proto.BossInfo.FirstLineup.Add((uint)avatar.GetAvatarId());
proto.BossInfo.SecondLineup.Add((uint)avatar.GetAvatarId());
var equip = Player.InventoryManager?.GetItem(0, avatar.GetCurPathInfo().EquipId,
ItemMainTypeEnum.Equipment);
if (equip != null)
@@ -444,4 +444,4 @@ public class ChallengeInstance
}
#endregion
}
}