Fixed Town Piggy debuff vulnerabilities not applying
This commit is contained in:
1 parent
7373196487
commit
e0dae2d6f8
1 file changed
+3
-3
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user