Draedon's glowmask works correctly

This commit is contained in:
Dominic committed 2021-09-17 04:23:03 -05:00
1 parent d98704c39a
commit dc0685c03d
2 files changed
+2 -2

No files matched your search

+2 -2
View File
@@ -387,7 +387,7 @@ namespace CalamityMod.NPCs.ExoMechs
spriteBatch.EnterShaderRegion();
Texture2D texture = Main.npcTexture[npc.type];
Texture2D glowmask = Main.npcTexture[npc.type];
Texture2D glowmask = ModContent.GetTexture("CalamityMod/NPCs/ExoMechs/DraedonGlowmask");
Rectangle frame = npc.frame;
Vector2 drawPosition = npc.Center - Main.screenPosition - Vector2.UnitY * 38f;
@@ -404,7 +404,7 @@ namespace CalamityMod.NPCs.ExoMechs
spriteBatch.ExitShaderRegion();
if (TalkTimer >= TeleportFadeinTime)
if (TalkTimer > TeleportFadeinTime)
spriteBatch.Draw(glowmask, drawPosition, frame, Color.White * npc.Opacity, npc.rotation, origin, npc.scale, direction, 0f);
return false;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 10 KiB