36863 {
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36901 for (int i = 0; i < 100; i++)
36902 {
36904 Main.dust[
num].position.X += Main.rand.Next(-20, 21);
36905 Main.dust[
num].position.Y += Main.rand.Next(-20, 21);
36906 Dust
obj = Main.dust[
num];
36907 obj.velocity *= 0.4f;
36908 Main.dust[
num].scale *= 1
f + (float)Main.rand.Next(40) * 0.01f;
36910 if (Main.rand.Next(2) == 0)
36911 {
36912 Main.dust[
num].scale *= 1
f + (float)Main.rand.Next(40) * 0.01f;
36913 Main.dust[
num].noGravity =
true;
36914 }
36915 }
36917 Main.gore[
num2].scale = 1.5f;
36918 Main.gore[
num2].velocity.X = (float)Main.rand.Next(-50, 51) * 0.01f;
36919 Main.gore[
num2].velocity.Y = (float)Main.rand.Next(-50, 51) * 0.01f;
36921 obj2.velocity *= 0.4f;
36923 Main.gore[
num2].scale = 1.5f;
36924 Main.gore[
num2].velocity.X = 1.5f + (float)Main.rand.Next(-50, 51) * 0.01f;
36925 Main.gore[
num2].velocity.Y = 1.5f + (float)Main.rand.Next(-50, 51) * 0.01f;
36927 obj3.velocity *= 0.4f;
36929 Main.gore[
num2].scale = 1.5f;
36930 Main.gore[
num2].velocity.X = -1.5f - (float)Main.rand.Next(-50, 51) * 0.01f;
36931 Main.gore[
num2].velocity.Y = 1.5f + (float)Main.rand.Next(-50, 51) * 0.01f;
36933 obj4.velocity *= 0.4f;
36935 Main.gore[
num2].scale = 1.5f;
36936 Main.gore[
num2].velocity.X = 1.5f + (float)Main.rand.Next(-50, 51) * 0.01f;
36937 Main.gore[
num2].velocity.Y = -1.5f - (float)Main.rand.Next(-50, 51) * 0.01f;
36939 obj5.velocity *= 0.4f;
36941 Main.gore[
num2].scale = 1.5f;
36942 Main.gore[
num2].velocity.X = -1.5f - (float)Main.rand.Next(-50, 51) * 0.01f;
36943 Main.gore[
num2].velocity.Y = -1.5f - (float)Main.rand.Next(-50, 51) * 0.01f;
36945 obj6.velocity *= 0.4f;
36946 if (
whoAmI == Main.myPlayer)
36947 {
36948 NetMessage.SendData(62, -1, -1,
null,
whoAmI, 1
f);
36949 }
36950 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
int height
The height of this Entity's hitbox, in pixels.
static ArmorShaderDataSet Armor
void SetImmuneTimeForAllTypes(int time)