Definition at line 22332 of file Player.cs.
22333 {
22335 {
22336 return;
22337 }
22338 bool flag = false;
22340 {
22341 flag = true;
22342 }
22343 if ((
float)Main.rand.Next(2, 12) <
velocity.
Y)
22344 {
22345 flag = true;
22346 }
22348 {
22353 {
22354 flag = false;
22355 }
22356 }
22357 if (!flag)
22358 {
22359 return;
22360 }
22362 flag = false;
22363 int num = (int)(
vector.X / 16f);
22367 rect.Inflate(1, 1);
22368 for (
int i = num;
i <=
num2;
i++)
22369 {
22370 for (
int j =
num3;
j <=
num3 + 1 && Main.tile[
i,
j] !=
null;
j++)
22371 {
22373 {
22374 flag = true;
22376 {
22377 velocity.Y = 1f;
22378 }
22379 NetMessage.SendData(13, -1, -1,
null,
whoAmI);
22380 }
22381 }
22382 }
22383 if (!flag)
22384 {
22385 return;
22386 }
22387 num = (int)((
vector.X - 16f - 8f) / 16f);
22389 for (
int k = num;
k <=
num2;
k++)
22390 {
22392 {
22394 {
22396 if (Main.netMode == 1)
22397 {
22398 NetMessage.SendData(17, -1, -1,
null, 20,
k,
l);
22399 }
22400 }
22401 }
22402 }
22403 }
static double Abs(double value)
static bool[] CrackedBricks
References System.Math.Abs(), Terraria.ID.TileID.Sets.CrackedBricks, Microsoft.Xna.Framework.Intersects, Terraria.WorldGen.KillTile(), Terraria.Main.netMode, Terraria.Main.rand, Terraria.NetMessage.SendData(), Terraria.WorldGen.SolidTile(), Terraria.WorldGen.SolidTileAllowBottomSlope(), Terraria.Main.tile, Microsoft.Xna.Framework.Vector2.UnitY, Microsoft.Xna.Framework.Point.X, and Microsoft.Xna.Framework.Point.Y.