- Added support for animated projectiles - Refactoring - Removed useless fields - Fixed swords not dealing damages - Added Hour Hand (from Evie's PR)
23 lines
685 B
C#
23 lines
685 B
C#
using Decimation.Lib.Items;
|
|
|
|
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 string Projectile => "LightningSphere";
|
|
|
|
protected override void InitWeapon()
|
|
{
|
|
this.item.mana = 17;
|
|
item.knockBack = 7;
|
|
item.crit = 15;
|
|
item.useStyle = 3;
|
|
item.useTime = 15;
|
|
item.useAnimation = 15;
|
|
item.shootSpeed = 15f;
|
|
}
|
|
}
|
|
} |