Enemy/boss coin drop touchups
Tuned coin drops to rarity / drop sell prices curve
This commit is contained in:
1 parent
b2bf93cfbe
commit
e1358d2355
104 files changed
+127
-124
No files matched your search
+19
-17
@@ -2596,25 +2596,27 @@ namespace CalamityMod
|
||||
// 9.5 minutes in total for vanilla Boss Rush bosses
|
||||
};
|
||||
|
||||
// NOTE: This does not account for Calamity's base value increases
|
||||
BossValues = new SortedDictionary<int, int>
|
||||
{
|
||||
{ NPCID.KingSlime, Item.buyPrice(0, 5) },
|
||||
{ NPCID.EyeofCthulhu, Item.buyPrice(0, 10) },
|
||||
{ NPCID.QueenBee, Item.buyPrice(0, 15) },
|
||||
{ NPCID.SkeletronHead, Item.buyPrice(0, 20) },
|
||||
{ NPCID.Deerclops, Item.buyPrice(0, 20) },
|
||||
{ NPCID.WallofFlesh, Item.buyPrice(0, 25) },
|
||||
{ NPCID.QueenSlimeBoss, Item.buyPrice(0, 30) },
|
||||
{ NPCID.Spazmatism, Item.buyPrice(0, 40) },
|
||||
{ NPCID.Retinazer, Item.buyPrice(0, 40) },
|
||||
{ NPCID.TheDestroyer, Item.buyPrice(0, 40) },
|
||||
{ NPCID.SkeletronPrime, Item.buyPrice(0, 40) },
|
||||
{ NPCID.Plantera, Item.buyPrice(0, 50) },
|
||||
{ NPCID.HallowBoss, Item.buyPrice(0, 60) },
|
||||
{ NPCID.Golem, Item.buyPrice(0, 60) },
|
||||
{ NPCID.DukeFishron, Item.buyPrice(0, 75) },
|
||||
{ NPCID.CultistBoss, Item.buyPrice(1) },
|
||||
{ NPCID.MoonLordCore, Item.buyPrice(1, 50) }
|
||||
{ NPCID.KingSlime, Item.buyPrice(0, 2) },
|
||||
{ NPCID.EyeofCthulhu, Item.buyPrice(0, 2) },
|
||||
// Evil bosses drop 5 gold in vanilla; unmodified
|
||||
{ NPCID.QueenBee, Item.buyPrice(0, 8) },
|
||||
{ NPCID.Deerclops, Item.buyPrice(0, 8) },
|
||||
{ NPCID.SkeletronHead, Item.buyPrice(0, 12) },
|
||||
{ NPCID.WallofFlesh, Item.buyPrice(0, 12) },
|
||||
{ NPCID.QueenSlimeBoss, Item.buyPrice(0, 16) },
|
||||
{ NPCID.Spazmatism, Item.buyPrice(0, 16) },
|
||||
{ NPCID.Retinazer, Item.buyPrice(0, 16) },
|
||||
{ NPCID.TheDestroyer, Item.buyPrice(0, 16) },
|
||||
{ NPCID.SkeletronPrime, Item.buyPrice(0, 16) },
|
||||
{ NPCID.Plantera, Item.buyPrice(0, 20) },
|
||||
{ NPCID.Golem, Item.buyPrice(0, 25) },
|
||||
{ NPCID.HallowBoss, Item.buyPrice(0, 30) },
|
||||
{ NPCID.DukeFishron, Item.buyPrice(0, 30) },
|
||||
{ NPCID.CultistBoss, Item.buyPrice(0, 50) }
|
||||
// Moon Lord drops 1 plat in vanilla; unmodified
|
||||
};
|
||||
|
||||
bossTypes = new SortedDictionary<int, int>()
|
||||
|
||||
@@ -53,8 +53,8 @@ namespace CalamityMod.Items
|
||||
// We don't care.
|
||||
case ItemID.EaterOfWorldsBossBag:
|
||||
var eowRevLCR = loot.DefineConditionalDropSet(DropHelper.If(() => CalamityWorld.revenge));
|
||||
eowRevLCR.Add(ItemID.DemoniteOre, 1, 120, 240); // 100% 120-240 Demonite Ore
|
||||
eowRevLCR.Add(ItemID.ShadowScale, 1, 60, 120); // 100% 60-120 Shadow Scale
|
||||
eowRevLCR.Add(ItemID.DemoniteOre, 1, 90, 135); // 100% 90-135 Demonite Ore
|
||||
eowRevLCR.Add(ItemID.ShadowScale, 1, 35, 55); // 100% 35-55 Shadow Scale
|
||||
loot.AddRevBagAccessories();
|
||||
loot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
break;
|
||||
@@ -64,9 +64,11 @@ namespace CalamityMod.Items
|
||||
// This can theoretically be exploited by killing the boss on Expert, then turning on Rev to open the bags.
|
||||
// We don't care.
|
||||
case ItemID.BrainOfCthulhuBossBag:
|
||||
// BoC drops less partial loot than EoW
|
||||
// However, sell price is overall higher despite the lower yield
|
||||
var bocRevLCR = loot.DefineConditionalDropSet(DropHelper.If(() => CalamityWorld.revenge));
|
||||
bocRevLCR.Add(ItemID.CrimtaneOre, 1, 100, 180); // 100% 100-180 Crimtane Ore
|
||||
bocRevLCR.Add(ItemID.TissueSample, 1, 60, 120); // 100% 60-120 Tissue Sample
|
||||
bocRevLCR.Add(ItemID.CrimtaneOre, 1, 80, 120); // 100% 80-120 Crimtane Ore
|
||||
bocRevLCR.Add(ItemID.TissueSample, 1, 25, 40); // 100% 25-40 Tissue Sample
|
||||
loot.AddRevBagAccessories();
|
||||
loot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
break;
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.alpha = 20;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 80);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.HitSound = SoundID.NPCHit25;
|
||||
NPC.DeathSound = SoundID.NPCDeath28;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 500;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.alpha = 100;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 5);
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 0);
|
||||
NPC.HitSound = SoundID.NPCHit25;
|
||||
NPC.DeathSound = SoundID.NPCDeath28;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.alpha = 150;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.HitSound = SoundID.NPCHit33;
|
||||
NPC.DeathSound = SoundID.NPCDeath28;
|
||||
NPC.knockBackResist = 0.3f;
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 500;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.85f;
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 500;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.85f;
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 1000;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 15, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 0, 50, 0);
|
||||
NPC.value = Item.buyPrice(0, 1, 0, 0);
|
||||
NPC.behindTiles = true;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 1000;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 15, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.85f;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 450;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.75f;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 300;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.15f;
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
NPC.lifeMax = 400;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.85f;
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
NPC.lifeMax = 180;
|
||||
}
|
||||
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 32);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.lavaImmune = false;
|
||||
|
||||
@@ -76,17 +76,18 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
NPC.damage = 66;
|
||||
NPC.lifeMax = 4000;
|
||||
NPC.defense = 25;
|
||||
NPC.value = Item.buyPrice(0, 2, 0, 0);
|
||||
|
||||
if (DownedBossSystem.downedPolterghast)
|
||||
{
|
||||
NPC.damage = 160;
|
||||
NPC.lifeMax = 80630;
|
||||
NPC.defense = 80;
|
||||
NPC.value *= 10f;
|
||||
}
|
||||
|
||||
NPC.behindTiles = true;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 3, 60, 0);
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
NPC.noTileCollide = false;
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
}
|
||||
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 55);
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 0);
|
||||
NPC.lavaImmune = true;
|
||||
NPC.noGravity = false;
|
||||
NPC.noTileCollide = false;
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
|
||||
NPC.knockBackResist = 0f;
|
||||
AnimationType = NPCID.CorruptSlime;
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 30);
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.alpha = 50;
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
NPC.knockBackResist = 0.5f;
|
||||
AnimationType = NPCID.CorruptSlime;
|
||||
AIType = NPCID.ToxicSludge;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.alpha = 50;
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
NPC.lifeMax = 90000;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 25, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 20, 0, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath60;
|
||||
NPC.knockBackResist = 0f;
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
}
|
||||
|
||||
NPC.knockBackResist = 0.7f;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = false;
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
}
|
||||
|
||||
NPC.knockBackResist = 0.6f;
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 20);
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 0);
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = false;
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
}
|
||||
|
||||
NPC.knockBackResist = 0.8f;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
NPC.noTileCollide = false;
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
NPC.DR_NERD(0.05f);
|
||||
}
|
||||
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 65);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
}
|
||||
|
||||
NPC.knockBackResist = 0.8f;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 25);
|
||||
NPC.value = Item.buyPrice(0, 0, 4, 0);
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = false;
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace CalamityMod.NPCs.AquaticScourge
|
||||
if (CalamityWorld.LegendaryMode && CalamityWorld.revenge)
|
||||
NPC.lifeMax *= 2;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 40, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 16, 0, 0);
|
||||
NPC.behindTiles = true;
|
||||
NPC.chaseable = false;
|
||||
NPC.noGravity = true;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DR_NERD(0.15f);
|
||||
NPC.lifeMax = 380;
|
||||
NPC.knockBackResist = 0.6f;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 0);
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<AriesBanner>();
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.lifeMax = 600;
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 0, 15, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<AstraglomerateBanner>();
|
||||
if (DownedBossSystem.downedAstrumAureus)
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0.95f;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
NPC.DeathSound = SoundID.NPCDeath14;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.defense = 8;
|
||||
NPC.lifeMax = 250;
|
||||
NPC.knockBackResist = 0.6f;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.alpha = 60;
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.lifeMax = 630;
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.knockBackResist = 0.38f;
|
||||
NPC.value = Item.buyPrice(0, 0, 20, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
NPC.timeLeft = NPC.activeTime * 2;
|
||||
AnimationType = NPCID.WallCreeper;
|
||||
Banner = ModContent.NPCType<AstralachneaWall>();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.noGravity = true;
|
||||
NPC.value = Item.buyPrice(0, 0, 20, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
NPC.timeLeft = NPC.activeTime * 2;
|
||||
AnimationType = NPCID.BlackRecluseWall;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DR_NERD(0.15f);
|
||||
NPC.lifeMax = 1200;
|
||||
NPC.knockBackResist = 0.08f;
|
||||
NPC.value = Item.buyPrice(0, 1, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 50, 0);
|
||||
NPC.aiStyle = -1;
|
||||
NPC.DeathSound = DeathSound;
|
||||
NPC.rarity = 1;
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.lifeMax = 500;
|
||||
NPC.defense = 12;
|
||||
NPC.DR_NERD(0.15f);
|
||||
NPC.value = Item.buyPrice(0, 0, 20, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
NPC.knockBackResist = 0.8f;
|
||||
NPC.behindTiles = true;
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
NPC.noGravity = true;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
if (DownedBossSystem.downedAstrumAureus)
|
||||
{
|
||||
NPC.damage = 50;
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.lifeMax = 420;
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.knockBackResist = 0.75f;
|
||||
NPC.value = Item.buyPrice(0, 0, 15, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<HadarianBanner>();
|
||||
if (DownedBossSystem.downedAstrumAureus)
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DR_NERD(0.15f);
|
||||
NPC.lifeMax = 430;
|
||||
NPC.knockBackResist = 0.2f;
|
||||
NPC.value = Item.buyPrice(0, 0, 15, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<MantisBanner>();
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.noGravity = true;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
NPC.value = Item.buyPrice(0, 0, 20, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.aiStyle = -1;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<NovaBanner>();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.noGravity = true;
|
||||
NPC.knockBackResist = 0.58f;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.aiStyle = -1;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<SightseerColliderBanner>();
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
NPC.noGravity = true;
|
||||
NPC.knockBackResist = 0.8f;
|
||||
NPC.value = Item.buyPrice(0, 0, 20, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
NPC.aiStyle = -1;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<SightseerSpitterBanner>();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.DR_NERD(0.15f);
|
||||
NPC.knockBackResist = 0.65f;
|
||||
NPC.lifeMax = 270;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
|
||||
AnimationType = NPCID.GiantFlyingFox;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 60, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 25, 0, 0);
|
||||
NPC.boss = true;
|
||||
NPC.DeathSound = DeathSound;
|
||||
NPC.Calamity().VulnerableToHeat = true;
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
|
||||
NPC.boss = true;
|
||||
NPC.BossBar = ModContent.GetInstance<AstrumDeusBossBar>();
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 50, 0, 0);
|
||||
NPC.alpha = 255;
|
||||
NPC.behindTiles = true;
|
||||
NPC.noGravity = true;
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace CalamityMod.NPCs.BrimstoneElemental
|
||||
NPC.width = 100;
|
||||
NPC.height = 150;
|
||||
NPC.defense = 15;
|
||||
NPC.value = Item.buyPrice(0, 40, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 16, 0, 0);
|
||||
NPC.LifeMaxNERB(41000, 49200, 780000);
|
||||
NPC.DR_NERD(0.2f);
|
||||
NPC.knockBackResist = 0f;
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.NPCs.Bumblebirb
|
||||
NPC.noTileCollide = true;
|
||||
NPC.lavaImmune = true;
|
||||
NPC.noGravity = true;
|
||||
NPC.value = Item.buyPrice(1, 25, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
NPC.HitSound = SoundID.NPCHit51;
|
||||
NPC.DeathSound = SoundID.NPCDeath46;
|
||||
NPC.Calamity().VulnerableToHeat = true;
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
NPC.scale *= 0.8f;
|
||||
|
||||
NPC.defense = (CalamityWorld.death || BossRushEvent.BossRushActive) ? 12 : 25;
|
||||
NPC.value = Item.buyPrice(0, 50, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 20, 0, 0);
|
||||
NPC.DR_NERD((CalamityWorld.death || BossRushEvent.BossRushActive) ? 0.075f : 0.15f);
|
||||
NPC.LifeMaxNERB(37500, 45000, 520000);
|
||||
NPC.aiStyle = -1;
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.NPCs.CeaselessVoid
|
||||
CalamityGlobalNPC global = NPC.Calamity();
|
||||
global.DR = 0.5f;
|
||||
NPC.LifeMaxNERB(65000, 78000, 72000);
|
||||
NPC.value = Item.buyPrice(2, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace CalamityMod.NPCs.Crabulon
|
||||
NPC.noTileCollide = false;
|
||||
NPC.boss = true;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 10, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 5, 0, 0);
|
||||
NPC.HitSound = HitSound;
|
||||
NPC.DeathSound = DeathSound;
|
||||
NPC.Calamity().VulnerableToHeat = true;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.Crags
|
||||
NPC.lifeMax = 380;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
AnimationType = NPCID.CorruptSlime;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.alpha = 50;
|
||||
NPC.lavaImmune = true;
|
||||
NPC.noGravity = false;
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.Crags
|
||||
NPC.knockBackResist = 0.5f;
|
||||
AnimationType = NPCID.ZombieXmas;
|
||||
AIType = NPCID.ChaosElemental;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath50;
|
||||
if (DownedBossSystem.downedProvidence)
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace CalamityMod.NPCs.Cryogen
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 40, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 16, 0, 0);
|
||||
NPC.boss = true;
|
||||
NPC.BossBar = ModContent.GetInstance<CryogenBossBar>();
|
||||
NPC.noGravity = true;
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.boss = true;
|
||||
NPC.value = Item.buyPrice(0, 5, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 2, 0, 0);
|
||||
NPC.alpha = 255;
|
||||
NPC.behindTiles = true;
|
||||
NPC.noGravity = true;
|
||||
|
||||
@@ -204,7 +204,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.boss = true;
|
||||
NPC.value = Item.buyPrice(6, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(2, 0, 0, 0);
|
||||
NPC.Opacity = 0f;
|
||||
NPC.behindTiles = true;
|
||||
NPC.noGravity = true;
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo
|
||||
AIType = -1;
|
||||
NPC.Opacity = 0f;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(15, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
NPC.DeathSound = CommonCalamitySounds.ExoDeathSound;
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
|
||||
AIType = -1;
|
||||
NPC.Opacity = 0f;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(15, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
NPC.DeathSound = CommonCalamitySounds.ExoDeathSound;
|
||||
|
||||
@@ -174,7 +174,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos
|
||||
AIType = -1;
|
||||
NPC.Opacity = 0f;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(15, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
NPC.behindTiles = true;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace CalamityMod.NPCs.HiveMind
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 15, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 8, 0, 0);
|
||||
NPC.boss = true;
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
AIType = -1;
|
||||
NPC.boss = true;
|
||||
NPC.BossBar = ModContent.GetInstance<LeviathanAnahitaBossBar>();
|
||||
NPC.value = Item.buyPrice(0, 60, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 12, 50, 0);
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
NPC.HitSound = HitSound;
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.Opacity = 0f;
|
||||
NPC.value = Item.buyPrice(0, 60, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 12, 50, 0);
|
||||
NPC.HitSound = SoundID.NPCHit56;
|
||||
NPC.DeathSound = SoundID.NPCDeath60;
|
||||
NPC.noTileCollide = true;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.defense = 10;
|
||||
NPC.lifeMax = 115;
|
||||
NPC.knockBackResist = 0.3f;
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 80);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.HitSound = SoundID.NPCHit33;
|
||||
NPC.DeathSound = SoundID.NPCDeath36;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 75;
|
||||
NPC.knockBackResist = 0.75f;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 30);
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 60);
|
||||
NPC.HitSound = SoundID.NPCHit33;
|
||||
NPC.DeathSound = SoundID.NPCDeath36;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 135;
|
||||
NPC.knockBackResist = 0.55f;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 20);
|
||||
NPC.HitSound = SoundID.NPCHit33;
|
||||
NPC.DeathSound = SoundID.NPCDeath36;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 170;
|
||||
NPC.knockBackResist = 0.45f;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 60);
|
||||
NPC.HitSound = SoundID.NPCHit33;
|
||||
NPC.DeathSound = SoundID.NPCDeath36;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 60;
|
||||
NPC.knockBackResist = 0.85f;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 30);
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 60);
|
||||
NPC.HitSound = SoundID.NPCHit33;
|
||||
NPC.DeathSound = SoundID.NPCDeath36;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 165;
|
||||
NPC.knockBackResist = 0.3f;
|
||||
AnimationType = NPCID.RainbowSlime;
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.alpha = 105;
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 180;
|
||||
NPC.knockBackResist = 0.6f;
|
||||
AnimationType = NPCID.CorruptSlime;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.alpha = 50;
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.DR_NERD(0.1f);
|
||||
NPC.lifeMax = 375;
|
||||
NPC.knockBackResist = 0.4f;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 0);
|
||||
NPC.HitSound = SoundID.NPCHit5;
|
||||
NPC.DeathSound = SoundID.NPCDeath7;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 165;
|
||||
NPC.knockBackResist = 0.3f;
|
||||
AnimationType = NPCID.RainbowSlime;
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.alpha = 105;
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.height = 80;
|
||||
NPC.lifeMax = 5000;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
NPC.value = Item.buyPrice(0, 1, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 30, 0);
|
||||
NPC.Opacity = 0f;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = false;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 100;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 80);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.noTileCollide = true;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 25, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.HitSound = SoundID.NPCHit5;
|
||||
NPC.DeathSound = SoundID.NPCDeath7;
|
||||
NPC.rarity = 2;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 225;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
AnimationType = NPCID.CorruptSlime;
|
||||
NPC.value = Item.buyPrice(0, 0, 10, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.alpha = 50;
|
||||
NPC.lavaImmune = false;
|
||||
NPC.noGravity = false;
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.knockBackResist = 0.3f;
|
||||
AnimationType = NPCID.Hellhound;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.HitSound = HitSound;
|
||||
NPC.DeathSound = SoundID.NPCDeath5;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 75;
|
||||
NPC.knockBackResist = 0.3f;
|
||||
AIType = NPCID.Wolf;
|
||||
NPC.value = Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 50);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath5;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.knockBackResist = 0.1f;
|
||||
AIType = -1;
|
||||
NPC.lavaImmune = true;
|
||||
NPC.value = Item.buyPrice(0, 0, 50, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 75, 0);
|
||||
NPC.DeathSound = DeathSound;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<ScornEaterBanner>();
|
||||
|
||||
@@ -37,7 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.aiStyle = NPCAIStyleID.Passive;
|
||||
AIType = NPCID.Squirrel;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 20);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -59,7 +59,6 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
NPC.boss = true;
|
||||
NPC.value = 200000f;
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
NPC.DeathSound = SoundID.NPCDeath14;
|
||||
NPC.Calamity().VulnerableToElectricity = true;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.lifeMax = 125;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 0);
|
||||
NPC.HitSound = SoundID.NPCHit50;
|
||||
NPC.DeathSound = Main.zenithWorld ? AresGaussNuke.NukeExplosionSound : DeathSound;
|
||||
NPC.knockBackResist = 0.7f;
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.defense = 4;
|
||||
NPC.lifeMax = Main.zenithWorld ? 90 : 58;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 50);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.noGravity = false;
|
||||
NPC.noTileCollide = false;
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.defense = 4;
|
||||
NPC.lifeMax = 27;
|
||||
NPC.knockBackResist = 0.35f;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 20);
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 80);
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.defense = 5;
|
||||
NPC.lifeMax = 23;
|
||||
NPC.knockBackResist = 0.15f;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 15);
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 75);
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
NPC.DeathSound = CommonCalamitySounds.WulfrumNPCDeathSound;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.height = 38;
|
||||
NPC.defense = 4;
|
||||
NPC.lifeMax = 25;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 50);
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
NPC.DeathSound = CommonCalamitySounds.WulfrumNPCDeathSound;
|
||||
NPC.noGravity = true;
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.defense = 4;
|
||||
NPC.lifeMax = 40;
|
||||
NPC.knockBackResist = Main.zenithWorld ? 0f : 0.15f;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 15);
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 75);
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
NPC.DeathSound = CommonCalamitySounds.WulfrumNPCDeathSound;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace CalamityMod.NPCs.OldDuke
|
||||
NPC.npcSlots = 15f;
|
||||
NPC.HitSound = SoundID.NPCHit14;
|
||||
NPC.DeathSound = SoundID.NPCDeath20;
|
||||
NPC.value = Item.buyPrice(4, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(2, 0, 0, 0);
|
||||
NPC.boss = true;
|
||||
NPC.netAlways = true;
|
||||
NPC.timeLeft = NPC.activeTime * 30;
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 15, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 8, 0, 0);
|
||||
NPC.boss = true;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
NPC.lifeMax = 1000;
|
||||
NPC.knockBackResist = 0.2f;
|
||||
AnimationType = NPCID.GiantTortoise;
|
||||
NPC.value = Item.buyPrice(0, 0, 20, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 15, 0);
|
||||
NPC.HitSound = SoundID.NPCHit24;
|
||||
NPC.noGravity = false;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -98,7 +98,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.boss = true;
|
||||
NPC.value = Item.buyPrice(0, 75, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 30, 0, 0);
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
|
||||
@@ -116,7 +116,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(3, 50, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 50, 0, 0);
|
||||
NPC.boss = true;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
|
||||
@@ -116,7 +116,7 @@ namespace CalamityMod.NPCs.PrimordialWyrm
|
||||
AIType = -1;
|
||||
NPC.Opacity = 0f;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(10, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(5, 0, 0, 0);
|
||||
NPC.behindTiles = true;
|
||||
NPC.noGravity = true;
|
||||
NPC.noTileCollide = true;
|
||||
|
||||
@@ -257,7 +257,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(3, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 50, 0, 0);
|
||||
NPC.boss = true;
|
||||
NPC.Opacity = 0f;
|
||||
NPC.noGravity = true;
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace CalamityMod.NPCs.Ravager
|
||||
NPC.width = 332;
|
||||
NPC.height = 214;
|
||||
NPC.defense = 55;
|
||||
NPC.value = Item.buyPrice(0, 75, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 30, 0, 0);
|
||||
NPC.DR_NERD(0.35f);
|
||||
NPC.LifeMaxNERB(45000, 54000, 460000);
|
||||
if (DownedBossSystem.downedProvidence && !BossRushEvent.BossRushActive)
|
||||
@@ -88,7 +88,7 @@ namespace CalamityMod.NPCs.Ravager
|
||||
NPC.damage = (int)(NPC.damage * 1.5);
|
||||
NPC.defense *= 2;
|
||||
NPC.lifeMax *= 4;
|
||||
NPC.value *= 1.5f;
|
||||
NPC.value *= 3f;
|
||||
}
|
||||
NPC.knockBackResist = 0f;
|
||||
AIType = -1;
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace CalamityMod.NPCs.Signus
|
||||
NPC.height = 130;
|
||||
NPC.defense = 60;
|
||||
NPC.LifeMaxNERB(300000, 360000, 320000);
|
||||
NPC.value = Item.buyPrice(2, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 25, 0, 0);
|
||||
NPC.value = Item.buyPrice(0, 12, 0, 0);
|
||||
NPC.Opacity = 0.8f;
|
||||
NPC.boss = true;
|
||||
NPC.BossBar = ModContent.GetInstance<SlimeGodBossBar>();
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
NPC.height = 74;
|
||||
NPC.lifeMax = 825000;
|
||||
NPC.LifeMaxNERB(NPC.lifeMax, NPC.lifeMax, 500000);
|
||||
NPC.value = Item.buyPrice(2, 0, 0, 0);
|
||||
NPC.value = Item.buyPrice(1, 0, 0, 0);
|
||||
|
||||
// Phase one settings
|
||||
CalamityGlobalNPC global = NPC.Calamity();
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.NPCs.SulphurousSea
|
||||
NPC.defense = 22;
|
||||
NPC.lifeMax = 1130;
|
||||
NPC.aiStyle = AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
NPC.HitSound = SoundID.NPCHit38;
|
||||
NPC.DeathSound = SoundID.NPCDeath46;
|
||||
NPC.knockBackResist = 0.04f;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.NPCs.SulphurousSea
|
||||
NPC.defense = 10;
|
||||
NPC.lifeMax = Main.hardMode ? 380 : 70;
|
||||
NPC.knockBackResist = 0.8f;
|
||||
NPC.value = Item.buyPrice(0, 0, 0, 80);
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath15;
|
||||
NPC.behindTiles = true;
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.NPCs.SulphurousSea
|
||||
NPC.defense = 25;
|
||||
NPC.lifeMax = 1250;
|
||||
NPC.aiStyle = AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 3, 50);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
NPC.HitSound = SoundID.NPCHit42;
|
||||
NPC.DeathSound = SoundID.NPCDeath5;
|
||||
NPC.knockBackResist = 0f;
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.NPCs.SunkenSea
|
||||
NPC.lifeMax = 750;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Item.buyPrice(0, 0, 40, 0);
|
||||
NPC.value = Item.buyPrice(0, 0, 8, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath1;
|
||||
NPC.knockBackResist = 0.1f;
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.NPCs.SunkenSea
|
||||
}
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Main.hardMode ? Item.buyPrice(0, 0, 10, 0) : Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.value = Main.hardMode ? Item.buyPrice(0, 0, 5, 0) : Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.HitSound = SoundID.NPCHit4;
|
||||
NPC.knockBackResist = 0.05f;
|
||||
Banner = NPC.type;
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.SunkenSea
|
||||
NPC.lifeMax = Main.hardMode ? 500 : 150;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.value = Main.hardMode ? Item.buyPrice(0, 0, 50, 0) : Item.buyPrice(0, 0, 5, 0);
|
||||
NPC.value = Main.hardMode ? Item.buyPrice(0, 0, 5, 0) : Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.HitSound = SoundID.NPCHit1;
|
||||
NPC.DeathSound = SoundID.NPCDeath55;
|
||||
NPC.knockBackResist = 0.5f;
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace CalamityMod.NPCs.SunkenSea
|
||||
NPC.lifeMax = Main.hardMode ? 400 : 120;
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.alpha = 100;
|
||||
NPC.value = Main.hardMode ? Item.buyPrice(0, 0, 20, 0) : Item.buyPrice(0, 0, 2, 0);
|
||||
NPC.value = Main.hardMode ? Item.buyPrice(0, 0, 5, 0) : Item.buyPrice(0, 0, 1, 0);
|
||||
NPC.HitSound = SoundID.NPCHit25;
|
||||
NPC.DeathSound = SoundID.NPCDeath28;
|
||||
Banner = NPC.type;
|
||||
|
||||
Loaded 100 of 104 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user