56679 {
56680
56681
56682
56683
56684
56685
56686
56687
56688
56689
56690
56691
56692
56693
56694
56695
56696
56697
56698 Point point =
base.TopLeft.ToTileCoordinates();
56699 Point
point2 =
base.BottomRight.ToTileCoordinates();
56704 int num = point.X / 2 + point2.X / 2;
56707 {
56709 for (
int j = point.X;
j <=
point2.X;
j++)
56710 {
56711 for (
int k = point.Y;
k <=
point2.Y;
k++)
56712 {
56714 {
56715 return;
56716 }
56717 if (Vector2.Distance(
base.Center,
new Vector2((
float)(
j * 16), (
float)(
k * 16))) > (float)
num2)
56718 {
56719 continue;
56720 }
56723 {
56724 continue;
56725 }
56728 {
56729 continue;
56730 }
56732 for (
int l = 0;
l <
num4;
l++)
56733 {
56735 obj.velocity.Y -= 3
f + (float)
num3 * 1.5
f;
56736 obj.velocity.Y *= Main.rand.NextFloat();
56737 obj.scale += (float)
num3 * 0.03
f;
56738 }
56740 {
56741 for (
int m = 0;
m <
num4 - 1;
m++)
56742 {
56744 obj2.velocity.Y -= 1
f + (float)
num3;
56745 obj2.velocity.Y *= Main.rand.NextFloat();
56746 }
56747 }
56748 if (
num4 > 0 && Main.rand.Next(3) != 0)
56749 {
56751 Gore gore = Gore.NewGoreDirect(
position, Vector2.Zero, 61 + Main.rand.Next(3), 1
f - (float)
num3 * 0.15
f +
num5 * 0.5
f);
56752 gore.velocity.Y -= 0.1f + (float)
num3 * 0.5
f +
num5 * (
float)
num3 * 1
f;
56753 gore.velocity.Y *= Main.rand.NextFloat();
56754 gore.position =
new Vector2((
float)(
j * 16 + 20), (
float)(
k * 16 + 20));
56755 }
56756 }
56757 }
56758 }
56759 }
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.