Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Terraria.ID;
- using Terraria.ModLoader;
- namespace DragonBow.Items
- {
- public class DragonslayerGreatbow : ModItem
- {
- public override void SetStaticDefaults()
- {
- DisplayName.SetDefault("DragonslayerGreatbow");
- Tooltip.SetDefault("Greatbow used by the Dragonslayers during the age of gods. Uses Dragonslayers` Arrows");
- }
- public override void SetDefaults()
- {
- /* Item Technical Atributes*/
- item.ranged = true;
- item.noMelee = true;
- item.autoReuse = true;
- item.useTurn = true;
- item.width = 120;
- item.height = 200;
- item.useStyle = 5;
- item.useAnimation = 40;
- item.useTime = 40;
- item.rarity = 8;
- item.useSound = SoundID.Item102;
- /* Item Stats */
- item.damage = 240;
- item.knockback = 10;
- item.crit = 30;
- item.shoot = modProjectile.DragpmslayerGreatarrow;
- item.shootSpeed = 4f;
- item.useAmmo = modItem.DragonslayerGreatarrow;
- item.value = (0,30,0,0);
- }
- public override void AddRecipes();
- {
- ModRecipe recipe = new ModRecipe(mod);
- recipe.AddIngredient(ItemID.SpookyWood, 200);
- recipe.AddIngredient(ItemID.SpookyTwig, 2);
- recipe.AddIngredient(ItemID.ShadowFlameBow, 1)
- recipe.AddIngredient(this.GetItem("DragonslayerGreatarrow", 10);
- recipe.AddTile(TileID.MythrilAnvil);
- recipe.SetResult(this);
- recipe.AddRecipe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement