This commit is contained in:
Ozzatron committed 2019-10-21 00:09:25 -04:00
commit 87085ee55c
1 file changed
+1
+1
View File
@@ -13,6 +13,7 @@ namespace CalamityMod.Items.Materials
public override void Update(ref float gravity, ref float maxFallSpeed)
{
maxFallSpeed = 0f;
float num = (float)Main.rand.Next(90, 111) * 0.01f;
num *= Main.essScale;
Lighting.AddLight((int)((item.position.X + (float)(item.width / 2)) / 16f), (int)((item.position.Y + (float)(item.height / 2)) / 16f), 0.5f * num, 0.3f * num, 0.05f * num);