death messages

This commit is contained in:
Nathanael Overton committed 2026-04-10 23:11:05 -04:00
1 parent bb75954abb
commit 0b2a3d877d
3 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -4,6 +4,7 @@ using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.DataStructures;
using Terraria.GameContent;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.ModLoader;
@@ -17,7 +18,6 @@ namespace CalamityMod.Buffs.Potions
Main.debuff[Type] = true;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = false;
Main.persistentBuff[Type] = true;
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true;
}
}
+5
View File
@@ -4,6 +4,7 @@ using CalamityMod.Balancing;
using CalamityMod.Buffs.Cooldowns;
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Buffs.Placeables;
using CalamityMod.Buffs.Potions;
using CalamityMod.Buffs.StatBuffs;
using CalamityMod.Buffs.StatDebuffs;
using CalamityMod.CalPlayer.Dashes;
@@ -403,6 +404,10 @@ namespace CalamityMod.CalPlayer
{
damageSource = PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.AstralInfection" + Main.rand.Next(1, 3 + 1)).ToNetworkText(Player.name));
}
if (Player.HasBuff<SwinesWrathBuff>())
{
damageSource = PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.SwinesWrath" + Main.rand.Next(1, 7 + 1)).ToNetworkText(Player.name));
}
if (nightwither)
{
damageSource = PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.Nightwither").ToNetworkText(Player.name));
@@ -109,6 +109,13 @@ SulphurMeter: "{0} bathed too long in acidic waters."
SulphuricPoisoning1: "{0} was melted by the toxic waste."
SulphuricPoisoning2: "{0} ingested too many caustic chemicals."
SulphuricPoisoning3: "{0} couldn't handle the industrial backwash."
SwinesWrath1:{0} was not ready to bask in divinity.
SwinesWrath2:{0} now resides in Pigatory.
SwinesWrath3:{0} was ground into a fine dust; a fibrous powder, by the wrath of Swine.
SwinesWrath4:{0} should be careful what they wish for.
SwinesWrath5:{0} had the last of their health swinedled out from under their nose.
SwinesWrath6:{0} did not read the label on The Concoction.
SwinesWrath7:{0}'s life was hogged to the bone.
ThornBlossom: "{0} was violently pricked by a flower."
UltracosmicMaelstrom1: "{0} was sublimated by the Ultracosmic Maelstrom."
UltracosmicMaelstrom2: "{0} got cut down to size by the Ultracosmic Maelstrom."