feat: add affix stigmata roll

This commit is contained in:
Naruse
2025-06-15 21:44:11 +08:00
parent 7b80075e98
commit 6a55234187
8 changed files with 191 additions and 40 deletions

View File

@@ -1,15 +1,17 @@
using KianaBH.GameServer.Game.Player;
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Test;
namespace KianaBH.GameServer.Server.Packet.Send.Item;
public class PacketRefineStigmataRuneRsp : BasePacket
{
public PacketRefineStigmataRuneRsp() : base(CmdIds.RefineStigmataRuneRsp)
public PacketRefineStigmataRuneRsp(PlayerInstance player,int uniqueId, StigmataRefineTimesType type) : base(CmdIds.RefineStigmataRuneRsp)
{
var proto = new RefineStigmataRuneRsp
{
RuneGroupList = { player.InventoryManager!.Data!.StigmataItems.Find(x => x.UniqueId == uniqueId)!.ToWaitSelectRuneGroup() },
TimesType = type
};
SetData(proto);