Updated The Scythe
This commit is contained in:
parent
a14c036ffb
commit
847841c181
@ -11,9 +11,9 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace Decimation.Content.Items.Ammo
|
||||
{
|
||||
internal class TitanicStyngerBolt : DecimationAmmo
|
||||
internal class ScytheStyngerBolt : DecimationAmmo
|
||||
{
|
||||
protected override string ItemName => "Titanic Stynger Bolt";
|
||||
protected override string ItemName => "The Scythe Stynger Bolt";
|
||||
protected override string ItemTooltip => "Explodes into deadly shrapnel.";
|
||||
protected override string Projectile => "TitanicStyngerBolt";
|
||||
protected override int Ammo => AmmoID.StyngerBolt;
|
||||
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
@ -1,8 +1,10 @@
|
||||
using Decimation.Content.Items.Ores;
|
||||
using Decimation.Content.Items.Misc.ConcentratedSouls;
|
||||
using Decimation.Content.Items.Ores;
|
||||
using Decimation.Content.Items.Weapons.Arachnus;
|
||||
using Decimation.Content.Projectiles.Item.Weapon;
|
||||
using Decimation.Content.Tiles;
|
||||
using Decimation.Lib.Items;
|
||||
using Decimation.Lib.Util.Builder;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@ -10,13 +12,13 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace Decimation.Content.Items.Weapons
|
||||
{
|
||||
internal class TitanicGatliStynger : DecimationWeapon
|
||||
internal class Scythe : DecimationWeapon
|
||||
{
|
||||
protected override string ItemName => "Titanic Gatli Stynger";
|
||||
protected override string ItemName => "The Scythe";
|
||||
protected override string ItemTooltip => "Feel the rage of Kronos by your side.";
|
||||
protected override DamageType DamagesType => DamageType.Ranged;
|
||||
protected override int Damages => 950;
|
||||
protected override int ProjectileId => ModContent.ProjectileType<TitanicStyngerBolt>();
|
||||
protected override int ProjectileId => ModContent.ProjectileType<ScytheStyngerBolt>();
|
||||
|
||||
protected override void InitWeapon()
|
||||
{
|
||||
@ -30,25 +32,24 @@ namespace Decimation.Content.Items.Weapons
|
||||
item.useAnimation = 10;
|
||||
item.rare = 10;
|
||||
item.autoReuse = true;
|
||||
item.value = Item.sellPrice(0, 60);
|
||||
item.value = Item.sellPrice(gold: 60);
|
||||
}
|
||||
|
||||
protected override ModRecipe GetRecipe()
|
||||
{
|
||||
ModRecipe recipe = GetNewModRecipe(this, 1, ModContent.TileType<TitanForge>());
|
||||
|
||||
recipe.AddIngredient(ModContent.ItemType<ChainStynger>());
|
||||
recipe.AddIngredient(ModContent.ItemType<TitaniteBar>(), 15);
|
||||
// TODO recipe.AddIngredient(null, "CondensedMight", 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<DenziumBar>());
|
||||
|
||||
return recipe;
|
||||
return new RecipeBuilder(this)
|
||||
.WithIngredient(ModContent.ItemType<ChainStynger>())
|
||||
.WithIngredient(ModContent.ItemType<TitaniteBar>(), 15)
|
||||
.WithIngredient(ModContent.ItemType<DenziumBar>())
|
||||
.WithIngredient(ModContent.ItemType<ConcentratedMight>(), 5)
|
||||
.WithStation(ModContent.TileType<TitanForge>())
|
||||
.Build();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY,
|
||||
ref int type, ref int damage, ref float knockBack)
|
||||
{
|
||||
type = ModContent.ProjectileType<TitanicStyngerBolt>();
|
||||
type = ModContent.ProjectileType<ScytheStyngerBolt>();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 825 B After Width: | Height: | Size: 825 B |
@ -9,11 +9,11 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace Decimation.Content.Projectiles.Item.Weapon
|
||||
{
|
||||
internal class TitanicStyngerBolt : DecimationProjectile
|
||||
internal class ScytheStyngerBolt : DecimationProjectile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Titanic Stynger Bolt");
|
||||
DisplayName.SetDefault("The Scythe Stynger Bolt");
|
||||
ProjectileID.Sets.TrailCacheLength[projectile.type] = 5;
|
||||
ProjectileID.Sets.TrailingMode[projectile.type] = 0;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
Loading…
Reference in New Issue
Block a user