2 - Aquatic Scourge telegraphs the spin by turning brownish over time before doing it. 3 - Reduced Sentinel, post-Provi Bloodstone bosses and Polter HP by 35%. 4 - Reduced post-ML Aureus HP by 25% because I forgot last time. 5 - Draconic Swarmers spawn more often.
44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Projectiles.Ranged;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Ammo
|
|
{
|
|
public class BloodfireBullet : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Bloodfire Bullet");
|
|
Tooltip.SetDefault("Accelerates your life regeneration on hit\n" + "Deals bonus damage based on your current life regeneration");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.damage = 26;
|
|
item.ranged = true;
|
|
item.width = 14;
|
|
item.height = 30;
|
|
item.maxStack = 999;
|
|
item.consumable = true;
|
|
item.knockBack = 4.5f;
|
|
item.value = Item.sellPrice(copper: 80);
|
|
item.rare = ItemRarityID.Purple;
|
|
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
|
item.shoot = ModContent.ProjectileType<BloodfireBulletProj>();
|
|
item.shootSpeed = 4.8f;
|
|
item.ammo = ItemID.MusketBall;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
ModRecipe recipe = new ModRecipe(mod);
|
|
recipe.AddIngredient(ModContent.ItemType<BloodstoneCore>());
|
|
recipe.AddTile(TileID.LunarCraftingStation);
|
|
recipe.SetResult(this, 333);
|
|
recipe.AddRecipe();
|
|
}
|
|
}
|
|
}
|