Files
CalamityModPublic/Items/Weapons/Magic/EidolicWail.cs
T
Altixal 52b7e8d29f clockwork use limit + balancing heck
removed child safety check on the dialogue that is no longer suggestive
2023-07-15 01:03:56 +07:00

39 lines
1.2 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.damage = 126;
Item.DamageType = DamageClass.Magic;
Item.mana = 10;
Item.width = 60;
Item.height = 60;
Item.useTime = 12;
Item.useAnimation = 36;
Item.reuseDelay = 30;
Item.useLimitPerAnimation = 3;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 1f;
Item.value = CalamityGlobalItem.Rarity13BuyPrice;
Item.UseSound = CommonCalamitySounds.WyrmScreamSound;
Item.autoReuse = true;
Item.shootSpeed = 8f;
Item.shoot = ModContent.ProjectileType<EidolicWailSoundwave>();
Item.rare = ModContent.RarityType<PureGreen>();
}
public override Vector2? HoldoutOffset() => new Vector2(-5, 0);
}
}