27 lines
829 B
C#
27 lines
829 B
C#
using Decimation.Content.Projectiles;
|
|
using Decimation.Lib.Items;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace Decimation.Content.Items.Weapons
|
|
{
|
|
internal class RodofLightning : DecimationWeapon
|
|
{
|
|
protected override string ItemName => "Rod of Lightning";
|
|
protected override int Damages => 90;
|
|
protected override DamageType DamagesType => DamageType.Magic;
|
|
protected override int ProjectileId => ModContent.ProjectileType<LightningSphere>();
|
|
|
|
protected override void InitWeapon()
|
|
{
|
|
item.width = 40;
|
|
item.height = 40;
|
|
item.mana = 17;
|
|
item.knockBack = 7;
|
|
item.crit = 15;
|
|
item.useStyle = 3;
|
|
item.useTime = 15;
|
|
item.useAnimation = 15;
|
|
item.shootSpeed = 15f;
|
|
}
|
|
}
|
|
} |