Sunken Sea enemy value cleanup

+ value formatted to be more readable
This commit is contained in:
Altixal committed 2025-07-29 17:21:50 +07:00
1 parent 8a0d90ed57
commit c69f275718
165 files changed
+148 -189

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 7200;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 30, 0);
NPC.value = Item.buyPrice(silver: 30);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.9f;
+1 -1
View File
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.knockBackResist = 0f;
AIType = -1;
NPC.noGravity = true;
NPC.value = Item.buyPrice(0, 0, 50, 0);
NPC.value = Item.buyPrice(silver: 50);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
Banner = NPC.type;
+1 -1
View File
@@ -34,7 +34,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.alpha = 20;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.HitSound = SoundID.NPCHit25;
NPC.DeathSound = SoundID.NPCDeath28;
Banner = NPC.type;
+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 400;
NPC.knockBackResist = 0f;
NPC.alpha = 100;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.HitSound = SoundID.NPCHit25;
NPC.DeathSound = SoundID.NPCDeath28;
Banner = NPC.type;
+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 30, 0);
NPC.value = Item.buyPrice(silver: 30);
NPC.HitSound = SoundID.NPCHit23;
NPC.DeathSound = SoundID.NPCDeath28;
Banner = NPC.type;
+1 -1
View File
@@ -43,7 +43,7 @@ namespace CalamityMod.NPCs.Abyss
AIType = -1;
NPC.knockBackResist = 0f;
NPC.timeLeft = NPC.activeTime * 30;
NPC.value = Item.buyPrice(0, 25, 0, 0);
NPC.value = Item.buyPrice(gold: 25);
NPC.HitSound = SoundID.NPCHit20;
NPC.DeathSound = SoundID.NPCDeath23;
NPC.rarity = 2;
+1 -1
View File
@@ -40,7 +40,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = -1;
AIType = -1;
NPC.alpha = 150;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath28;
NPC.knockBackResist = 0.3f;
+1 -1
View File
@@ -54,7 +54,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 800;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit4;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.85f;
+1 -1
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 800;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit4;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.85f;
+1 -1
View File
@@ -63,7 +63,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 25, 0, 0);
NPC.value = Item.buyPrice(gold: 25);
NPC.behindTiles = true;
NPC.noGravity = true;
NPC.noTileCollide = true;
+1 -1
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 1000;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 10, 0);
NPC.value = Item.buyPrice(silver: 10);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
Banner = NPC.type;
+1 -1
View File
@@ -56,7 +56,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 1, 0, 0);
NPC.value = Item.buyPrice(gold: 1);
NPC.behindTiles = true;
NPC.noGravity = true;
NPC.noTileCollide = true;
+1 -1
View File
@@ -38,7 +38,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 600;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 10, 0);
NPC.value = Item.buyPrice(silver: 10);
NPC.HitSound = SoundID.NPCHit51;
NPC.DeathSound = SoundID.NPCDeath26;
NPC.knockBackResist = 0.65f;
+1 -1
View File
@@ -48,7 +48,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 800;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 10, 0);
NPC.value = Item.buyPrice(silver: 10);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.85f;
+1 -1
View File
@@ -51,7 +51,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 25, 0);
NPC.value = Item.buyPrice(silver: 25);
NPC.HitSound = SoundID.NPCHit25;
NPC.DeathSound = SoundID.NPCDeath28;
Banner = NPC.type;
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 360;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.75f;
+1 -1
View File
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 10, 0);
NPC.value = Item.buyPrice(silver: 10);
NPC.behindTiles = true;
NPC.noGravity = true;
NPC.noTileCollide = true;
+1 -1
View File
@@ -55,7 +55,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = -1;
AIType = -1;
NPC.timeLeft = NPC.activeTime * 30;
NPC.value = Item.buyPrice(0, 25, 0, 0);
NPC.value = Item.buyPrice(gold: 25);
NPC.HitSound = SoundID.NPCHit56;
NPC.DeathSound = SoundID.NPCDeath60;
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -60,7 +60,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.aiStyle = AIType = -1;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.lavaImmune = true;
NPC.noGravity = false;
NPC.noTileCollide = false;
+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 300;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.15f;
+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.lifeMax = 400;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.85f;
+1 -1
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.lifeMax = 180;
}
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.aiStyle = -1;
AIType = -1;
NPC.lavaImmune = false;
+1 -1
View File
@@ -76,7 +76,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.damage = 66;
NPC.lifeMax = 4000;
NPC.defense = 25;
NPC.value = Item.buyPrice(0, 2, 0, 0);
NPC.value = Item.buyPrice(gold: 2);
if (DownedBossSystem.downedPolterghast)
{
+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.AcidRain
}
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.lavaImmune = true;
NPC.noGravity = false;
NPC.noTileCollide = false;
+1 -1
View File
@@ -49,7 +49,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.knockBackResist = 0f;
AnimationType = NPCID.CorruptSlime;
NPC.value = Item.buyPrice(0, 0, 10, 0);
NPC.value = Item.buyPrice(silver: 10);
NPC.alpha = 50;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -38,7 +38,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.knockBackResist = 0.5f;
AnimationType = NPCID.CorruptSlime;
AIType = NPCID.ToxicSludge;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.alpha = 50;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -81,7 +81,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.lifeMax = 90000;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 20, 0, 0);
NPC.value = Item.buyPrice(gold: 20);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath60;
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -113,7 +113,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.defense = 50;
NPC.damage = 135;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 20, 0, 0);
NPC.value = Item.buyPrice(gold: 20);
NPC.lavaImmune = false;
NPC.noGravity = false;
NPC.noTileCollide = false;
+1 -1
View File
@@ -77,7 +77,7 @@ namespace CalamityMod.NPCs.AcidRain
}
NPC.knockBackResist = 0.7f;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.lavaImmune = false;
NPC.noGravity = true;
NPC.noTileCollide = false;
+1 -1
View File
@@ -56,7 +56,7 @@ namespace CalamityMod.NPCs.AcidRain
}
NPC.knockBackResist = 0.6f;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.lavaImmune = false;
NPC.noGravity = true;
NPC.noTileCollide = false;
+1 -1
View File
@@ -43,7 +43,7 @@ namespace CalamityMod.NPCs.AcidRain
}
NPC.knockBackResist = 0.8f;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.lavaImmune = false;
NPC.noGravity = false;
NPC.noTileCollide = false;
+1 -1
View File
@@ -52,7 +52,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.lifeMax = 220;
}
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.lavaImmune = false;
NPC.noGravity = true;
NPC.noTileCollide = true;
+1 -1
View File
@@ -58,7 +58,7 @@ namespace CalamityMod.NPCs.AcidRain
}
NPC.knockBackResist = 0.8f;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.lavaImmune = false;
NPC.noGravity = true;
NPC.noTileCollide = false;
+1 -1
View File
@@ -48,7 +48,7 @@ namespace CalamityMod.NPCs.AcidRain
}
NPC.knockBackResist = 0.2f;
NPC.value = Item.buyPrice(0, 0, 4, 0);
NPC.value = Item.buyPrice(silver: 4);
NPC.lavaImmune = false;
NPC.noGravity = true;
NPC.noTileCollide = false;
+1 -1
View File
@@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.Astral
NPC.defense = 22;
NPC.lifeMax = 300;
NPC.knockBackResist = 0.6f;
NPC.value = Item.buyPrice(0, 0, 3, 0);
NPC.value = Item.buyPrice(silver: 3);
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
Banner = NPC.type;
BannerItem = ModContent.ItemType<AriesBanner>();
+1 -1
View File
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Astral
NPC.lifeMax = 600;
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 8, 0);
NPC.value = Item.buyPrice(silver: 8);
Banner = NPC.type;
BannerItem = ModContent.ItemType<AstraglomerateBanner>();
if (DownedBossSystem.downedAstrumAureus)
+1 -1
View File
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Astral
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0.95f;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.noGravity = true;
NPC.noTileCollide = true;
NPC.DeathSound = SoundID.NPCDeath14;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.Astral
NPC.defense = 18;
NPC.lifeMax = 240;
NPC.knockBackResist = 0.6f;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.alpha = 60;
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Astral
NPC.lifeMax = 500;
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.knockBackResist = 0.38f;
NPC.value = Item.buyPrice(0, 0, 8, 0);
NPC.value = Item.buyPrice(silver: 8);
NPC.timeLeft = NPC.activeTime * 2;
AnimationType = NPCID.WallCreeper;
Banner = ModContent.NPCType<AstralachneaWall>();
+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.Astral
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.knockBackResist = 0f;
NPC.noGravity = true;
NPC.value = Item.buyPrice(0, 0, 8, 0);
NPC.value = Item.buyPrice(silver: 8);
NPC.timeLeft = NPC.activeTime * 2;
AnimationType = NPCID.BlackRecluseWall;
Banner = NPC.type;
+1 -1
View File
@@ -127,7 +127,7 @@ namespace CalamityMod.NPCs.Astral
NPC.defense = 40;
NPC.lifeMax = 1200;
NPC.knockBackResist = 0.08f;
NPC.value = Item.buyPrice(0, 0, 50, 0);
NPC.value = Item.buyPrice(silver: 50);
NPC.aiStyle = -1;
NPC.DeathSound = DeathSound;
NPC.rarity = 1;
+1 -1
View File
@@ -59,7 +59,7 @@ namespace CalamityMod.NPCs.Astral
NPC.aiStyle = -1;
NPC.lifeMax = 500;
NPC.defense = 28;
NPC.value = Item.buyPrice(0, 0, 8, 0);
NPC.value = Item.buyPrice(silver: 8);
NPC.knockBackResist = 0.8f;
NPC.behindTiles = true;
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Astral
NPC.lifeMax = 360;
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.knockBackResist = 0.75f;
NPC.value = Item.buyPrice(0, 0, 8, 0);
NPC.value = Item.buyPrice(silver: 8);
Banner = NPC.type;
BannerItem = ModContent.ItemType<HadarianBanner>();
if (DownedBossSystem.downedAstrumAureus)
+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Astral
NPC.defense = 22;
NPC.lifeMax = 400;
NPC.knockBackResist = 0.2f;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
Banner = NPC.type;
BannerItem = ModContent.ItemType<MantisBanner>();
+1 -1
View File
@@ -57,7 +57,7 @@ namespace CalamityMod.NPCs.Astral
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.noGravity = true;
NPC.knockBackResist = 0.5f;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.aiStyle = -1;
Banner = NPC.type;
BannerItem = ModContent.ItemType<NovaBanner>();
+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.Astral
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.noGravity = true;
NPC.knockBackResist = 0.58f;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.aiStyle = -1;
Banner = NPC.type;
BannerItem = ModContent.ItemType<SightseerColliderBanner>();
+1 -1
View File
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.Astral
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.noGravity = true;
NPC.knockBackResist = 0.8f;
NPC.value = Item.buyPrice(0, 0, 8, 0);
NPC.value = Item.buyPrice(silver: 8);
NPC.aiStyle = -1;
Banner = NPC.type;
BannerItem = ModContent.ItemType<SightseerSpitterBanner>();
+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.Astral
NPC.defense = 26;
NPC.knockBackResist = 0.65f;
NPC.lifeMax = 280;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
AnimationType = NPCID.GiantFlyingFox;
Banner = NPC.type;
+1 -1
View File
@@ -80,7 +80,7 @@ namespace CalamityMod.NPCs.Bumblebirb
NPC.noTileCollide = true;
NPC.lavaImmune = true;
NPC.noGravity = true;
NPC.value = Item.buyPrice(1, 0, 0, 0);
NPC.value = Item.buyPrice(platinum: 1);
NPC.HitSound = SoundID.NPCHit51;
NPC.DeathSound = SoundID.NPCDeath46;
NPC.Calamity().VulnerableToHeat = true;
+1 -1
View File
@@ -73,7 +73,7 @@ namespace CalamityMod.NPCs.CeaselessVoid
NPC.defense = 80;
NPC.Calamity().DR = 0.5f;
NPC.LifeMaxNERB(65000, 78000, 72000);
NPC.value = Item.buyPrice(1, 0, 0, 0);
NPC.value = Item.buyPrice(platinum: 1);
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -32,7 +32,7 @@ namespace CalamityMod.NPCs.Crags
NPC.lifeMax = 140;
NPC.knockBackResist = 0.75f;
AnimationType = NPCID.DemonEye;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
if (DownedBossSystem.downedProvidence)
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Crags
NPC.defense = 38;
NPC.lifeMax = 180;
NPC.knockBackResist = 0.1f;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit41;
NPC.DeathSound = SoundID.NPCDeath14;
NPC.behindTiles = true;
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Crags
NPC.defense = 8;
NPC.lifeMax = 50;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.HitSound = SoundID.NPCHit52;
NPC.DeathSound = SoundID.NPCDeath55;
NPC.noGravity = true;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.Crags
NPC.lifeMax = 250;
NPC.knockBackResist = 0.5f;
AnimationType = NPCID.CorruptSlime;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.alpha = 50;
NPC.lavaImmune = true;
NPC.noGravity = false;
+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.Crags
NPC.knockBackResist = 0.5f;
AnimationType = NPCID.ZombieXmas;
AIType = NPCID.ChaosElemental;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath50;
if (DownedBossSystem.downedProvidence)
+1 -1
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.NPCs.Crags
NPC.lifeMax = 160;
NPC.alpha = 100;
NPC.knockBackResist = 0.7f;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit49;
NPC.DeathSound = SoundID.NPCDeath51;
NPC.noGravity = true;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Crags
NPC.lifeMax = 100;
NPC.alpha = 100;
NPC.knockBackResist = 0.9f;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit49;
NPC.DeathSound = SoundID.NPCDeath51;
NPC.noGravity = true;
+1 -1
View File
@@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.Crags
NPC.defense = 30;
NPC.lifeMax = 80;
NPC.knockBackResist = 0.65f;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.noGravity = true;
NPC.lavaImmune = true;
NPC.HitSound = SoundID.NPCHit4;
+1 -1
View File
@@ -209,7 +209,7 @@ namespace CalamityMod.NPCs.DevourerofGods
AIType = -1;
NPC.knockBackResist = 0f;
NPC.boss = true;
NPC.value = Item.buyPrice(2, 0, 0, 0);
NPC.value = Item.buyPrice(platinum: 2);
NPC.Opacity = 0f;
NPC.behindTiles = true;
NPC.noGravity = true;
+1 -1
View File
@@ -162,7 +162,7 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo
AIType = -1;
NPC.Opacity = 0f;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(1, 0, 0, 0);
NPC.value = Item.buyPrice(platinum: 1);
NPC.noGravity = true;
NPC.noTileCollide = true;
NPC.DeathSound = CommonCalamitySounds.ExoDeathSound;
+1 -1
View File
@@ -237,7 +237,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
AIType = -1;
NPC.Opacity = 0f;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(1, 0, 0, 0);
NPC.value = Item.buyPrice(platinum: 1);
NPC.noGravity = true;
NPC.noTileCollide = true;
NPC.DeathSound = CommonCalamitySounds.ExoDeathSound;
+1 -1
View File
@@ -184,7 +184,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos
AIType = -1;
NPC.Opacity = 0f;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(1, 0, 0, 0);
NPC.value = Item.buyPrice(platinum: 1);
NPC.behindTiles = true;
NPC.noGravity = true;
NPC.noTileCollide = true;
+1 -1
View File
@@ -56,7 +56,7 @@ namespace CalamityMod.NPCs.GreatSandShark
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 5, 0, 0);
NPC.value = Item.buyPrice(gold: 5);
NPCID.Sets.TrailCacheLength[Type] = 8;
NPCID.Sets.TrailingMode[Type] = 1;
NPC.behindTiles = true;
+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 75;
NPC.knockBackResist = 0.8f;
AnimationType = NPCID.Slimer;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.alpha = 50;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.knockBackResist = 0f;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 5, 0, 0);
NPC.value = Item.buyPrice(gold: 5);
NPC.behindTiles = true;
NPC.noGravity = true;
NPC.noTileCollide = true;
+1 -1
View File
@@ -33,7 +33,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = 8;
NPC.alpha = 100;
NPC.lifeMax = 200;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.knockBackResist = 0f;
NPC.HitSound = SoundID.NPCHit5;
NPC.DeathSound = SoundID.NPCDeath15;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 2000;
NPC.knockBackResist = 0.3f;
AnimationType = NPCID.CorruptSlime;
NPC.value = Item.buyPrice(0, 0, 25, 0);
NPC.value = Item.buyPrice(silver: 25);
NPC.alpha = 50;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = 32;
NPC.lifeMax = 600;
NPC.knockBackResist = 0.95f;
NPC.value = Item.buyPrice(0, 0, 10, 0);
NPC.value = Item.buyPrice(silver: 10);
NPC.HitSound = SoundID.NPCHit7;
NPC.DeathSound = SoundID.NPCDeath35;
NPC.behindTiles = true;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = 15;
NPC.damage = 16;
NPC.knockBackResist = 0.45f;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
Banner = NPCID.Zombie;
BannerItem = ItemID.ZombieBanner;
NPC.Calamity().VulnerableToHeat = true;
+1 -1
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 100;
NPC.aiStyle = -1;
NPC.knockBackResist = 0.4f;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.HitSound = SoundID.NPCHit41 with { Pitch = 0.6f };
NPC.DeathSound = SoundID.NPCDeath36 with { Pitch = -0.4f };
Banner = NPC.type;
+1 -1
View File
@@ -77,7 +77,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = 18;
NPC.lifeMax = 6000;
NPC.knockBackResist = 0.05f;
NPC.value = Item.buyPrice(0, 1, 50, 0);
NPC.value = Item.buyPrice(gold: 1, silver: 50);
NPC.HitSound = SoundID.NPCHit23;
NPC.DeathSound = SoundID.NPCDeath39;
NPC.noGravity = true;
+1 -1
View File
@@ -38,7 +38,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 280;
NPC.knockBackResist = 0.05f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 25, 0);
NPC.value = Item.buyPrice(silver: 25);
NPC.HitSound = SoundID.NPCHit12;
NPC.DeathSound = SoundID.NPCDeath18;
NPC.rarity = 2;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = 10;
NPC.lifeMax = 150;
NPC.knockBackResist = 0.3f;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 75;
NPC.knockBackResist = 0.75f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 0, 60);
NPC.value = Item.buyPrice(copper: 60);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 400;
NPC.knockBackResist = 0.15f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 180;
NPC.knockBackResist = 0.35f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 135;
NPC.knockBackResist = 0.55f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 1, 20);
NPC.value = Item.buyPrice(silver: 1, copper: 20);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 150;
NPC.knockBackResist = 0.45f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 1, 60);
NPC.value = Item.buyPrice(silver: 1, copper: 60);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 120;
NPC.knockBackResist = 0.65f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 90;
NPC.knockBackResist = 0.85f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 0, 60);
NPC.value = Item.buyPrice(copper: 60);
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
Banner = NPC.type;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 130;
NPC.knockBackResist = 0.3f;
AnimationType = NPCID.RainbowSlime;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.alpha = 105;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 280;
NPC.knockBackResist = 0.6f;
AnimationType = NPCID.CorruptSlime;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.alpha = 50;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = 25;
NPC.lifeMax = 300;
NPC.knockBackResist = 0.4f;
NPC.value = Item.buyPrice(0, 0, 3, 0);
NPC.value = Item.buyPrice(silver: 3);
NPC.HitSound = SoundID.NPCHit5;
NPC.DeathSound = SoundID.NPCDeath7;
Banner = NPC.type;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 130;
NPC.knockBackResist = 0.3f;
AnimationType = NPCID.RainbowSlime;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.alpha = 105;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -43,7 +43,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.height = 80;
NPC.lifeMax = 5000;
NPC.knockBackResist = 0.5f;
NPC.value = Item.buyPrice(0, 0, 30, 0);
NPC.value = Item.buyPrice(silver: 30);
NPC.Opacity = 0f;
NPC.noGravity = true;
NPC.noTileCollide = false;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = Main.hardMode ? 10 : 2;
NPC.lifeMax = Main.hardMode ? 150 : 50;
NPC.knockBackResist = Main.hardMode ? 0.2f : 0.5f;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
Banner = NPC.type;
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 100;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
NPC.knockBackResist = 0.5f;
+1 -1
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0.05f;
NPC.value = Item.buyPrice(0, 1, 50, 0);
NPC.value = Item.buyPrice(gold: 1, silver: 50);
NPC.dontTakeDamage = true;
NPC.noGravity = true;
NPC.noTileCollide = true;
+1 -1
View File
@@ -86,7 +86,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.noTileCollide = true;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 5, 0);
NPC.value = Item.buyPrice(silver: 5);
NPC.HitSound = SoundID.NPCHit5;
NPC.DeathSound = SoundID.NPCDeath7;
NPC.rarity = 2;
+1 -1
View File
@@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 3000;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 50, 0);
NPC.value = Item.buyPrice(silver: 50);
NPC.HitSound = SoundID.NPCHit5;
NPC.DeathSound = SoundID.NPCDeath7;
NPC.knockBackResist = 0.2f;
+1 -1
View File
@@ -32,7 +32,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 60;
NPC.aiStyle = NPCAIStyleID.Fighter;
AIType = NPCID.Crab;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.value = Item.buyPrice(silver: 1);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
Banner = NPC.type;
+1 -1
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.defense = 18;
NPC.lifeMax = NPC.downedMoonlord ? 3000 : 300;
NPC.knockBackResist = 0.3f;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.HitSound = SoundID.NPCHit2;
NPC.DeathSound = SoundID.NPCDeath2;
Banner = NPC.type;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 360;
NPC.knockBackResist = 0.5f;
AnimationType = NPCID.CorruptSlime;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.alpha = 50;
NPC.lavaImmune = false;
NPC.noGravity = false;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.knockBackResist = 0.2f;
AnimationType = NPCID.DungeonSpirit;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 20, 0);
NPC.value = Item.buyPrice(silver: 20);
NPC.HitSound = SoundID.NPCHit36;
NPC.DeathSound = SoundID.NPCDeath39;
NPC.noGravity = true;
+1 -1
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 3500;
NPC.knockBackResist = 0.1f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 60, 0);
NPC.value = Item.buyPrice(silver: 60);
NPC.HitSound = SoundID.NPCHit36;
NPC.DeathSound = SoundID.NPCDeath39;
NPC.noGravity = true;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 2500;
NPC.knockBackResist = 0.15f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 40, 0);
NPC.value = Item.buyPrice(silver: 40);
NPC.HitSound = SoundID.NPCHit36;
NPC.DeathSound = SoundID.NPCDeath39;
NPC.noGravity = true;
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 2000;
NPC.knockBackResist = 0.2f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 30, 0);
NPC.value = Item.buyPrice(silver: 30);
NPC.HitSound = SoundID.NPCHit36;
NPC.DeathSound = SoundID.NPCDeath39;
NPC.noGravity = true;
+1 -1
View File
@@ -34,7 +34,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.aiStyle = NPCAIStyleID.Passive;
AIType = NPCID.Squirrel;
NPC.knockBackResist = 0.99f;
NPC.value = Item.buyPrice(0, 2, 0, 0);
NPC.value = Item.buyPrice(gold: 2);
NPC.HitSound = SoundID.NPCHit1;
NPC.DeathSound = SoundID.NPCDeath1;
Banner = NPC.type;
+1 -1
View File
@@ -34,7 +34,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.lifeMax = 2500;
NPC.knockBackResist = 0f;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 50, 0);
NPC.value = Item.buyPrice(silver: 50);
NPC.lavaImmune = true;
NPC.noGravity = true;
NPC.HitSound = SoundID.NPCHit52;
+1 -1
View File
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.NormalNPCs
NPC.knockBackResist = 0.3f;
AnimationType = NPCID.Hellhound;
AIType = -1;
NPC.value = Item.buyPrice(0, 0, 2, 0);
NPC.value = Item.buyPrice(silver: 2);
NPC.HitSound = HitSound;
NPC.DeathSound = SoundID.NPCDeath5;
Banner = NPC.type;
Loaded 100 of 165 files, more files were not shown because too many files have changed in this diff. Show more