Files
CalamityModPublic/Items/Weapons/Magic/Biofusillade.cs
T
Ozzatron 22afdd3933 1 - Calamity sell prices increase much more sharply with rarity.
2 - (Example) Post DoG items are now 2 platinum instead of 1 platinum 40 gold.
3 - (Example) Dev items are now 2 platinum 80 gold instead of 2 platinum.
4 - Privated numeric rarity item values.
5 - All assigned item values use the rarity's names, e.g. RarityLightPurpleBuyPrice.
2024-04-17 21:20:17 -04:00

43 lines
1.3 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Projectiles.Magic;
using CalamityMod.Rarities;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
[LegacyName("GammaFusillade")]
public class Biofusillade : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Weapons.Magic";
public override void SetDefaults()
{
Item.width = 28;
Item.height = 30;
Item.damage = 118;
Item.DamageType = DamageClass.Magic;
Item.mana = 4;
Item.useTime = 3;
Item.useAnimation = 3;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 3f;
Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice;
Item.UseSound = SoundID.Item33;
Item.autoReuse = true;
Item.shoot = ModContent.ProjectileType<GammaLaser>();
Item.shootSpeed = 20f;
Item.rare = ModContent.RarityType<Turquoise>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.SpellTome).
AddIngredient<UelibloomBar>(8).
AddTile(TileID.Bookcases).
Register();
}
}
}