mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
fix: enable chess rogue
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user