2 - Aorta now fires blood clots. 3 - Biome Blade inflicts debuffs for a shorter duration, replaced Plague with Venom and cut Glacial State debuff time in half. 4 - Buffed Biome Blade damage by 5. 5 - Dark Energies spread out less and inflilct Distorted for a third of its original duration. 6 - SCal bros move properly now. 7 - Aureus makes laser fire noise when stomping now. 8 - Old Duke spends less time lining up his charge in phase 3. 9 - Increased Cnidarian range, reduced Microwave aura damage, increased Riptide range, reduced Sulphurous Grabber bubble amount, increased Verdant speed and leaf damage.
57 lines
1.7 KiB
C#
57 lines
1.7 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Projectiles.Melee.Yoyos;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Weapons.Melee
|
|
{
|
|
public class Aorta : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Aorta");
|
|
Tooltip.SetDefault("Fires homing blood when enemies are near\n" +
|
|
"An exceptionally agile yoyo");
|
|
ItemID.Sets.Yoyo[item.type] = true;
|
|
ItemID.Sets.GamepadExtraRange[item.type] = 15;
|
|
ItemID.Sets.GamepadSmartQuickReach[item.type] = true;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.width = 30;
|
|
item.height = 26;
|
|
item.melee = true;
|
|
item.damage = 25;
|
|
item.knockBack = 4.25f;
|
|
item.useTime = 22;
|
|
item.useAnimation = 22;
|
|
item.autoReuse = true;
|
|
|
|
item.useStyle = ItemUseStyleID.HoldingOut;
|
|
item.UseSound = SoundID.Item1;
|
|
item.channel = true;
|
|
item.noUseGraphic = true;
|
|
item.noMelee = true;
|
|
|
|
item.shoot = ModContent.ProjectileType<AortaYoyo>();
|
|
item.shootSpeed = 8f;
|
|
|
|
item.rare = 3;
|
|
item.value = Item.buyPrice(gold: 4);
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
ModRecipe recipe = new ModRecipe(mod);
|
|
recipe.AddIngredient(ModContent.ItemType<BloodSample>(), 6);
|
|
recipe.AddIngredient(ItemID.Vertebrae, 3);
|
|
recipe.AddIngredient(ItemID.CrimtaneBar, 3);
|
|
recipe.AddTile(TileID.DemonAltar);
|
|
recipe.SetResult(this);
|
|
recipe.AddRecipe();
|
|
}
|
|
}
|
|
}
|