Buffed Feather Knife

This commit is contained in:
Amber Sienna committed 2020-01-03 17:23:41 +00:00
1 parent 6dce9ccf10
commit 7069f8628c
2 files changed
+8 -3

No files matched your search

+3 -2
View File
@@ -12,13 +12,14 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Feather Knife");
Tooltip.SetDefault("Stealth strike throws a volley of knives");
Tooltip.SetDefault(@"Throws a knife which summons homing feathers
Stealth strike throws a volley of knives");
}
public override void SafeSetDefaults()
{
item.width = 18;
item.damage = 25;
item.damage = 40;
item.noMelee = true;
item.consumable = true;
item.noUseGraphic = true;
+5 -1
View File
@@ -20,7 +20,6 @@ namespace CalamityMod.Projectiles.Rogue
projectile.width = 12;
projectile.height = 12;
projectile.friendly = true;
projectile.penetrate = 2;
projectile.aiStyle = 2;
projectile.timeLeft = 600;
aiType = 48;
@@ -47,6 +46,11 @@ namespace CalamityMod.Projectiles.Rogue
featherTimer--;
}
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
Projectile.NewProjectile(projectile.position, new Vector2(projectile.velocity.X / 20, 2), ModContent.ProjectileType<StickyFeatherAero>(), projectile.damage, projectile.knockBack, projectile.owner);
}
public override void Kill(int timeLeft)
{
if (Main.rand.NextBool(2))