Crab Claw placeholder sprite v2 + rename to Baroclaw

Baroclaw
This commit is contained in:
Xyk committed 2023-08-07 13:08:20 -07:00
1 parent 2310e3012d
commit 67cfaa9b2e
6 files changed
+12 -12

No files matched your search

+5 -5
View File
@@ -276,7 +276,7 @@ namespace CalamityMod.CalPlayer
public static readonly SoundStyle IjiDeathSound = new("CalamityMod/Sounds/Custom/IjiDies");
public static readonly SoundStyle DrownSound = new("CalamityMod/Sounds/Custom/AbyssDrown");
public static readonly SoundStyle LeonDeathNoiseRE4_ForGFB = new("CalamityMod/Sounds/Custom/GFB/LeonDeathNoiseRE4");
public static readonly SoundStyle CrabClawHit = new("CalamityMod/Sounds/NPCKilled/DevourerSegmentBreak2") { Volume = 0.7f };
public static readonly SoundStyle BaroclawHit = new("CalamityMod/Sounds/NPCKilled/DevourerSegmentBreak2") { Volume = 0.7f };
public static readonly SoundStyle AbsorberHit = new("CalamityMod/Sounds/Custom/AbilitySounds/SilvaActivation") { Volume = 0.7f };
#endregion
@@ -534,7 +534,7 @@ namespace CalamityMod.CalPlayer
public bool spiritOriginVanity = false;
public bool darkSunRing = false;
public bool crawCarapace = false;
public bool crabClaw = false;
public bool baroclaw = false;
public bool HasReducedDashFirstFrame = false;
public bool voidOfCalamity = false;
public bool voidOfExtinction = false;
@@ -1600,7 +1600,7 @@ namespace CalamityMod.CalPlayer
fleshKnuckles = false;
darkSunRing = false;
crawCarapace = false;
crabClaw = false;
baroclaw = false;
gShell = false;
tortShell = false;
voidOfCalamity = false;
@@ -4909,10 +4909,10 @@ namespace CalamityMod.CalPlayer
SoundEngine.PlaySound(SoundID.NPCHit33 with { Volume = 0.5f }, Player.Center);
}
if (crabClaw)
if (baroclaw)
{
npc.AddBuff(ModContent.BuffType<ArmorCrunch>(), 1800);
SoundEngine.PlaySound(CrabClawHit, Player.Center);
SoundEngine.PlaySound(BaroclawHit, Player.Center);
Vector2 bloodSpawnPosition = Player.Center + Main.rand.NextVector2Circular(Player.width, Player.height) * 0.04f;
Vector2 splatterDirection = (Player.Center - bloodSpawnPosition).SafeNormalize(Vector2.UnitY);
for (int i = 0; i < 9; i++)
+1 -1
View File
@@ -2520,7 +2520,7 @@ namespace CalamityMod.CalPlayer
if (crawCarapace)
Player.GetDamage<GenericDamageClass>() += 0.05f;
if (crabClaw)
if (baroclaw)
Player.GetDamage<GenericDamageClass>() += 0.08f;
if (gShell)
@@ -6,13 +6,13 @@ using CalamityMod.Items.Materials;
namespace CalamityMod.Items.Accessories
{
public class CrabClaw : ModItem, ILocalizedModType
public class Baroclaw : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Accessories";
public override void SetDefaults()
{
Item.width = 30;
Item.height = 28;
Item.height = 44;
Item.value = CalamityGlobalItem.Rarity7BuyPrice;
Item.rare = ItemRarityID.Lime;
Item.accessory = true;
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Accessories
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.crabClaw = true;
modPlayer.baroclaw = true;
player.thorns += 1.1f;
}
public override void AddRecipes()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

+1 -1
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories
{
CreateRecipe().
AddIngredient<GrandGelatin>().
AddIngredient<CrabClaw>().
AddIngredient<Baroclaw>().
AddIngredient<GiantTortoiseShell>().
AddIngredient<MolluskHusk>(5).
AddTile(TileID.LunarCraftingStation).
@@ -425,8 +425,8 @@ CrawCarapace: {
'''
}
CrabClaw: {
DisplayName: Crab Claw
Baroclaw: {
DisplayName: Baroclaw
Tooltip:
'''
8% increased damage