another damnage pml

This commit is contained in:
Altixal committed 2025-08-27 06:39:09 +07:00
1 parent 3752c17620
commit a4d8d3f3b1
4 files changed
+9 -13

No files matched your search

+6 -10
View File
@@ -60,13 +60,14 @@ namespace CalamityMod.NPCs.Bumblebirb
public override string Texture => "CalamityMod/NPCs/Bumblebirb/Birb";
public override string BossHeadTexture => "CalamityMod/NPCs/Bumblebirb/Birb_Head_Boss";
public static int FeatherDamage = 42; // 168
public static float DashDamageMult = 1.5f; // 240
public static int FeatherDamage = 40; // 160
public static int LightningDamage = 65; // 260
public override void SetDefaults()
{
NPC.Calamity().canBreakPlayerDefense = true;
NPC.damage = 120; // 240
NPC.damage = 80; // 160
NPC.npcSlots = 32f;
NPC.aiStyle = -1;
AIType = -1;
@@ -228,8 +229,6 @@ namespace CalamityMod.NPCs.Bumblebirb
calamityGlobalNPC.DR = phaseSwitchPhase || NPC.ai[0] == 5f || enrageScale == 3f ? 0.55f : 0.1f;
calamityGlobalNPC.CurrentlyIncreasingDefenseOrDR = phaseSwitchPhase || NPC.ai[0] == 5f || enrageScale == 3f;
int reducedSetDamage = (int)Math.Round(NPC.defDamage * 0.5);
if (phaseSwitchPhase)
{
// Avoid cheap bullshit
@@ -618,8 +617,7 @@ namespace CalamityMod.NPCs.Bumblebirb
// Fly towards target quickly
else if (NPC.ai[0] == 2f)
{
// Set reduced damage
NPC.damage = reducedSetDamage;
NPC.damage = NPC.defDamage;
if (NPC.target < 0 || !player.active || player.dead)
{
@@ -735,8 +733,7 @@ namespace CalamityMod.NPCs.Bumblebirb
NPC.ai[1] += 1f;
if (NPC.ai[1] > 10f)
{
// Set damage
NPC.damage = NPC.defDamage;
NPC.damage = (int)Math.Round(NPC.defDamage * DashDamageMult);
NPC.velocity = follyChargePrepareTargetDirection;
@@ -756,8 +753,7 @@ namespace CalamityMod.NPCs.Bumblebirb
// Charge
else if (NPC.ai[0] == 3.2f)
{
// Set damage
NPC.damage = NPC.defDamage;
NPC.damage = (int)Math.Round(NPC.defDamage * DashDamageMult);
NPC.ai[2] += 0.0333333351f;
float velocity = 28f + (enrageScale - 1f) * 4f;
+1 -1
View File
@@ -86,7 +86,7 @@ namespace CalamityMod.NPCs.OldDuke
public static float Phase2ContactDamageMult = 1.1f; // 308
public static float Phase3ContactDamageMult = 1.2f; // 336
public static int GoreDamage = 60; // 240
public static int GoreDamage = 55; // 220
public static int VortexDamage = 105; // 420
// GFB exclusive
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.NPCs.OldDuke
this.HideFromBestiary();
}
public static int ToothDamage = 60; // 240
public static int ToothDamage = 55; // 220
public static int CloudDamage = 70; // 280
public override void SetDefaults()
+1 -1
View File
@@ -85,7 +85,7 @@ namespace CalamityMod.NPCs.StormWeaver
public static int LightningDamage = 64; // 256
public static int FrostWaveDamage = 64; // 256
public static int TornadoDamage = 66; // 264
public static int TornadoDamage = 72; // 288
public override void SetDefaults()
{