Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using Terraria;
- using Terraria.ID;
- using Terraria.ModLoader;
- namespace PikaMod.Items {
- public class ChaoticLance : ModItem
- {
- public override void SetDefaults()
- {
- item.name = "Chaotic Lance";
- item.toolTip = "'Great for impersonating mod devs!'";
- item.knockBack = 3;
- item.damage = 148;
- item.melee = true;
- item.noUseGraphic = true;
- item.useSound = 1;
- item.useAnimation = 32;
- item.useTime = 32;
- item.useStyle = 5;
- item.width = 28;
- item.height = 32;
- item.maxStack = 1;
- item.shoot = mod.ProjectileType("ChaoticLance");
- item.shootSpeed = 4.75f;
- item.value = 100;
- item.rare = 9;
- }
- public override void AddRecipes()
- {
- ModRecipe recipe = new ModRecipe(mod);
- recipe.AddIngredient(null, "MagnesiumBar", 1);
- recipe.AddTile(18);
- recipe.SetResult(this, 1);
- recipe.AddRecipe();
- }
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement