Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. using Terraria;
  2. using Terraria.ModLoader;
  3. using Terraria.ID;
  4. using TheSideOfDarkness.Projectiles;
  5.  
  6. namespace TheSideOfDarkness.Items
  7. {
  8. public class Arcanainus : ModItem
  9. {
  10. public override void SetStaticDefaults()
  11. {
  12. Tooltip.SetDefault("Shoot a Pawerfoul Ball");
  13. }
  14.  
  15. public override void SetDefaults()
  16. {
  17. item.damage = 40;
  18. item.noMelee = true;
  19. item.magic = true;
  20. item.channel = true;
  21. item.mana = 5;
  22. item.rare = 5;
  23. item.width = 28;
  24. item.height = 30;
  25. item.useTime = 20;
  26. item.UseSound = SoundID.Item13;
  27. item.useStyle = 5;
  28. item.shootSpeed = 14f;
  29. item.useAnimation = 20;
  30. item.shoot = mod.ProjectileType("ElementBall");
  31. item.value = Item.sellPrice(0, 3, 0, 0);
  32. }
  33.  
  34. public override void AddRecipes()
  35. {
  36. ModRecipe recipe = new ModRecipe(mod);
  37. recipe.AddIngredient(ItemID.DirtBlock, 10);
  38. recipe.AddTile(TileID.WorkBenches);
  39. recipe.SetResult(this);
  40. recipe.AddRecipe();
  41. }
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement