Suggestions and extra changes

- Renamed Supreme brothers (subject to change again)
- Increased Blood Orb fishing drops
- More clockwork tooltip updating
- Saros no longer fake swings with insufficient summoning power
- Cleaner health numbers
- Balancing crap
This commit is contained in:
Altixal committed 2023-03-20 02:31:37 +07:00
1 parent 12006008ed
commit b709f756cf
63 files changed
+87 -79

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void SetDefaults()
{
Item.damage = 128;
Item.damage = 96;
Item.DamageType = DamageClass.Magic;
Item.mana = 18;
Item.width = 56;
+2 -2
View File
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Weapons.Magic
Item.mana = 13;
Item.width = 28;
Item.height = 30;
Item.useTime = 15;
Item.useAnimation = 15;
Item.useTime = 20;
Item.useAnimation = 20;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 5.5f;
+2 -2
View File
@@ -25,8 +25,8 @@ namespace CalamityMod.Items.Weapons.Magic
Item.mana = 18;
Item.width = 28;
Item.height = 30;
Item.useTime = 15;
Item.useAnimation = 15;
Item.useTime = 20;
Item.useAnimation = 20;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 5.5f;
+1 -1
View File
@@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Melee
Item.width = 100;
Item.height = 100;
Item.autoReuse = true;
Item.useAnimation = Item.useTime = 72;
Item.useAnimation = Item.useTime = 64;
Item.shoot = ModContent.ProjectileType<Rox1>();
Item.shootSpeed = 10f;
+2 -1
View File
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Clockwork Bow");
Tooltip.SetDefault("Hold to load up to six homing precision bolts");
Tooltip.SetDefault("Hold to load up to six homing precision bolts\n" +
"Loads slightly faster when continuously used");
SacrificeTotal = 1;
}
+1 -1
View File
@@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Summon
Item.noMelee = true;
}
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0 && player.maxMinions >= 8;
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
+1 -1
View File
@@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.Abyss
NPC.width = 78;
NPC.height = 78;
NPC.defense = 50;
NPC.lifeMax = 5625;
NPC.lifeMax = 5600;
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
+2 -2
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.height = 20;
NPC.damage = 20;
NPC.lifeMax = 42;
NPC.lifeMax = 45;
NPC.defense = 4;
NPC.knockBackResist = 0.9f;
@@ -59,7 +59,7 @@ namespace CalamityMod.NPCs.AcidRain
else if (DownedBossSystem.downedAquaticScourge)
{
NPC.damage = 50;
NPC.lifeMax = 176;
NPC.lifeMax = 180;
}
NPC.value = Item.buyPrice(0, 0, 3, 32);
+1 -1
View File
@@ -43,7 +43,7 @@ namespace CalamityMod.NPCs.AcidRain
if (DownedBossSystem.downedPolterghast)
{
NPC.lifeMax = 4125;
NPC.lifeMax = 4200;
NPC.DR_NERD(0.2f);
}
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.height = 44;
NPC.damage = 110;
NPC.lifeMax = 5060;
NPC.lifeMax = 5000;
NPC.DR_NERD(0.15f);
NPC.defense = 25;
+6 -1
View File
@@ -69,7 +69,7 @@ namespace CalamityMod.NPCs.AcidRain
NPC.height = 90;
NPC.defense = 50;
NPC.DR_NERD(0.05f);
NPC.lifeMax = 88500;
NPC.lifeMax = 90000;
NPC.aiStyle = -1;
AIType = -1;
NPC.value = Item.buyPrice(0, 25, 0, 0);
@@ -429,6 +429,11 @@ namespace CalamityMod.NPCs.AcidRain
return false;
}
public override void ScaleExpertStats(int numPlayers, float bossLifeScale)
{
NPC.lifeMax = (int)(NPC.lifeMax * 0.8f * bossLifeScale);
}
public override void FindFrame(int frameHeight)
{
NPC.frame.Y = CurrentFrame * frameHeight;
+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.AcidRain
if (DownedBossSystem.downedPolterghast)
{
NPC.damage = 80;
NPC.lifeMax = 4125;
NPC.lifeMax = 4200;
NPC.defense = 30;
}
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
NPC.width = 60;
NPC.height = 88;
NPC.defense = 0;
NPC.LifeMaxNERB(2415000, 2898000);
NPC.LifeMaxNERB(2500000, 3000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.aiStyle = -1;
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
NPC.width = 60;
NPC.height = 88;
NPC.defense = 0;
NPC.LifeMaxNERB(2415000, 2898000);
NPC.LifeMaxNERB(2500000, 3000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.aiStyle = -1;
@@ -102,7 +102,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
NPC.GetNPCDamage();
NPC.width = 254;
NPC.height = 138;
NPC.LifeMaxNERB(2415000, 2898000);
NPC.LifeMaxNERB(2500000, 3000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.aiStyle = -1;
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
NPC.width = 86;
NPC.height = 120;
NPC.defense = 0;
NPC.LifeMaxNERB(2415000, 2898000);
NPC.LifeMaxNERB(2500000, 3000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.aiStyle = -1;
+1 -1
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.NPCs.AquaticScourge
AIType = -1;
NPC.knockBackResist = 0f;
NPC.alpha = 255;
NPC.LifeMaxNERB(77000, 92000, 1000000);
NPC.LifeMaxNERB(80000, 96000, 1000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.behindTiles = true;
+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.AquaticScourge
AIType = -1;
NPC.knockBackResist = 0f;
NPC.alpha = 255;
NPC.LifeMaxNERB(77000, 92000, 1000000);
NPC.LifeMaxNERB(80000, 96000, 1000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.behindTiles = true;
+1 -1
View File
@@ -60,7 +60,7 @@ namespace CalamityMod.NPCs.AquaticScourge
NPC.DR_NERD(0.05f);
NPC.aiStyle = -1;
AIType = -1;
NPC.LifeMaxNERB(77000, 92000, 1000000);
NPC.LifeMaxNERB(80000, 96000, 1000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.AquaticScourge
AIType = -1;
NPC.knockBackResist = 0f;
NPC.alpha = 255;
NPC.LifeMaxNERB(77000, 92000, 1000000);
NPC.LifeMaxNERB(80000, 96000, 1000000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.behindTiles = true;
+1 -1
View File
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Astral
{
NPC.damage = 65;
NPC.defense = 18;
NPC.lifeMax = 310;
NPC.lifeMax = 300;
}
NPC.Calamity().VulnerableToHeat = true;
NPC.Calamity().VulnerableToSickness = false;
+1 -1
View File
@@ -55,7 +55,7 @@ namespace CalamityMod.NPCs.Astral
NPC.damage = 80;
NPC.defense = 18;
NPC.knockBackResist = 0.65f;
NPC.lifeMax = 490;
NPC.lifeMax = 500;
}
NPC.Calamity().VulnerableToHeat = true;
NPC.Calamity().VulnerableToSickness = false;
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Astral
NPC.damage = 55;
NPC.defense = 15;
NPC.DR_NERD(0.15f);
NPC.lifeMax = 470;
NPC.lifeMax = 480;
NPC.DeathSound = CommonCalamitySounds.AstralNPCDeathSound;
NPC.knockBackResist = 0f;
NPC.value = Item.buyPrice(0, 0, 15, 0);
+1 -1
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.NPCs.AstrumAureus
NPC.height = 374;
NPC.defense = 40;
NPC.DR_NERD(0.5f);
NPC.LifeMaxNERB(98000, 117600, 740000); // 30 seconds in boss rush
NPC.LifeMaxNERB(100000, 120000, 740000); // 30 seconds in boss rush
NPC.aiStyle = -1;
AIType = -1;
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -63,7 +63,7 @@ namespace CalamityMod.NPCs.Bumblebirb
NPC.height = 100;
NPC.defense = 40;
NPC.DR_NERD(0.1f);
NPC.LifeMaxNERB(190200, 228240, 300000); // Old HP - 227500, 252500
NPC.LifeMaxNERB(187500, 225000, 300000); // Old HP - 227500, 252500
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+6 -6
View File
@@ -1159,7 +1159,7 @@ namespace CalamityMod.NPCs
break;
case NPCID.CultistBoss:
npc.lifeMax = 44500;
npc.lifeMax = 80000;
break;
case NPCID.CultistDragonBody1:
@@ -1168,7 +1168,7 @@ namespace CalamityMod.NPCs
case NPCID.CultistDragonBody4:
case NPCID.CultistDragonHead:
case NPCID.CultistDragonTail:
npc.lifeMax = 41600;
npc.lifeMax = 40000;
break;
case NPCID.DukeFishron:
@@ -1189,7 +1189,7 @@ namespace CalamityMod.NPCs
break;
case NPCID.HallowBoss:
npc.lifeMax = 105000;
npc.lifeMax = 100000;
break;
case NPCID.Plantera:
@@ -1214,11 +1214,11 @@ namespace CalamityMod.NPCs
break;
case NPCID.Deerclops:
npc.lifeMax = 10500;
npc.lifeMax = 10000;
break;
case NPCID.BrainofCthulhu:
npc.lifeMax = 1400;
npc.lifeMax = 1500;
break;
case NPCID.EaterofWorldsBody:
@@ -1228,7 +1228,7 @@ namespace CalamityMod.NPCs
break;
case NPCID.EyeofCthulhu:
npc.lifeMax = 3050;
npc.lifeMax = 3000;
break;
}
}
+4 -4
View File
@@ -480,21 +480,21 @@ namespace CalamityMod.NPCs
// Bouncing Eyeball @ 10% Normal, 16.66% Expert+
case NPCID.EyeballFlyingFish:
npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType<BouncingEyeball>(), 10, 6));
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 3, 6);
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 10, 12);
break;
case NPCID.ZombieMerman:
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 3, 6);
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 10, 12);
break;
case NPCID.GoblinShark:
case NPCID.BloodEelHead:
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 15, 30);
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 40, 48);
break;
// Dreadnautilus drops the Blood Moon lore
case NPCID.BloodNautilus:
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 20, 40);
npcLoot.Add(ModContent.ItemType<BloodOrb>(), 1, 100, 120);
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedDreadnautilus, ModContent.ItemType<LoreBloodMoon>(), desc: DropHelper.FirstKillText);
break;
#endregion
+1 -1
View File
@@ -57,7 +57,7 @@ namespace CalamityMod.NPCs.CeaselessVoid
NPC.defense = 80;
CalamityGlobalNPC global = NPC.Calamity();
global.DR = 0.5f;
NPC.LifeMaxNERB(64400, 77280, 72000);
NPC.LifeMaxNERB(65000, 78000, 72000);
NPC.value = Item.buyPrice(2, 0, 0, 0);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
+1 -1
View File
@@ -57,7 +57,7 @@ namespace CalamityMod.NPCs.DevourerofGods
NPC.chaseable = false;
NPC.canGhostHeal = false;
}
NPC.LifeMaxNERB(888750, 1066500, 1500000); // Phase 1 is 371250, Phase 2 is 517500
NPC.LifeMaxNERB(887500, 1065000, 1500000); // Phase 1 is 355000, Phase 2 is 532500
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.aiStyle = -1;
+1 -1
View File
@@ -187,7 +187,7 @@ namespace CalamityMod.NPCs.DevourerofGods
NPC.width = 104;
NPC.height = 104;
NPC.defense = 50;
NPC.LifeMaxNERB(888750, 1066500, 1500000); // Phase 1 is 371250, Phase 2 is 517500
NPC.LifeMaxNERB(887500, 1065000, 1500000); // Phase 1 is 355000, Phase 2 is 532500
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.takenDamageMultiplier = 1.1f;
+1 -1
View File
@@ -56,7 +56,7 @@ namespace CalamityMod.NPCs.DevourerofGods
NPC.width = 66;
NPC.height = 66;
NPC.defense = 50;
NPC.LifeMaxNERB(888750, 1066500, 1500000); // Phase 1 is 371250, Phase 2 is 517500
NPC.LifeMaxNERB(887500, 1065000, 1500000); // Phase 1 is 355000, Phase 2 is 532500
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.aiStyle = -1;
+1 -1
View File
@@ -56,7 +56,7 @@ namespace CalamityMod.NPCs.Leviathan
NPC.height = 100;
NPC.defense = 20;
NPC.DR_NERD(0.2f);
NPC.LifeMaxNERB(34700, 41600, 260000);
NPC.LifeMaxNERB(35000, 42000, 260000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -63,7 +63,7 @@ namespace CalamityMod.NPCs.Leviathan
NPC.height = 450;
NPC.defense = 40;
NPC.DR_NERD(0.35f);
NPC.LifeMaxNERB(60500, 72560, 600000);
NPC.LifeMaxNERB(60000, 72000, 600000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -65,7 +65,7 @@ namespace CalamityMod.NPCs.OldDuke
NPC.GetNPCDamage();
NPC.defense = 90;
NPC.DR_NERD(0.5f, null, null, null, true);
NPC.LifeMaxNERB(495000, 594000, 400000);
NPC.LifeMaxNERB(500000, 600000, 400000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+2 -2
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Other
NPC.defense = 0;
// This is meant to be created after SCal is defeated and should be at least a little challenging.
NPC.lifeMax = 101010;
NPC.lifeMax = 100000;
NPC.HitSound = SoundID.NPCHit47;
NPC.DeathSound = SoundID.NPCDeath18;
NPC.noGravity = true;
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Other
NPC.Calamity().VulnerableToWater = true;
}
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 101010;
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 100000;
public override void AI()
{
+2 -2
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.Other
NPC.width = NPC.height = 60;
NPC.damage = 0;
NPC.defense = 0;
NPC.lifeMax = 24660;
NPC.lifeMax = 25000;
NPC.noGravity = true;
NPC.noTileCollide = true;
NPC.value = 0f;
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Other
NPC.Calamity().VulnerableToWater = true;
}
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 24660;
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 25000;
public override void AI()
{
+2 -2
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.Other
NPC.width = NPC.height = 38;
NPC.damage = 0;
NPC.defense = 0;
NPC.lifeMax = 51740;
NPC.lifeMax = 50000;
NPC.noGravity = true;
NPC.noTileCollide = true;
NPC.value = 0f;
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Other
NPC.Calamity().VulnerableToWater = true;
}
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 51740;
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 50000;
public override void AI()
{
+2 -2
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.NPCs.Other
NPC.width = NPC.height = 28;
NPC.damage = 0;
NPC.defense = 0;
NPC.lifeMax = 181445;
NPC.lifeMax = 180000;
NPC.noGravity = true;
NPC.noTileCollide = true;
NPC.value = 0f;
@@ -48,7 +48,7 @@ namespace CalamityMod.NPCs.Other
NPC.Calamity().VulnerableToWater = true;
}
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 181445;
public override void ScaleExpertStats(int numPlayers, float bossLifeScale) => NPC.lifeMax = 180000;
public override void AI()
{
@@ -80,7 +80,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
NPC.height = 198;
NPC.defense = 50;
NPC.DR_NERD(0.3f);
NPC.LifeMaxNERB(88750, 106500, 370000);
NPC.LifeMaxNERB(87500, 105000, 370000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.NPCs.Polterghast
NPC.noTileCollide = true;
NPC.canGhostHeal = false;
NPC.damage = 0;
NPC.LifeMaxNERB(Main.expertMode ? 22500 : 17500, CalamityWorld.death ? 45000 : 37500, 30000);
NPC.LifeMaxNERB(Main.expertMode ? 22500 : 17500, 37500, 30000);
NPC.HitSound = SoundID.NPCHit36;
NPC.DeathSound = SoundID.NPCDeath39;
NPC.Calamity().VulnerableToSickness = false;
+1 -1
View File
@@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.Polterghast
NPC.height = 120;
NPC.defense = 45;
NPC.DR_NERD(0.1f);
NPC.LifeMaxNERB(Main.expertMode ? 45000 : 35000, CalamityWorld.death ? 90000 : 75000, 60000);
NPC.LifeMaxNERB(62500, 75000, 60000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
@@ -63,7 +63,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians
NPC.height = 186;
NPC.defense = 40;
NPC.DR_NERD(0.3f);
NPC.LifeMaxNERB(108000, 129600, 200000);
NPC.LifeMaxNERB(100000, 120000, 200000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -71,7 +71,7 @@ namespace CalamityMod.NPCs.Ravager
NPC.defense = 55;
NPC.value = Item.buyPrice(0, 75, 0, 0);
NPC.DR_NERD(0.35f);
NPC.LifeMaxNERB(44600, 53500, 460000);
NPC.LifeMaxNERB(45000, 54000, 460000);
if (DownedBossSystem.downedProvidence && !BossRushEvent.BossRushActive)
{
NPC.damage = (int)(NPC.damage * 1.5);
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.Ravager
NPC.height = 40;
NPC.defense = 40;
NPC.DR_NERD(0.15f);
NPC.lifeMax = 12788;
NPC.lifeMax = 12500;
NPC.knockBackResist = 0f;
AIType = -1;
NPC.noGravity = true;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.Ravager
NPC.height = 40;
NPC.defense = 40;
NPC.DR_NERD(0.15f);
NPC.lifeMax = 12788;
NPC.lifeMax = 12500;
NPC.knockBackResist = 0f;
AIType = -1;
NPC.netAlways = true;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Ravager
NPC.height = 80;
NPC.defense = 40;
NPC.DR_NERD(0.15f);
NPC.lifeMax = 19182;
NPC.lifeMax = 20000;
NPC.knockBackResist = 0f;
AIType = -1;
NPC.netAlways = true;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Ravager
NPC.height = 80;
NPC.defense = 40;
NPC.DR_NERD(0.15f);
NPC.lifeMax = 9591;
NPC.lifeMax = 10000;
NPC.knockBackResist = 0f;
AIType = -1;
NPC.netAlways = true;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.NPCs.Ravager
NPC.height = 60;
NPC.defense = 40;
NPC.DR_NERD(0.15f);
NPC.lifeMax = 12788;
NPC.lifeMax = 12500;
NPC.knockBackResist = 0f;
AIType = -1;
NPC.netAlways = true;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.NPCs.Ravager
NPC.height = 60;
NPC.defense = 40;
NPC.DR_NERD(0.15f);
NPC.lifeMax = 12788;
NPC.lifeMax = 12500;
NPC.knockBackResist = 0f;
AIType = -1;
NPC.netAlways = true;
+1 -1
View File
@@ -63,7 +63,7 @@ namespace CalamityMod.NPCs.Signus
NPC.width = 130;
NPC.height = 130;
NPC.defense = 60;
NPC.LifeMaxNERB(297000, 356400, 320000);
NPC.LifeMaxNERB(300000, 360000, 320000);
NPC.value = Item.buyPrice(2, 0, 0, 0);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
+1 -1
View File
@@ -32,7 +32,7 @@ namespace CalamityMod.NPCs.SlimeGod
NPC.height = 92;
NPC.scale = 1.1f;
NPC.defense = 12;
NPC.LifeMaxNERB(7200, 8640, 160000);
NPC.LifeMaxNERB(7500, 9000, 160000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+1 -1
View File
@@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.SlimeGod
public override void SetDefaults()
{
NPC.Calamity().canBreakPlayerDefense = true;
NPC.LifeMaxNERB(1800, 2160, 80000);
NPC.LifeMaxNERB(1875, 2250, 80000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.GetNPCDamage();
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.StormWeaver
NPC.npcSlots = 5f;
NPC.width = 40;
NPC.height = 40;
NPC.lifeMax = 825500;
NPC.lifeMax = 825000;
NPC.LifeMaxNERB(NPC.lifeMax, NPC.lifeMax, 500000);
// Phase one settings
+1 -1
View File
@@ -80,7 +80,7 @@ namespace CalamityMod.NPCs.StormWeaver
NPC.npcSlots = 5f;
NPC.width = 74;
NPC.height = 74;
NPC.lifeMax = 825500;
NPC.lifeMax = 825000;
NPC.LifeMaxNERB(NPC.lifeMax, NPC.lifeMax, 500000);
NPC.value = Item.buyPrice(2, 0, 0, 0);
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.NPCs.StormWeaver
NPC.npcSlots = 5f;
NPC.width = 48;
NPC.height = 80;
NPC.lifeMax = 825500;
NPC.lifeMax = 825000;
NPC.LifeMaxNERB(NPC.lifeMax, NPC.lifeMax, 500000);
// Phase one settings
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.SulphurousSea
NPC.width = 56;
NPC.height = 42;
NPC.defense = 22;
NPC.lifeMax = 920;
NPC.lifeMax = 900;
NPC.aiStyle = AIType = -1;
NPC.value = Item.buyPrice(0, 0, 1, 0);
NPC.HitSound = SoundID.NPCHit38;
+1 -1
View File
@@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Cataclysm");
DisplayName.SetDefault("Supreme Cataclysm");
Main.npcFrameCount[NPC.type] = 9;
NPCID.Sets.TrailingMode[NPC.type] = 1;
NPCID.Sets.BossBestiaryPriority.Add(Type);
+1 -1
View File
@@ -34,7 +34,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Catastrophe");
DisplayName.SetDefault("Supreme Catastrophe");
Main.npcFrameCount[NPC.type] = 8;
NPCID.Sets.TrailingMode[NPC.type] = 1;
NPCID.Sets.BossBestiaryPriority.Add(Type);
+1 -1
View File
@@ -95,7 +95,7 @@ namespace CalamityMod.NPCs.Yharon
NPC.width = 200;
NPC.height = 200;
NPC.defense = 90;
NPC.LifeMaxNERB(1302000, 1562400, 740000);
NPC.LifeMaxNERB(1300000, 1560000, 740000);
double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01;
NPC.lifeMax += (int)(NPC.lifeMax * HPBoost);
NPC.knockBackResist = 0f;
+2 -2
View File
@@ -27,8 +27,8 @@ namespace CalamityMod.Projectiles.Magic
Projectile.coldDamage = true;
Projectile.ignoreWater = true;
Projectile.alpha = 255;
Projectile.usesLocalNPCImmunity = true;
Projectile.localNPCHitCooldown = 10;
Projectile.usesIDStaticNPCImmunity = true;
Projectile.idStaticNPCHitCooldown = 10;
}
public override void AI()
+2
View File
@@ -14,6 +14,8 @@ namespace CalamityMod.Projectiles.Melee
Projectile.friendly = true;
Projectile.tileCollide = false;
Projectile.timeLeft = 40;
Projectile.usesLocalNPCImmunity = true;
Projectile.localNPCHitCooldown = 10;
}
}
}
+3 -1
View File
@@ -54,7 +54,9 @@ namespace CalamityMod.Projectiles.Melee
//reset player fall damage
player.fallStart = (int)(player.position.Y / 16f);
//Spawns the shockwave
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<RoxShockwave>(), 300, 12, Projectile.owner);
int slamDamage = (int)player.GetTotalDamage<MeleeDamageClass>().ApplyTo(300);
float slamKB = player.GetTotalKnockback<MeleeDamageClass>().ApplyTo(12f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<RoxShockwave>(), slamDamage, slamKB, Projectile.owner);
SoundEngine.PlaySound(SoundID.Item14, Projectile.position);
Projectile.Kill();
//Pretty things
@@ -196,8 +196,6 @@ namespace CalamityMod.Projectiles.Ranged
Owner.itemRotation = (Projectile.velocity * Projectile.direction).ToRotation();
}
public override bool PreDraw(ref Color lightColor)
{
float loops = LoadedBolts + 1;