mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Planes 1.17
This commit is contained in:
@@ -442,7 +442,7 @@ public class Planes : ICommand
|
|||||||
fullCounter++;
|
fullCounter++;
|
||||||
}
|
}
|
||||||
plane.Gravity();
|
plane.Gravity();
|
||||||
if ((fullCounter-3) % 20 == 0 && !firstBoard)//removes old planesboard, adds new planeboard when necessary **********************************************************************NEEDS MORE UPDATES
|
if (counter == 0 && !firstBoard)//removes old planesboard, adds new planeboard when necessary **********************************************************************NEEDS MORE UPDATES
|
||||||
{
|
{
|
||||||
planesBoards.RemoveAt(0);
|
planesBoards.RemoveAt(0);
|
||||||
planesBoards.Add(CreatePlanesBoard(gambler));
|
planesBoards.Add(CreatePlanesBoard(gambler));
|
||||||
@@ -514,7 +514,7 @@ public class Planes : ICommand
|
|||||||
}
|
}
|
||||||
else if (row == 7) //water/carrier row
|
else if (row == 7) //water/carrier row
|
||||||
{
|
{
|
||||||
if (((fullCounter-3) + column) % carrierCount == 0) output += Carrier;
|
if ((counter + column) % carrierCount == 0) output += Carrier;
|
||||||
else output += Water;
|
else output += Water;
|
||||||
}
|
}
|
||||||
else //this leaves rows 0-5 and columns 0-24, exactly what we need for the board
|
else //this leaves rows 0-5 and columns 0-24, exactly what we need for the board
|
||||||
@@ -572,7 +572,7 @@ public class Planes : ICommand
|
|||||||
}
|
}
|
||||||
else if (row == 7) //water/carrier row
|
else if (row == 7) //water/carrier row
|
||||||
{
|
{
|
||||||
if (((fullCounter-3) + column) % carrierCount == 0) output += Carrier;
|
if ((counter + column) % carrierCount == 0) output += Carrier;
|
||||||
else output += Water;
|
else output += Water;
|
||||||
}
|
}
|
||||||
else if (row == plane.Height && column == 0)
|
else if (row == plane.Height && column == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user