Make it actually compile
This commit is contained in:
@@ -8,17 +8,8 @@ using ForgottenWawiTech.Content.Rarities;
|
||||
|
||||
namespace ForgottenWawiTech.Content.Items.Weapons.Magic
|
||||
{
|
||||
// A post-Eye of Cthulhu melee/magic hybrid style weapon that swings like a sword and
|
||||
// emits a flurry of short-lived beam projectiles toward the cursor during the swing.
|
||||
// Beams have reduced damage (50% of item base) and very short lifetime.
|
||||
public class BeamAttackWand : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
// DisplayName.SetDefault("Beam Attack Wand"); // tML auto localizes; optional if using hjson.
|
||||
// Tooltip.SetDefault("Swings and releases a flurry of brief energy beams");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 32;
|
||||
@@ -31,7 +22,7 @@ namespace ForgottenWawiTech.Content.Items.Weapons.Magic
|
||||
Item.damage = 25;
|
||||
Item.knockBack = 4.5f;
|
||||
Item.DamageType = DamageClass.Magic; // treat beams as melee for synergy
|
||||
Item.rare = ModContent.RarityType<DeveloperItem>();
|
||||
Item.rare = ModContent.RarityType<FWTDeveloperItem>();
|
||||
Item.value = Item.buyPrice(silver: 50);
|
||||
Item.shoot = ModContent.ProjectileType<BeamAttackWandBeam>();
|
||||
Item.shootSpeed = 12f; // base speed of beams
|
||||
|
||||
Reference in New Issue
Block a user