Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Terraria;
- using Terraria.ModLoader;
- using Terraria.ID;
- using TheSideOfDarkness.Projectiles;
- namespace TheSideOfDarkness.Items
- {
- public class Arcanainus : ModItem
- {
- public override void SetStaticDefaults()
- {
- Tooltip.SetDefault("Shoot a Pawerfoul Ball");
- }
- public override void SetDefaults()
- {
- item.damage = 40;
- item.noMelee = true;
- item.magic = true;
- item.channel = true;
- item.mana = 5;
- item.rare = 5;
- item.width = 28;
- item.height = 30;
- item.useTime = 20;
- item.UseSound = SoundID.Item13;
- item.useStyle = 5;
- item.shootSpeed = 14f;
- item.useAnimation = 20;
- item.shoot = mod.ProjectileType("ElementBall");
- item.value = Item.sellPrice(0, 3, 0, 0);
- }
- public override void AddRecipes()
- {
- ModRecipe recipe = new ModRecipe(mod);
- recipe.AddIngredient(ItemID.DirtBlock, 10);
- recipe.AddTile(TileID.WorkBenches);
- recipe.SetResult(this);
- recipe.AddRecipe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement