23275 {
23277 {
23278 if (Main.rand.Next(45) == 0)
23279 {
23280 int type = Main.rand.Next(139, 143);
23282 Main.dust[num].velocity.X *= 1f + (float)Main.rand.Next(-50, 51) * 0.01f;
23283 Main.dust[num].velocity.Y *= 1f + (float)Main.rand.Next(-50, 51) * 0.01f;
23284 Main.dust[num].velocity.X += (float)Main.rand.Next(-50, 51) * 0.01f;
23285 Main.dust[num].velocity.Y += (float)Main.rand.Next(-50, 51) * 0.01f;
23286 Main.dust[num].velocity.Y -= 1f;
23287 Main.dust[num].scale *= 0.7f + (float)Main.rand.Next(-30, 31) * 0.01f;
23288 Main.dust[num].velocity +=
velocity * 0.2f;
23289 }
23290 if (Main.rand.Next(225) == 0)
23291 {
23292 int type2 = Main.rand.Next(276, 283);
23294 Main.gore[
num2].velocity.X *= 1f + (float)Main.rand.Next(-50, 51) * 0.01f;
23295 Main.gore[
num2].velocity.Y *= 1f + (float)Main.rand.Next(-50, 51) * 0.01f;
23296 Main.gore[
num2].scale *= 1f + (float)Main.rand.Next(-20, 21) * 0.01f;
23297 Main.gore[
num2].velocity.X += (float)Main.rand.Next(-50, 51) * 0.01f;
23298 Main.gore[
num2].velocity.Y += (float)Main.rand.Next(-50, 51) * 0.01f;
23299 Main.gore[
num2].velocity.Y -= 1f;
23301 }
23302 }
23303 }
static int TeamDyeShaderIndex