2 - Buffed all bows and arrows by 10%. 3 - Frost Barrier Glacial State on hit doesn't work if a boss is alive. 4 - Gave dash bashes a separate cooldown timer. 5 - Thanatos adjustments. 6 - Nerfed Icicle Arrow shard damage. 7 - Made more boss parts and minions resistant to slowing debuffs.
44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Projectiles.Ranged;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Ammo
|
|
{
|
|
public class BloodfireArrow : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Bloodfire Arrow");
|
|
Tooltip.SetDefault("Heals you a small amount on enemy hits");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.damage = 29;
|
|
item.ranged = true;
|
|
item.width = 14;
|
|
item.height = 36;
|
|
item.maxStack = 999;
|
|
item.consumable = true;
|
|
item.knockBack = 3.5f;
|
|
item.value = Item.sellPrice(copper: 80);
|
|
item.rare = ItemRarityID.Purple;
|
|
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
|
item.shoot = ModContent.ProjectileType<BloodfireArrowProj>();
|
|
item.shootSpeed = 10f;
|
|
item.ammo = AmmoID.Arrow;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
ModRecipe recipe = new ModRecipe(mod);
|
|
recipe.AddIngredient(ModContent.ItemType<BloodstoneCore>());
|
|
recipe.AddTile(TileID.LunarCraftingStation);
|
|
recipe.SetResult(this, 333);
|
|
recipe.AddRecipe();
|
|
}
|
|
}
|
|
}
|