mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Planes 1.04
This commit is contained in:
@@ -564,26 +564,30 @@ public class Planes : ICommand
|
||||
}
|
||||
else //this leaves rows 0-5 and columns 0-10, exactly what we need for the board
|
||||
{
|
||||
if (column + counter < 0 && useBoard == 1)
|
||||
{
|
||||
useBoard -= 1;
|
||||
}
|
||||
|
||||
if (column + counter < 0 && useBoard == 0)
|
||||
{
|
||||
output += Air;
|
||||
}
|
||||
else if (column + counter < 0 && useBoard == 1)
|
||||
else
|
||||
{
|
||||
useBoard -= 1;
|
||||
}
|
||||
logger.Info($"Attempting to get planeboard info while generating main frames. Board: {useBoard} | Row: {row} | Column: {column} | Counter: {counter}");
|
||||
switch (planesBoards[useBoard][row, (column+counter)%10])
|
||||
{
|
||||
case 0:
|
||||
output += Air;
|
||||
break;
|
||||
case 1:
|
||||
output += Bomb;
|
||||
break;
|
||||
case 2:
|
||||
output += Multi;
|
||||
break;
|
||||
logger.Info($"Attempting to get planeboard info while generating main frames. Board: {useBoard} | Row: {row} | Column: {column} | Counter: {counter}");
|
||||
switch (planesBoards[useBoard][row, (column+counter)%10])
|
||||
{
|
||||
case 0:
|
||||
output += Air;
|
||||
break;
|
||||
case 1:
|
||||
output += Bomb;
|
||||
break;
|
||||
case 2:
|
||||
output += Multi;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user