From 93aa36d69991e48bfb293cdcf9d254c9db6cece1 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 12 Jun 2021 04:51:06 -0500 Subject: [PATCH] The Codebreaker emits light --- Tiles/DraedonSummoner/CodebreakerTile.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Tiles/DraedonSummoner/CodebreakerTile.cs b/Tiles/DraedonSummoner/CodebreakerTile.cs index c3e3eaf5af..fd8110a6d7 100644 --- a/Tiles/DraedonSummoner/CodebreakerTile.cs +++ b/Tiles/DraedonSummoner/CodebreakerTile.cs @@ -63,7 +63,14 @@ namespace CalamityMod.Tiles.DraedonSummoner return true; } - public override bool CreateDust(int i, int j, ref int type) + public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) + { + r = 0.18f; + g = 0.8f; + b = 0.9f; + } + + public override bool CreateDust(int i, int j, ref int type) { Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, 182); return false;