1 - More support for Empress of Light, Deerclops and Queen Slime.
2 - Support for the new 1.4 enemies.
This commit is contained in:
1 parent
7f2ef6aa68
commit
fecdae29ac
6 files changed
+171
-47
No files matched your search
@@ -272,6 +272,21 @@ namespace CalamityMod.CalPlayer
|
||||
texture = TextureAssets.NpcHeadBoss[NPCID.Sets.BossHeadTextures[ModContent.NPCType<EidolonWyrmHeadHuge>()]].Value;
|
||||
break;
|
||||
|
||||
// Queen Slime
|
||||
case 43:
|
||||
texture = TextureAssets.NpcHeadBoss[38].Value;
|
||||
break;
|
||||
|
||||
// Empress of Light
|
||||
case 44:
|
||||
texture = TextureAssets.NpcHeadBoss[37].Value;
|
||||
break;
|
||||
|
||||
// Deerclops
|
||||
case 45:
|
||||
texture = TextureAssets.NpcHeadBoss[39].Value;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
+40
-18
@@ -664,6 +664,7 @@ namespace CalamityMod
|
||||
NPCID.WallofFlesh,
|
||||
NPCID.WallofFleshEye,
|
||||
NPCID.PirateShipCannon,
|
||||
NPCID.QueenSlimeBoss,
|
||||
NPCID.Probe,
|
||||
NPCID.Retinazer,
|
||||
NPCID.Spazmatism,
|
||||
@@ -674,6 +675,7 @@ namespace CalamityMod
|
||||
NPCID.PrimeVice,
|
||||
NPCID.Plantera,
|
||||
NPCID.PlanterasTentacle,
|
||||
NPCID.HallowBoss,
|
||||
NPCID.Everscream,
|
||||
NPCID.SantaNK1,
|
||||
NPCID.IceQueen,
|
||||
@@ -926,7 +928,11 @@ namespace CalamityMod
|
||||
ProjectileID.UnholyTridentHostile,
|
||||
ProjectileID.FrostBeam,
|
||||
ProjectileID.CursedFlameHostile,
|
||||
ProjectileID.Stinger
|
||||
ProjectileID.Stinger,
|
||||
ProjectileID.BloodShot,
|
||||
ProjectileID.BloodNautilusTears,
|
||||
ProjectileID.BloodNautilusShot,
|
||||
ProjectileID.RockGolemRock
|
||||
};
|
||||
|
||||
debuffList = new List<int>()
|
||||
@@ -1268,6 +1274,9 @@ namespace CalamityMod
|
||||
NPCID.LeechHead,
|
||||
NPCID.LeechBody,
|
||||
NPCID.LeechTail,
|
||||
NPCID.QueenSlimeMinionBlue,
|
||||
NPCID.QueenSlimeMinionPink,
|
||||
NPCID.QueenSlimeMinionPurple,
|
||||
NPCID.TheDestroyerBody,
|
||||
NPCID.TheDestroyerTail,
|
||||
NPCID.EaterofWorldsBody,
|
||||
@@ -1836,7 +1845,8 @@ namespace CalamityMod
|
||||
NPCID.BigBaldZombie,
|
||||
NPCID.SmallBaldZombie,
|
||||
NPCID.BigZombie,
|
||||
NPCID.SmallZombie
|
||||
NPCID.SmallZombie,
|
||||
NPCID.MaggotZombie
|
||||
// halloween zombies not included because they don't drop shackles or zombie arms
|
||||
};
|
||||
|
||||
@@ -1886,7 +1896,8 @@ namespace CalamityMod
|
||||
NPCID.ArmoredSkeleton,
|
||||
NPCID.HeavySkeleton,
|
||||
NPCID.SkeletonArcher,
|
||||
NPCID.GreekSkeleton
|
||||
NPCID.GreekSkeleton,
|
||||
NPCID.SporeSkeleton
|
||||
};
|
||||
|
||||
angryBonesList = new List<int>()
|
||||
@@ -1960,6 +1971,9 @@ namespace CalamityMod
|
||||
NPCID.LeechHead,
|
||||
NPCID.LeechBody,
|
||||
NPCID.LeechTail,
|
||||
NPCID.QueenSlimeMinionBlue,
|
||||
NPCID.QueenSlimeMinionPink,
|
||||
NPCID.QueenSlimeMinionPurple,
|
||||
NPCID.Probe,
|
||||
NPCID.Bee,
|
||||
NPCID.BeeSmall,
|
||||
@@ -2208,8 +2222,8 @@ namespace CalamityMod
|
||||
ProjectileID.Beenade,
|
||||
ProjectileID.Bee,
|
||||
ProjectileID.GiantBee,
|
||||
ProjectileType<AeroExplosive>()
|
||||
//ProjectileID.ScarabBomb
|
||||
ProjectileType<AeroExplosive>(),
|
||||
ProjectileID.ScarabBomb
|
||||
};
|
||||
|
||||
ZeroContactDamageNPCList = new List<int>
|
||||
@@ -2260,7 +2274,7 @@ namespace CalamityMod
|
||||
NPCID.CultistBoss,
|
||||
NPCID.GolemHeadFree,
|
||||
NPCID.MoonLordFreeEye,
|
||||
//NPCID.BloodSquid,
|
||||
NPCID.BloodSquid,
|
||||
NPCID.PlanterasHook
|
||||
};
|
||||
|
||||
@@ -2284,7 +2298,7 @@ namespace CalamityMod
|
||||
NPCID.BloodFeeder,
|
||||
NPCID.DesertBeast,
|
||||
NPCID.ChaosElemental,
|
||||
//NPCID.BloodMummy,
|
||||
NPCID.BloodMummy,
|
||||
NPCID.CorruptSlime,
|
||||
NPCID.Slimeling,
|
||||
NPCID.Corruptor,
|
||||
@@ -2334,7 +2348,7 @@ namespace CalamityMod
|
||||
NPCID.PigronHallow,
|
||||
NPCID.Pixie,
|
||||
NPCID.PossessedArmor,
|
||||
//NPCID.RockGolem,
|
||||
NPCID.RockGolem,
|
||||
NPCID.DesertScorpionWalk,
|
||||
NPCID.DesertScorpionWall,
|
||||
NPCID.Slimer,
|
||||
@@ -2361,7 +2375,7 @@ namespace CalamityMod
|
||||
NPCID.Parrot,
|
||||
NPCID.PirateCorsair,
|
||||
NPCID.PirateDeckhand,
|
||||
//NPCID.PiratesCurse,
|
||||
NPCID.PirateGhost,
|
||||
NPCID.BlueArmoredBonesMace,
|
||||
NPCID.BlueArmoredBonesSword,
|
||||
NPCID.BoneLee,
|
||||
@@ -2407,13 +2421,13 @@ namespace CalamityMod
|
||||
NPCID.Yeti,
|
||||
NPCID.ZombieElf,
|
||||
NPCID.ZombieElfBeard,
|
||||
NPCID.ZombieElfGirl
|
||||
//NPCID.BloodEelHead,
|
||||
//NPCID.BloodEelBody,
|
||||
//NPCID.BloodEelTail,
|
||||
//NPCID.HemogoblinShark,
|
||||
//NPCID.WanderingEyeFish,
|
||||
//NPCID.ZombieMerman,
|
||||
NPCID.ZombieElfGirl,
|
||||
NPCID.BloodEelHead,
|
||||
NPCID.BloodEelBody,
|
||||
NPCID.BloodEelTail,
|
||||
NPCID.GoblinShark,
|
||||
NPCID.EyeballFlyingFish,
|
||||
NPCID.ZombieMerman
|
||||
};
|
||||
|
||||
BoundNPCIDs = new List<int>
|
||||
@@ -2424,7 +2438,7 @@ namespace CalamityMod
|
||||
NPCID.SleepingAngler,
|
||||
NPCID.BartenderUnconscious,
|
||||
NPCID.WebbedStylist,
|
||||
//NPCID.GolferRescue
|
||||
NPCID.GolferRescue
|
||||
};
|
||||
|
||||
// Collections
|
||||
@@ -2514,11 +2528,13 @@ namespace CalamityMod
|
||||
{ NPCID.QueenBee, Item.buyPrice(0, 15)},
|
||||
{ NPCID.SkeletronHead, 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) },
|
||||
@@ -2577,7 +2593,10 @@ namespace CalamityMod
|
||||
{ NPCType<ThanatosHead>(), 41 },
|
||||
{ NPCType<Artemis>(), 41 },
|
||||
{ NPCType<Apollo>(), 41 },
|
||||
{ NPCType<EidolonWyrmHeadHuge>(), 42 }
|
||||
{ NPCType<EidolonWyrmHeadHuge>(), 42 },
|
||||
{ NPCID.QueenSlimeBoss, 43 },
|
||||
{ NPCID.HallowBoss, 44 },
|
||||
{ NPCID.Deerclops, 45 }
|
||||
};
|
||||
|
||||
bossMinionList = new List<int>()
|
||||
@@ -2619,6 +2638,9 @@ namespace CalamityMod
|
||||
NPCID.WallofFleshEye,
|
||||
NPCID.TheHungry,
|
||||
NPCID.TheHungryII,
|
||||
NPCID.QueenSlimeMinionBlue,
|
||||
NPCID.QueenSlimeMinionPink,
|
||||
NPCID.QueenSlimeMinionPurple,
|
||||
NPCID.PrimeCannon,
|
||||
NPCID.PrimeLaser,
|
||||
NPCID.PrimeSaw,
|
||||
|
||||
@@ -427,6 +427,7 @@ namespace CalamityMod
|
||||
{ NPCID.Crawdad, 0.2f },
|
||||
{ NPCID.Crawdad2, 0.2f },
|
||||
{ NPCID.CultistBoss, 0.15f },
|
||||
{ NPCID.Deerclops, 0.05f },
|
||||
{ NPCID.DD2Betsy, 0.1f },
|
||||
{ NPCID.DD2OgreT2, 0.1f },
|
||||
{ NPCID.DD2OgreT3, 0.15f },
|
||||
@@ -480,6 +481,7 @@ namespace CalamityMod
|
||||
{ NPCID.PirateShipCannon, 0.15f },
|
||||
{ NPCID.Plantera, 0.15f },
|
||||
{ NPCID.PlanterasTentacle, 0.1f },
|
||||
{ NPCID.HallowBoss, 0.15f },
|
||||
{ NPCID.PossessedArmor, 0.25f },
|
||||
{ NPCID.PresentMimic, 0.3f },
|
||||
{ NPCID.PrimeCannon, 0.2f },
|
||||
@@ -535,10 +537,12 @@ namespace CalamityMod
|
||||
{ NPCID.EaterofWorldsTail, 7200 },
|
||||
{ NPCID.BrainofCthulhu, 5400 }, // 1:30 (90 seconds)
|
||||
{ NPCID.Creeper, 1800 }, // 0:30 (30 seconds)
|
||||
{ NPCID.Deerclops, 5400 }, // 1:30 (90 seconds)
|
||||
{ NPCID.QueenBee, 7200 }, // 2:00 (120 seconds)
|
||||
{ NPCID.SkeletronHead, 9000 }, // 2:30 (150 seconds)
|
||||
{ NPCID.WallofFlesh, 7200 }, // 2:00 (120 seconds)
|
||||
{ NPCID.WallofFleshEye, 7200 },
|
||||
{ NPCID.QueenSlimeBoss, 7200 }, // 2:00 (120 seconds)
|
||||
{ NPCID.Spazmatism, 10800 }, // 3:00 (180 seconds)
|
||||
{ NPCID.Retinazer, 10800 },
|
||||
{ NPCID.TheDestroyer, 10800 }, // 3:00 (180 seconds)
|
||||
@@ -546,6 +550,7 @@ namespace CalamityMod
|
||||
{ NPCID.TheDestroyerTail, 10800 },
|
||||
{ NPCID.SkeletronPrime, 10800 }, // 3:00 (180 seconds)
|
||||
{ NPCID.Plantera, 10800 }, // 3:00 (180 seconds)
|
||||
{ NPCID.HallowBoss, 10800 }, // 3:00 (180 seconds)
|
||||
{ NPCID.Golem, 9000 }, // 2:30 (150 seconds)
|
||||
{ NPCID.GolemHead, 3600 }, // 1:00 (60 seconds)
|
||||
{ NPCID.DukeFishron, 9000 }, // 2:30 (150 seconds)
|
||||
@@ -634,6 +639,7 @@ namespace CalamityMod
|
||||
{ NPCID.LeechHead, bitingEnemeyVelocityScale },
|
||||
{ NPCID.LeechBody, velocityScaleMin },
|
||||
{ NPCID.LeechTail, velocityScaleMin },
|
||||
{ NPCID.QueenSlimeBoss, velocityScaleMin },
|
||||
{ NPCID.Spazmatism, velocityScaleMin }, // Increases in phase 2
|
||||
{ NPCID.Retinazer, velocityScaleMin },
|
||||
{ NPCID.TheDestroyer, bitingEnemeyVelocityScale },
|
||||
@@ -646,6 +652,7 @@ namespace CalamityMod
|
||||
{ NPCID.PrimeVice, velocityScaleMin },
|
||||
{ NPCID.Plantera, velocityScaleMin }, // Increases in phase 2
|
||||
{ NPCID.PlanterasTentacle, bitingEnemeyVelocityScale },
|
||||
{ NPCID.HallowBoss, velocityScaleMin },
|
||||
{ NPCID.Golem, velocityScaleMin },
|
||||
{ NPCID.GolemFistLeft, velocityScaleMin },
|
||||
{ NPCID.GolemFistRight, velocityScaleMin },
|
||||
|
||||
+90
-28
@@ -1103,11 +1103,48 @@ namespace CalamityMod.NPCs
|
||||
npc.height = 90;
|
||||
npc.dontTakeDamage = false;
|
||||
}
|
||||
else if (npc.type == NPCID.HallowBoss)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 32f;
|
||||
}
|
||||
else if (npc.type == NPCID.Plantera)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 32f;
|
||||
}
|
||||
else if (CalamityLists.DestroyerIDs.Contains(npc.type))
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.25);
|
||||
npc.scale = CalamityWorld.death ? 2.5f : 1.5f;
|
||||
npc.npcSlots = 10f;
|
||||
}
|
||||
else if (npc.type == NPCID.Probe)
|
||||
{
|
||||
if (CalamityWorld.death)
|
||||
npc.lifeMax = (int)(npc.lifeMax * 2.0);
|
||||
|
||||
npc.scale = CalamityWorld.death ? 2f : 1.2f;
|
||||
}
|
||||
else if (npc.type == NPCID.SkeletronPrime)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 12f;
|
||||
}
|
||||
else if (npc.type <= NPCID.PrimeLaser && npc.type >= NPCID.PrimeCannon)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 0.65);
|
||||
}
|
||||
else if (npc.type == NPCID.Retinazer || npc.type == NPCID.Spazmatism)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 10f;
|
||||
}
|
||||
else if (npc.type == NPCID.QueenSlimeBoss)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 32f;
|
||||
}
|
||||
else if (npc.type == NPCID.WallofFlesh || npc.type == NPCID.WallofFleshEye)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
@@ -1143,6 +1180,11 @@ namespace CalamityMod.NPCs
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.4);
|
||||
npc.scale = 1.25f;
|
||||
}
|
||||
else if (npc.type == NPCID.Deerclops)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 12f;
|
||||
}
|
||||
else if (npc.type == NPCID.BrainofCthulhu)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
@@ -1177,34 +1219,6 @@ namespace CalamityMod.NPCs
|
||||
npc.knockBackResist = 0f;
|
||||
}
|
||||
|
||||
if (CalamityLists.DestroyerIDs.Contains(npc.type))
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.25);
|
||||
npc.scale = CalamityWorld.death ? 2.5f : 1.5f;
|
||||
npc.npcSlots = 10f;
|
||||
}
|
||||
else if (npc.type == NPCID.Probe)
|
||||
{
|
||||
if (CalamityWorld.death)
|
||||
npc.lifeMax = (int)(npc.lifeMax * 2.0);
|
||||
|
||||
npc.scale = CalamityWorld.death ? 2f : 1.2f;
|
||||
}
|
||||
else if (npc.type == NPCID.SkeletronPrime)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 12f;
|
||||
}
|
||||
else if (npc.type <= NPCID.PrimeLaser && npc.type >= NPCID.PrimeCannon)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 0.65);
|
||||
}
|
||||
else if (npc.type == NPCID.Retinazer || npc.type == NPCID.Spazmatism)
|
||||
{
|
||||
npc.lifeMax = (int)(npc.lifeMax * 1.2);
|
||||
npc.npcSlots = 10f;
|
||||
}
|
||||
|
||||
if (CalamityLists.revengeanceLifeStealExceptionList.Contains(npc.type))
|
||||
{
|
||||
npc.canGhostHeal = false;
|
||||
@@ -1221,7 +1235,10 @@ namespace CalamityMod.NPCs
|
||||
{
|
||||
// Regular organic desert enemies.
|
||||
case NPCID.Antlion:
|
||||
case NPCID.GiantWalkingAntlion:
|
||||
case NPCID.FlyingAntlion:
|
||||
case NPCID.GiantFlyingAntlion:
|
||||
case NPCID.LarvaeAntlion:
|
||||
case NPCID.WalkingAntlion:
|
||||
case NPCID.TombCrawlerHead:
|
||||
case NPCID.TombCrawlerBody:
|
||||
@@ -1239,6 +1256,7 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.Mummy:
|
||||
case NPCID.DarkMummy:
|
||||
case NPCID.LightMummy:
|
||||
case NPCID.BloodMummy:
|
||||
case NPCID.Tumbleweed:
|
||||
case NPCID.SandShark:
|
||||
case NPCID.SandsharkCorrupt:
|
||||
@@ -1285,6 +1303,10 @@ namespace CalamityMod.NPCs
|
||||
break;
|
||||
|
||||
// Regular slimes.
|
||||
case NPCID.QueenSlimeBoss:
|
||||
case NPCID.QueenSlimeMinionBlue:
|
||||
case NPCID.QueenSlimeMinionPink:
|
||||
case NPCID.QueenSlimeMinionPurple:
|
||||
case NPCID.DungeonSlime:
|
||||
case NPCID.BabySlime:
|
||||
case NPCID.BlackSlime:
|
||||
@@ -1333,6 +1355,13 @@ namespace CalamityMod.NPCs
|
||||
VulnerableToWater = true;
|
||||
break;
|
||||
|
||||
// Spore skeleton.
|
||||
case NPCID.SporeSkeleton:
|
||||
VulnerableToHeat = true;
|
||||
VulnerableToSickness = false;
|
||||
VulnerableToWater = true;
|
||||
break;
|
||||
|
||||
// Skeletons and other armored/bone enemies that are dead or undead.
|
||||
case NPCID.SkeletronHand:
|
||||
case NPCID.SkeletronHead:
|
||||
@@ -1402,6 +1431,7 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.GolemFistRight:
|
||||
case NPCID.GolemHead:
|
||||
case NPCID.GolemHeadFree:
|
||||
case NPCID.RockGolem:
|
||||
VulnerableToSickness = false;
|
||||
VulnerableToWater = true;
|
||||
break;
|
||||
@@ -1440,6 +1470,7 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.MartianSaucerCannon:
|
||||
case NPCID.MartianSaucerCore:
|
||||
case NPCID.MartianSaucerTurret:
|
||||
case NPCID.ChatteringTeethBomb:
|
||||
VulnerableToElectricity = true;
|
||||
VulnerableToSickness = false;
|
||||
break;
|
||||
@@ -1464,10 +1495,21 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.Reaper:
|
||||
case NPCID.Poltergeist:
|
||||
case NPCID.Pixie:
|
||||
case NPCID.PirateGhost:
|
||||
VulnerableToSickness = false;
|
||||
break;
|
||||
|
||||
// Organic enemies.
|
||||
case NPCID.HallowBoss:
|
||||
case NPCID.Gnome:
|
||||
case NPCID.BloodEelHead:
|
||||
case NPCID.BloodEelBody:
|
||||
case NPCID.BloodEelTail:
|
||||
case NPCID.BloodSquid:
|
||||
case NPCID.BloodNautilus:
|
||||
case NPCID.GoblinShark:
|
||||
case NPCID.EyeballFlyingFish:
|
||||
case NPCID.ZombieMerman:
|
||||
case NPCID.CultistArcherBlue:
|
||||
case NPCID.CultistArcherWhite:
|
||||
case NPCID.CultistBoss:
|
||||
@@ -1483,6 +1525,7 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.GiantFungiBulb:
|
||||
case NPCID.FungiBulb:
|
||||
case NPCID.MushiLadybug:
|
||||
case NPCID.SporeBat:
|
||||
case NPCID.ZombieMushroom:
|
||||
case NPCID.ZombieMushroomHat:
|
||||
case NPCID.ManEater:
|
||||
@@ -1546,6 +1589,7 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.BigSwampZombie:
|
||||
case NPCID.BigTwiggyZombie:
|
||||
case NPCID.BigZombie:
|
||||
case NPCID.MaggotZombie:
|
||||
case NPCID.BloodZombie:
|
||||
case NPCID.FemaleZombie:
|
||||
case NPCID.PincushionZombie:
|
||||
@@ -1791,6 +1835,7 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.ZombieElf:
|
||||
case NPCID.ZombieElfBeard:
|
||||
case NPCID.ZombieElfGirl:
|
||||
case NPCID.Deerclops:
|
||||
VulnerableToHeat = true;
|
||||
VulnerableToCold = false;
|
||||
VulnerableToSickness = true;
|
||||
@@ -1949,6 +1994,14 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.PumpkingBlade:
|
||||
case NPCID.SantaNK1:
|
||||
case NPCID.DukeFishron:
|
||||
case NPCID.RockGolem:
|
||||
case NPCID.BloodEelHead:
|
||||
case NPCID.BloodNautilus:
|
||||
case NPCID.GoblinShark:
|
||||
case NPCID.ZombieMerman:
|
||||
case NPCID.HallowBoss:
|
||||
case NPCID.QueenSlimeBoss:
|
||||
case NPCID.Deerclops:
|
||||
canBreakPlayerDefense = true;
|
||||
break;
|
||||
|
||||
@@ -5268,10 +5321,16 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.SkeletronHead:
|
||||
return NPC.downedBoss3;
|
||||
|
||||
case NPCID.Deerclops:
|
||||
return NPC.downedDeerclops;
|
||||
|
||||
case NPCID.WallofFlesh:
|
||||
case NPCID.WallofFleshEye:
|
||||
return Main.hardMode;
|
||||
|
||||
case NPCID.QueenSlimeBoss:
|
||||
return NPC.downedQueenSlime;
|
||||
|
||||
case NPCID.TheDestroyer:
|
||||
case NPCID.TheDestroyerBody:
|
||||
case NPCID.TheDestroyerTail:
|
||||
@@ -5287,6 +5346,9 @@ namespace CalamityMod.NPCs
|
||||
case NPCID.Plantera:
|
||||
return NPC.downedPlantBoss;
|
||||
|
||||
case NPCID.HallowBoss:
|
||||
return NPC.downedEmpressOfLight;
|
||||
|
||||
case NPCID.Golem:
|
||||
case NPCID.GolemHead:
|
||||
return NPC.downedGolemBoss;
|
||||
|
||||
@@ -1288,6 +1288,10 @@ namespace CalamityMod.NPCs
|
||||
SetNewBossJustDowned(npc);
|
||||
break;
|
||||
|
||||
case NPCID.Deerclops:
|
||||
SetNewBossJustDowned(npc);
|
||||
break;
|
||||
|
||||
case NPCID.QueenBee:
|
||||
SetNewShopVariable(new int[] { NPCID.ArmsDealer, NPCID.Dryad }, NPC.downedQueenBee);
|
||||
SetNewBossJustDowned(npc);
|
||||
@@ -1324,6 +1328,10 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
break;
|
||||
|
||||
case NPCID.QueenSlimeBoss:
|
||||
SetNewBossJustDowned(npc);
|
||||
break;
|
||||
|
||||
case NPCID.TheDestroyer:
|
||||
SetNewShopVariable(new int[] { NPCID.DD2Bartender, NPCID.Stylist, NPCID.Truffle, ModContent.NPCType<THIEF>() }, NPC.downedMechBossAny);
|
||||
SetNewShopVariable(new int[] { NPCID.Stylist, ModContent.NPCType<DILF>(), ModContent.NPCType<FAP>(), ModContent.NPCType<THIEF>() }, NPC.downedMechBoss1 || !NPC.downedMechBoss2 || !NPC.downedMechBoss3);
|
||||
@@ -1372,6 +1380,10 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
break;
|
||||
|
||||
case NPCID.HallowBoss:
|
||||
SetNewBossJustDowned(npc);
|
||||
break;
|
||||
|
||||
case NPCID.Everscream:
|
||||
SetNewShopVariable(new int[] { ModContent.NPCType<DILF>() }, NPC.downedChristmasTree || !NPC.downedChristmasSantank || !NPC.downedChristmasIceQueen);
|
||||
break;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.CalPlayer;
|
||||
using CalamityMod.Events;
|
||||
@@ -401,6 +401,12 @@ namespace CalamityMod.Projectiles
|
||||
case ProjectileID.Cthulunado:
|
||||
case ProjectileID.PhantasmalSphere:
|
||||
case ProjectileID.PhantasmalDeathray:
|
||||
case ProjectileID.RockGolemRock:
|
||||
case ProjectileID.HallowBossLastingRainbow:
|
||||
case ProjectileID.FairyQueenSunDance:
|
||||
case ProjectileID.FairyQueenLance:
|
||||
case ProjectileID.DeerclopsIceSpike:
|
||||
case ProjectileID.DeerclopsRangedProjectile:
|
||||
canBreakPlayerDefense = true;
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user