Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
27 lines
748 B
C#
27 lines
748 B
C#
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Projectiles.Melee
|
|
{
|
|
public class AftershockRock : ModProjectile
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Rock");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
projectile.width = 32;
|
|
projectile.height = 34;
|
|
projectile.aiStyle = 14;
|
|
projectile.friendly = true;
|
|
projectile.penetrate = 6;
|
|
projectile.melee = true;
|
|
projectile.ignoreWater = true;
|
|
aiType = ProjectileID.BoulderStaffOfEarth;
|
|
projectile.usesLocalNPCImmunity = true;
|
|
projectile.localNPCHitCooldown = 10;
|
|
}
|
|
}
|
|
}
|