106856 {
106858 {
106859 if ((
type == 239 ||
type == 240) && Main.rand.Next(900) == 0)
106860 {
106862 }
106863 else if ((
type == 62 ||
type == 156) && Main.rand.Next(700) == 0)
106864 {
106866 }
106867 else if (
type == 177 && Main.rand.Next(600) == 0)
106868 {
106870 }
106871 else if (
type == 226 && Main.rand.Next(800) == 0)
106872 {
106874 }
106875 else if (
type == 153 && Main.rand.Next(1000) == 0)
106876 {
106878 }
106879 else if (
wet && (
type == 63 ||
type == 64 ||
type == 103) && Main.rand.Next(1000) == 0)
106880 {
106882 }
106883 else if ((
type == 198 ||
type == 199) && Main.rand.Next(1000) == 0)
106884 {
106886 }
106887 else if ((
type == 170 ||
type == 180 ||
type == 171) && Main.rand.Next(600) == 0)
106888 {
106890 }
106891 else if (
type == 250 && Main.rand.Next(700) == 0)
106892 {
106894 }
106895 else if (
type == 580 && Main.rand.Next(800) == 0)
106896 {
106898 }
106899 else if (
type == 582 && Main.rand.Next(800) == 0)
106900 {
106902 }
106903 else if (
type == 581 && Main.rand.Next(800) == 0)
106904 {
106906 }
106907 else if (
type == 508 && Main.rand.Next(800) == 0)
106908 {
106910 }
106911 else if (
type == 509 && Main.rand.Next(800) == 0)
106912 {
106914 }
106915 else if (
type == 494 && Main.rand.Next(600) == 0)
106916 {
106918 }
106919 else if (
type == 467 && Main.rand.Next(700) == 0)
106920 {
106922 }
106923 else if (
type == 468 && Main.rand.Next(700) == 0)
106924 {
106926 }
106927 else if (
type == 288 && Main.rand.Next(400) == 0)
106928 {
106930 }
106931 else if ((
type == 524 ||
type == 525 ||
type == 526 ||
type == 527) && Main.rand.Next(700) == 0)
106932 {
106934 }
106935 else if ((
type == 496 ||
type == 497) && Main.rand.Next(600) == 0)
106936 {
106938 }
106939 else if (
type == 389 && Main.rand.Next(800) == 0)
106940 {
106942 }
106943 else if (
type == 471 && Main.rand.Next(600) == 0)
106944 {
106946 }
106947 else if (
type == 482 && Main.rand.Next(600) == 0)
106948 {
106950 }
106951 else if (
type == 388 && Main.rand.Next(700) == 0)
106952 {
106954 }
106955 else if (
type == 520 && Main.rand.Next(800) == 0)
106956 {
106958 }
106959 else if (
type == 477 && Main.rand.Next(600) == 0)
106960 {
106962 }
106963 else if (
type == 258 && Main.rand.Next(700) == 0)
106964 {
106966 }
106967 else if (
type == 252 && Main.rand.Next(700) == 0)
106968 {
106970 }
106971 else if (
type == 469 && Main.rand.Next(700) == 0)
106972 {
106974 }
106975 else if ((
type == 253 ||
type == 82) && Main.rand.Next(700) == 0)
106976 {
106978 }
106979 else if (
type >= 498 &&
type <= 506 && Main.rand.Next(600) == 0)
106980 {
106982 }
106983 else if (
type == 391 && Main.rand.Next(700) == 0)
106984 {
106986 }
106987 }
106988 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
bool wet
The Entity is currently in water. Projectile: Affects movement speed and some projectiles die when ...
Vector2 position
The position of this Entity in world coordinates.
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
float shimmerTransparency