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
|
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)
|
if (column + counter < 0 && useBoard == 0)
|
||||||
{
|
{
|
||||||
output += Air;
|
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])
|
||||||
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;
|
||||||
case 0:
|
break;
|
||||||
output += Air;
|
case 1:
|
||||||
break;
|
output += Bomb;
|
||||||
case 1:
|
break;
|
||||||
output += Bomb;
|
case 2:
|
||||||
break;
|
output += Multi;
|
||||||
case 2:
|
break;
|
||||||
output += Multi;
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user