From 3f01acf8ff81b657cf7cde05026f4de1aec04aa4 Mon Sep 17 00:00:00 2001 From: GinYuH <> Date: Wed, 15 Jun 2022 03:21:14 -0700 Subject: [PATCH] AEW body glowmask path fix --- NPCs/AdultEidolonWyrm/AdultEidolonWyrmBody.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBody.cs b/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBody.cs index f083f03729..68fe6a34ce 100644 --- a/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBody.cs +++ b/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBody.cs @@ -185,9 +185,9 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm Vector2 center = new Vector2(NPC.Center.X, NPC.Center.Y); Vector2 vector11 = new Vector2(TextureAssets.Npc[NPC.type].Value.Width / 2, TextureAssets.Npc[NPC.type].Value.Height / 2); Vector2 vector = center - screenPos; - vector -= new Vector2(ModContent.Request("CalamityMod/NPCs/AdultEidolonWyrm/EidolonWyrmBodyGlowHuge").Value.Width, ModContent.Request("CalamityMod/NPCs/AdultEidolonWyrm/EidolonWyrmBodyGlowHuge").Value.Height) * 0.5f; + vector -= new Vector2(ModContent.Request("CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBodyGlow").Value.Width, ModContent.Request("CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBodyGlow").Value.Height) * 0.5f; vector += vector11 * 1f + new Vector2(0f, 4f + NPC.gfxOffY); - Main.spriteBatch.Draw(ModContent.Request("CalamityMod/NPCs/AdultEidolonWyrm/EidolonWyrmBodyGlowHuge").Value, vector, + Main.spriteBatch.Draw(ModContent.Request("CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBodyGlow").Value, vector, new Microsoft.Xna.Framework.Rectangle?(NPC.frame), Color.White, NPC.rotation, vector11, 1f, spriteEffects, 0f); }