Files
CalamityModPublic/Items/Weapons/Magic/EidolicWail.cs
T
CongratsIsTrash b2746ea7a3 Eidolic Wail rebalance
Return of slowing down on hit (signature part of the weapon and it's just better performance-wise)
2024-08-23 22:34:47 -04:00

39 lines
1.3 KiB
C#

using CalamityMod.Projectiles.Magic;
using CalamityMod.Rarities;
using CalamityMod.Sounds;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class EidolicWail : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Weapons.Magic";
public override void SetDefaults()
{
Item.width = 60;
Item.height = 60;
Item.damage = 943;
Item.DamageType = DamageClass.Magic;
Item.mana = 30;
Item.useTime = 10;
Item.useAnimation = 30;
Item.reuseDelay = 40;
Item.useLimitPerAnimation = 3;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 1f;
Item.value = CalamityGlobalItem.RarityPureGreenBuyPrice;
Item.UseSound = CommonCalamitySounds.WyrmScreamSound;
Item.autoReuse = true;
Item.shootSpeed = 14f;
Item.shoot = ModContent.ProjectileType<EidolicWailSoundwave>();
Item.rare = ModContent.RarityType<PureGreen>();
}
public override Vector2? HoldoutOffset() => new Vector2(-5, 0);
}
}