26 lines
723 B
C#
26 lines
723 B
C#
using Terraria.ModLoader;
|
|
namespace CalamityMod.Projectiles.Melee
|
|
{
|
|
public class MarniteObliteratorProj : ModProjectile
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Obliterator");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
projectile.width = 14;
|
|
projectile.height = 14;
|
|
projectile.aiStyle = 20;
|
|
projectile.friendly = true;
|
|
projectile.penetrate = -1;
|
|
projectile.tileCollide = false;
|
|
projectile.hide = true;
|
|
projectile.ownerHitCheck = true;
|
|
projectile.melee = true;
|
|
projectile.Calamity().trueMelee = true;
|
|
}
|
|
}
|
|
}
|