Files
CalamityModPublic/Items/Weapons/Magic/Apotheosis.cs
T
Altixal a321ece97b Material culling & recipe changes 2024
- Removed Demonic Bone Ash
- Removed Murky Paste
- Removed Trapper Bulb

Most of these are recipe ordering hell (again)
- Moved Shadowspec Bar to the top of most materials
- Moved Cosmilite Bar to the top of most materials (under SSpec)
- Moved complementary ASE type to pair below Bars
- Swap recipe order of Soul Artifacts
- Enforced certain material pairing orders
- Added missing materials for certain sets
2024-09-05 23:19:37 +07:00

60 lines
2.1 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Items.Weapons.Melee;
using CalamityMod.Items.Weapons.Summon;
using CalamityMod.Projectiles.Magic;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class Apotheosis : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Weapons.Magic";
public override void SetDefaults()
{
Item.width = 30;
Item.height = 34;
Item.damage = 230;
Item.DamageType = DamageClass.Magic;
Item.mana = 42;
Item.useAnimation = Item.useTime = 167;
Item.useStyle = ItemUseStyleID.Shoot;
Item.useTurn = false;
Item.noMelee = true;
Item.knockBack = 6.9f;
Item.value = CalamityGlobalItem.RarityHotPinkBuyPrice;
Item.rare = ModContent.RarityType<HotPink>();
Item.Calamity().devItem = true;
Item.UseSound = SoundID.Item92;
Item.autoReuse = true;
Item.shoot = ModContent.ProjectileType<ApotheosisWorm>();
Item.shootSpeed = 42.0f;
}
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
{
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/ApotheosisGlow").Value);
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.SpellTome).
AddIngredient<CosmicDischarge>().
AddIngredient<StaffoftheMechworm>(2).
AddIngredient<Excelsus>(2).
AddIngredient<ShadowspecBar>(5).
AddIngredient<CosmiliteBar>(33).
AddIngredient<AscendantSpiritEssence>(11).
AddTile<DraedonsForge>().
Register();
}
}
}