Exemple #1
0
 public override void PostDrawTiles()
 {
     if (DimensionUtil.InSolar && solarMist && Main.netMode == 0)
     {
         ScreenFog.Draw(TUA.SolarFog, 0.3f, 0.1f);
     }
 }
Exemple #2
0
        public override void PostUpdate()
        {
            ScreenFog.Update(TUA.SolarFog);

            if (solarMistTimer <= 0)
            {
                solarMist      = !solarMist;
                solarMistTimer = Main.rand.Next(3600 * 24, 3600 * 96);
            }

            solarMistTimer--;
        }