Files
CalamityModPublic/Items/Weapons/Melee/ScourgeoftheCosmos.cs
T
Ozzatron eaa04280ba 1 - Properly separated all Cosmic Anvil and Draedon's Forge recipes.
2 - An extremely large number of recipe changes. Far too many to remember.
3 - Occult Stone and furniture are now made at the Ancient Manipulator.
4 - 1 Core of Calamity now requires 1 Ashes of Calamity.
5 - Renamed the Calamitous Altar to Altar of the Accursed.
6 - All Cosmilite tier items are made at the Cosmic Anvil.
7 - Standardized the costs of all late game (Cosmilite tier and beyond) items.
2021-09-12 20:07:50 -04:00

50 lines
1.7 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Projectiles.Melee;
using CalamityMod.Tiles.Furniture.CraftingStations;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Melee
{
public class ScourgeoftheCosmos : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Scourge of the Cosmos");
Tooltip.SetDefault("Throws a bouncing cosmic scourge that emits tiny homing cosmic scourges on death and tile hits");
}
public override void SetDefaults()
{
item.width = item.height = 64;
item.damage = 478;
item.melee = true;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 20;
item.useStyle = ItemUseStyleID.HoldingOut;
item.useTime = 20;
item.knockBack = 5f;
item.UseSound = SoundID.Item109;
item.autoReuse = true;
item.value = CalamityGlobalItem.Rarity14BuyPrice;
item.rare = ItemRarityID.Purple;
item.Calamity().customRarity = CalamityRarity.DarkBlue;
item.shoot = ModContent.ProjectileType<ScourgeoftheCosmosProj>();
item.shootSpeed = 15f;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.ScourgeoftheCorruptor);
recipe.AddIngredient(ModContent.ItemType<Bonebreaker>());
recipe.AddIngredient(ModContent.ItemType<CosmiliteBar>(), 10);
recipe.AddTile(ModContent.TileType<CosmicAnvil>());
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}