Files
CalamityModPublic/Items/Weapons/Rogue/SylvanSlasher.cs
T
Andrew Marheine 75fd5299b2 1 - Increased Grax, Wave Pounder, Biofusillade, Plasma Rifle, Purge Guzzler, Mistlestorm, Devil's Sunrise, Holy Collider, The Mutilator, Seeking Scorcher, Lacerator, Lifehunt Scythe, Solar Flare, Verdant, Alpha Virus, Molten Amputator, Profaned Partisan, Sealed Singularity, Shattered Sun, Tarragon Throwing Dart and Dazzling Stabber Staff damage.
2 - Reduced Prismatic Armor set bonus laser beam damage.
3 - Increased Plasma Caster and Divine Retribution area of effect size.
4 - Reduced Thunderstorm, Mourningstar, Lunar Kunai, Aether's Whisper and Sylvan Slasher damage.
5 - Increased Post-Provi Cal Clone brother HP.
6 - Ultra Liquidator, Dragonblood Disgorger and Alpha Virus projectiles move faster.
7 - Viscera, Lifehunt Scythe and Seeking Scorcher projectiles pierce more.
2020-12-23 14:11:58 -06:00

46 lines
1.6 KiB
C#

using CalamityMod.Projectiles.Rogue;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class SylvanSlasher : RogueWeapon
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Sylvan Slasher");
Tooltip.SetDefault(@"Summons a slash attack at the cursor's position
Enemy hits build stealth and cause sword waves to fire from the player in the opposite direction
Does not consume stealth and cannot stealth strike");
}
public override void SafeSetDefaults()
{
item.width = 72;
item.damage = 52;
item.Calamity().rogue = true;
item.noMelee = true;
item.noUseGraphic = true;
item.channel = true;
item.useAnimation = 25;
item.useStyle = ItemUseStyleID.HoldingOut;
item.useTime = 5;
item.knockBack = 3f;
item.autoReuse = false;
item.height = 78;
item.value = CalamityGlobalItem.Rarity12BuyPrice;
item.rare = ItemRarityID.Purple;
item.Calamity().customRarity = CalamityRarity.Turquoise;
item.shoot = ModContent.ProjectileType<SylvanSlashAttack>();
item.shootSpeed = 24f;
}
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, type, damage, knockBack, player.whoAmI);
return false;
}
}
}