Merge pull request #1454 from CalamityTeam/sunny-misc

This commit is contained in:
Nathanael Overton authored and GitHub committed 2026-06-03 21:58:29 -04:00
commit e1836ec9d6
3 files changed
+11 -8

No files matched your search

+9 -6
View File
@@ -978,12 +978,15 @@ namespace CalamityMod.CalPlayer
if (Player.sitting.TryGetSittingBlock(Player, out Tile AuricToiletTile) && !rejectionImmunity)
{
Player.Hurt(PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.AuricRejection").ToNetworkText(Player.name)), auricRejectionDamage, 0);
Player.AddBuff(ModContent.BuffType<AuricRebuke>(), 120);
SoundEngine.PlaySound(new SoundStyle("CalamityMod/Sounds/Custom/ExoMechs/TeslaShoot1"), Player.Center);
Player.sitting.SitUp(Player, false);
Vector2 yeetVec = new Vector2(Player.direction, -1.5f);
Player.velocity += yeetVec * auricRejectionKB;
if (AuricToiletTile.TileType == ModContent.TileType<AuricToiletTile>())
{
Player.Hurt(PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.AuricRejection").ToNetworkText(Player.name)), auricRejectionDamage, 0);
Player.AddBuff(ModContent.BuffType<AuricRebuke>(), 120);
SoundEngine.PlaySound(new SoundStyle("CalamityMod/Sounds/Custom/ExoMechs/TeslaShoot1"), Player.Center);
Player.sitting.SitUp(Player, false);
Vector2 yeetVec = new Vector2(Player.direction, -1.5f);
Player.velocity += yeetVec * auricRejectionKB;
}
}
}
private void HandleBlazingMouseEffects()
+2 -2
View File
@@ -10,8 +10,8 @@ namespace CalamityMod.Items.Weapons.Melee
public new string LocalizationCategory => "Items.Weapons.Melee";
public override void SetDefaults()
{
Item.width = 56;
Item.height = 66;
Item.width = 54;
Item.height = 76;
Item.damage = 38;
Item.DamageType = DamageClass.Melee;
Item.useAnimation = 24;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

After

Width:  |  Height:  |  Size: 1.4 KiB