Definition at line 55707 of file Main.cs.
55708 {
55710 {
55711 bool flag =
base.IsActive;
55713 {
55716 {
55719 if (
rand.Next(2) == 0)
55720 {
55721 num *= -1f;
55722 }
55723 center.X += num;
55726 {
55728 }
55729 if (flag)
55730 {
55732 }
55733 }
55734 }
55736 {
55739 {
55742 }
55745 }
55747 {
55751 }
55753 {
55755 {
55757 float num4 = 1600f;
55759 {
55762 }
55764 {
55767 }
55769 {
55772 }
55774 {
55777 }
55779 {
55782 }
55784 {
55787 }
55792 {
55794 }
55795 }
55797 {
55800 {
55802 }
55803 }
55804 }
55805 }
55807 float num7 = 0.0003f;
55811 {
55814 {
55816 }
55817 }
55819 {
55822 {
55824 }
55825 }
55827 {
55828 return;
55829 }
55831 {
55833 {
55834 return;
55835 }
55838 {
55841 {
55843 }
55844 if (
rand.Next(4) == 0)
55845 {
55847 }
55848 else if (
rand.Next(2) == 0)
55849 {
55851 }
55852 else
55853 {
55855 }
55858 {
55860 if (
rand.Next(30) < 13)
55861 {
55862 if (
rand.Next(2) == 0)
55863 {
55866 }
55867 else
55868 {
55870 }
55871 }
55872 else if (
rand.Next(20) < 13)
55873 {
55875 }
55876 else
55877 {
55879 }
55881 {
55883 }
55885 {
55887 }
55889 {
55891 }
55892 }
55893 else
55894 {
55896 }
55898 {
55900 }
55901 }
55903 {
55905 }
55907 {
55909 }
55910 }
55911 if (
rand.Next(60) == 0)
55912 {
55914 }
55916 {
55918 }
55920 {
55922 }
55924 {
55926 }
55928 {
55930 }
55932 {
55934 }
55936 {
55938 }
55940 {
55942 }
55944 {
55946 }
55948 {
55950 {
55953 {
55955 }
55957 {
55959 }
55960 }
55962 {
55963 NetMessage.SendData(7);
55964 }
55965 }
55968 {
55969 return;
55970 }
55971 if (
rand.Next(2) == 0)
55972 {
55973 if (
rand.Next(2) == 0)
55974 {
55976 }
55977 else
55978 {
55980 }
55981 }
55983 {
55985 }
55987 {
55989 }
55993 {
55994 NetMessage.SendData(7);
55995 }
55996 }
static double Abs(double value)
static void PlaySound(int type, Vector2 position, int style=1)
static readonly CreativePowerManager Instance
static float windSpeedCurrent
static float lightningDecay
static float windSpeedTarget
static float GraveyardVisualIntensity
static float cloudBGAlpha
static double worldSurface
static void ResetWindCounter(bool resetExtreme=false)
static int thunderDistance
static int weatherCounter
static int extremeWindCounter
static UnifiedRandom rand
static float lightningSpeed
static void NewLightning()
References System.Math.Abs(), Terraria.Main.atmo, Terraria.Main.cloudAlpha, Terraria.Main.cloudBGAlpha, Terraria.GameContent.Creative.CreativePowers.ASharedTogglePower.Enabled, Terraria.Main.extremeWindCounter, Terraria.Main.firstTileX, Terraria.Main.firstTileY, Terraria.Main.gameMenu, Terraria.Main.GraveyardVisualIntensity, Terraria.GameContent.Creative.CreativePowerManager.Instance, Terraria.Main.IsItStorming, Terraria.GameContent.Events.LanternNight.LanternsUp, Terraria.Main.lastTileX, Terraria.Main.lastTileY, Terraria.Main.lightning, Terraria.Main.lightningDecay, Terraria.Main.lightningSpeed, Terraria.Lighting.LightTiles(), Terraria.Main.maxRaining, Terraria.Main.myPlayer, Terraria.Main.netMode, Terraria.Main.NewLightning(), Terraria.Main.numClouds, Terraria.Main.numCloudsTemp, Terraria.Main.player, Terraria.Audio.SoundEngine.PlaySound(), Terraria.Main.rand, Terraria.Main.remixWorld, Terraria.Main.ResetWindCounter(), Terraria.Main.rockLayer, Terraria.NetMessage.SendData(), Terraria.Main.thunderDelay, Terraria.Main.thunderDistance, Terraria.Main.weatherCounter, Terraria.Main.windCounter, Terraria.Main.windSpeedCurrent, Terraria.Main.windSpeedTarget, and Terraria.Main.worldSurface.
Referenced by Terraria.Main.DoUpdate().