Merge branch 'dog-tweaks' of https://github.com/CalamityTeam/CalamityMod into dog-tweaks

This commit is contained in:
Doze-Zoze committed 2025-06-15 17:46:31 -05:00
commit ddf481db69
3 files changed
+1 -19

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.SummonItems
Color messageColor = Color.Cyan;
CalamityUtils.DisplayLocalizedText(key, messageColor);
CalamityUtils.SpawnBossUsingItem<DevourerofGodsHead>(player, DevourerofGodsHead.SpawnSound);
CalamityUtils.SpawnBossOnPosUsingItem<DevourerofGodsHead>(player, (int)player.Center.X, (int)player.Center.Y - 1600, DevourerofGodsHead.SpawnSound);
return true;
}
@@ -440,14 +440,5 @@ namespace CalamityMod.NPCs.DevourerofGods
NPC.lifeMax = (int)(NPC.lifeMax * 0.8f * balance * bossAdjustment);
NPC.damage = (int)(NPC.damage * NPC.GetExpertDamageMultiplier());
}
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
{
if (hurtInfo.Damage > 0)
{
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 180);
target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 480);
}
}
}
}
@@ -477,14 +477,5 @@ namespace CalamityMod.NPCs.DevourerofGods
NPC.lifeMax = (int)(NPC.lifeMax * 0.8f * balance * bossAdjustment);
NPC.damage = (int)(NPC.damage * NPC.GetExpertDamageMultiplier());
}
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
{
if (hurtInfo.Damage > 0)
{
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 120, true);
target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 360, true);
}
}
}
}