From 01c1c2bcd4c85451f0292aff3d8a6da1f45d3248 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Sun, 20 Oct 2024 23:38:42 +0700 Subject: [PATCH] archmage party hat position offset --- NPCs/TownNPCs/DILF.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NPCs/TownNPCs/DILF.cs b/NPCs/TownNPCs/DILF.cs index 57c2faef6d..2452b37cea 100644 --- a/NPCs/TownNPCs/DILF.cs +++ b/NPCs/TownNPCs/DILF.cs @@ -11,6 +11,8 @@ using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Projectiles.Typeless; using CalamityMod.World; +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.GameContent.Bestiary; using Terraria.GameContent.Events; @@ -125,6 +127,8 @@ namespace CalamityMod.NPCs.TownNPCs return dialogue; } + public override void PartyHatPosition(ref Vector2 position, ref SpriteEffects spriteEffects) => position.X -= 5f * NPC.direction; + public override void SetChatButtons(ref string button, ref string button2) { button = Language.GetTextValue("LegacyInterface.28");