public override void AddRecipes() { SpiritRecipe recipe = new SpiritRecipe(mod, NPCID.Guide, 400); recipe.AddIngredient(ItemID.Stynger, 1); recipe.AddIngredient(ItemID.HallowedBar, 10); recipe.AddTile(ModContent.TileType <Tiles.Altar>()); recipe.SetResult(this); recipe.AddRecipe(); }
/*public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) * { * Vector2 muzzleOffset = Vector2.Normalize(new Vector2(speedX, speedY)) * 25f; * if (Collision.CanHit(position, 0, 0, position + muzzleOffset, 0, 0)) * { * position += muzzleOffset; * } * return true; * }*/ public override void AddRecipes() { SpiritRecipe recipe = new SpiritRecipe(mod, NPCID.Guide, 500); recipe.AddIngredient(ModContent.ItemType <Veerium>(), 50); recipe.AddTile(ModContent.TileType <Tiles.Altar>()); recipe.AddIngredient(ItemID.Minishark); recipe.AddIngredient(ItemID.Shotgun); recipe.SetResult(this); recipe.AddRecipe(); }