fix: enable chess rogue

This commit is contained in:
StopWuyu
2025-01-15 18:20:49 +08:00
parent 2e4a0e0ebc
commit 5ce515ddf7
2 changed files with 11 additions and 11 deletions

View File

@@ -189,14 +189,14 @@ public class ChessRogueCellInstance
var info = new ChessRogueCell
{
CellStatus = CellStatus,
//PosY = (uint)PosY,
PosY = (uint)PosY,
Id = (uint)GetCellId(),
//BlockType = (uint)BlockType,
BlockType = (uint)BlockType,
IsUnlock = true,
RoomId = (uint)RoomId,
IsUnlocked = true
//PosX = (uint)GetRow(),
//MarkType = (uint)MarkType
IsUnlocked = true,
PosX = (uint)GetRow(),
MarkType = (uint)MarkType
};
if (CellAdvanceInfo.Count <= 0) return info;

View File

@@ -53,16 +53,16 @@ public class ChessRogueDiceInstance(ChessRogueInstance instance, ChessRogueNousD
var index = DiceData.Surfaces.ToList().FindIndex(x => x.Value == CurSurfaceId) + 1;
return new ChessRogueDiceInfo
{
//GameBranchId = (uint)DiceData.BranchId,
GameBranchId = (uint)DiceData.BranchId,
Dice = DiceData.ToProto(),
DiceStatus = DiceStatus,
//CurSurfaceId = (uint)CurSurfaceId,
//CheatTimes = (uint)CheatTimes,
//RerollTimes = (uint)RerollTimes,
//GameDiceBranchId = (uint)DiceData.BranchId,
CurSurfaceId = (uint)CurSurfaceId,
CheatTimes = (uint)CheatTimes,
RerollTimes = (uint)RerollTimes,
GameDiceBranchId = (uint)DiceData.BranchId,
DiceType = ChessRogueDiceType.ChessRogueDiceEditable,
IsAvailable = true,
//CurSurfaceSlotId = (uint)(index > 0 ? index : 0),
CurSurfaceSlotId = (uint)(index > 0 ? index : 0),
CanRerollDice = RerollTimes > 0,
DiceModifier = Modifier?.ToProto() ?? new RogueModifier(),
OLGAOIBGCHH = new EBOIOIKFLFJ()