plant on brimstone fire
This commit is contained in:
1 parent
54d6a00505
commit
2e40725bd5
16 files changed
+24
-25
No files matched your search
@@ -1374,7 +1374,7 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
else if (proj.type == ProjectileID.ThornBall)
|
||||
{
|
||||
Player.AddBuff(BuffID.Poisoned, 420);
|
||||
Player.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
else if (proj.type == ProjectileID.CultistBossFireBall)
|
||||
{
|
||||
|
||||
@@ -66,9 +66,9 @@ namespace CalamityMod.NPCs.BrimstoneElemental
|
||||
}
|
||||
|
||||
// These values are all applied alongside their respective GFB attacks (too many to list)
|
||||
public static int DartDamage = 21; // 84
|
||||
public static int HellblastDamage = 25; // 100
|
||||
public static int HellfireballDamage = 25; // 100
|
||||
public static int DartDamage = 19; // 76
|
||||
public static int HellblastDamage = 22; // 88
|
||||
public static int HellfireballDamage = 22; // 88
|
||||
public static int RayDamage = 35; // 140
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -61,9 +61,9 @@ namespace CalamityMod.NPCs.CalClone
|
||||
}
|
||||
}
|
||||
|
||||
public static int DartDamage = 23; // 92
|
||||
public static int HellblastDamage = 27; // 108
|
||||
public static int HellfireballDamage = 27; // 108
|
||||
public static int DartDamage = 22; // 88
|
||||
public static int HellblastDamage = 25; // 100
|
||||
public static int HellfireballDamage = 25; // 100
|
||||
public static int FireblastDamage = 35; // 140; Also applies to GFB Gigablasts
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -1008,7 +1008,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 360);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -552,7 +552,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -43,13 +43,13 @@ namespace CalamityMod.NPCs.CalClone
|
||||
}
|
||||
}
|
||||
|
||||
public static int BallDamage = 27; // 108
|
||||
public static int BallDamage = 22; // 88
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
NPC.BossBar = Main.BigBossProgressBar.NeverValid;
|
||||
NPC.Calamity().canBreakPlayerDefense = true;
|
||||
NPC.damage = 50; // 100
|
||||
NPC.damage = 45; // 90
|
||||
NPC.npcSlots = 5f;
|
||||
NPC.width = 120;
|
||||
NPC.height = 120;
|
||||
@@ -542,7 +542,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,10 +28,9 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
NPC.Calamity().canBreakPlayerDefense = true;
|
||||
NPC.damage = 60;
|
||||
NPC.aiStyle = -1;
|
||||
AIType = -1;
|
||||
NPC.damage = 60;
|
||||
NPC.width = 24;
|
||||
NPC.height = 24;
|
||||
NPC.defense = 20;
|
||||
|
||||
@@ -32,12 +32,13 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
public static int PinkSeedDamage = 19; // 76
|
||||
public static int PoisonSeedDamage = 24; // 96
|
||||
public static int ThornBallDamage = 27; // 108
|
||||
public static int ThornBallSpikeDamage = 22; // 88
|
||||
|
||||
// Rev+ exclusive
|
||||
public static int ThornBallSpikeDamage = 22; // 88
|
||||
public static int GasBulbDamage = 27; // 108
|
||||
public static int PinkCloudDamage = 22; // 88
|
||||
public static int GreenCloudDamage = 24; // 96
|
||||
public static float DashDamageMult = 1.25f; // 175
|
||||
|
||||
public static bool BuffedPlanteraAI(NPC npc, Mod mod)
|
||||
{
|
||||
@@ -433,6 +434,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
// Emit spore gas in phase 3
|
||||
else if (npc.ai[3] <= BeginChargeGateValue)
|
||||
{
|
||||
npc.damage = (int)Math.Round(npc.defDamage * Phase2ContactDamageMult * DashDamageMult);
|
||||
float sporeGasDashGateValue = death ? 6f : 9f;
|
||||
if (phase3 && npc.ai[3] % sporeGasDashGateValue == 0f)
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (info.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 90);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -122,7 +122,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (Projectile.ai[0] == 0f || Main.zenithWorld)
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 180);
|
||||
else
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 90);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (info.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 150);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
|
||||
// Cook you up (still scales with player size in case it's manipulated)
|
||||
int smokeCount = 4 + (int)MathHelper.Clamp(target.width * 0.1f, 0f, 20f);
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (Projectile.ai[0] == 0f || Main.zenithWorld)
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 180);
|
||||
else
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 90);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
}
|
||||
|
||||
public override void OnKill(int timeLeft)
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (Projectile.ai[0] == 0f || Main.zenithWorld)
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 180);
|
||||
else
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 90);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,6 @@ namespace CalamityMod.Projectiles.Boss
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Projectile.Calamity().DealsDefenseDamage = true;
|
||||
Projectile.width = 34;
|
||||
Projectile.height = 34;
|
||||
Projectile.hostile = true;
|
||||
@@ -83,7 +82,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (info.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 150);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
}
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
|
||||
@@ -233,7 +233,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (info.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 150);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
}
|
||||
|
||||
public override bool CanHitPlayer(Player target) => Projectile.scale >= 0.5f;
|
||||
|
||||
@@ -28,7 +28,6 @@ namespace CalamityMod.Projectiles.Boss
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Projectile.Calamity().DealsDefenseDamage = true;
|
||||
Projectile.width = 32;
|
||||
Projectile.height = 32;
|
||||
Projectile.hostile = true;
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
Projectile.rotation = (float)Math.Atan2(Projectile.velocity.Y, Projectile.velocity.X) + MathHelper.PiOver2;
|
||||
}
|
||||
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(BuffID.Venom, 90);
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(BuffID.Venom, 120);
|
||||
|
||||
public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, Projectile.alpha);
|
||||
|
||||
|
||||
Reference in new issue
Block a user