Files
CalamityModPublic/Items/Accessories/CounterScarf.cs
T
doze-zoze 94060b025b evolution buff + other balancing
- Counter Scarf no longer gives True Melee damage
- Counter and Evasion scarf no longer mutually exclusive equips
- Deep Diver dash delay no longer hardcoded (technically buff of 23 -> 22 cooldown frames with truncation)
- Amalgam no longer gives 10% damage
- Evolution now fires homing Mirror Shards instead of direct projectile reflection. This should make it less janky and more consistent. Also needed a huge damage buff.
2026-01-07 00:55:05 -06:00

30 lines
905 B
C#

using CalamityMod.CalPlayer;
using CalamityMod.CalPlayer.Dashes;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
[AutoloadEquip(EquipType.Neck)]
public class CounterScarf : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Accessories";
public override void SetDefaults()
{
Item.width = 30;
Item.height = 38;
Item.value = Item.buyPrice(gold: 20); // Sold by Clothier
Item.rare = ItemRarityID.Orange;
Item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.dodgeScarf = true;
modPlayer.DashID = CounterScarfDash.ID;
player.dashType = 0;
}
}
}