Fixed Town Piggy debuff vulnerabilities not applying

This commit is contained in:
CongratsIsTrash committed 2026-06-15 15:17:53 -04:00
1 parent 7373196487
commit e0dae2d6f8
1 file changed
+3 -3
+3 -3
View File
@@ -35,9 +35,6 @@ namespace CalamityMod.NPCs.TownNPCs
NPCID.Sets.TownNPCBestiaryPriority.Add(Type);
NPCID.Sets.PlayerDistanceWhilePetting[Type] = 32;
NPCID.Sets.IsPetSmallForPetting[Type] = true;
NPC.Calamity().VulnerableToHeat = true;
NPC.Calamity().VulnerableToCold = true;
NPC.Calamity().VulnerableToSickness = true;
NPCID.Sets.NPCBestiaryDrawModifiers drawModifiers = new()
{
@@ -63,6 +60,9 @@ namespace CalamityMod.NPCs.TownNPCs
NPC.knockBackResist = 0.5f;
NPC.housingCategory = 1;
DrawOffsetY = -4;
NPC.Calamity().VulnerableToHeat = true;
NPC.Calamity().VulnerableToCold = true;
NPC.Calamity().VulnerableToSickness = true;
}
public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry)
{