|
|
@ -287,6 +287,8 @@ namespace Models.Game
|
|
|
|
if (UsedMap.Boards[i].Value != null)
|
|
|
|
if (UsedMap.Boards[i].Value != null)
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
UsedMap.Boards[i].Value = result;
|
|
|
|
UsedMap.Boards[i].Value = result;
|
|
|
|
|
|
|
|
if ((UsedMap.Boards[i].IsDangerous && result > 6) || result > 12)
|
|
|
|
|
|
|
|
UsedMap.Boards[i].SetPenalty();
|
|
|
|
BoardUpdated?.Invoke(this, new BoardsUpdateEventArgs(UsedMap.Boards.ToList()));
|
|
|
|
BoardUpdated?.Invoke(this, new BoardsUpdateEventArgs(UsedMap.Boards.ToList()));
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|