24 lines
811 B
C#
24 lines
811 B
C#
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Projectiles.Melee
|
|
{
|
|
public class AftershockRock : ModProjectile, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Projectiles.Melee";
|
|
public override void SetDefaults()
|
|
{
|
|
Projectile.width = 32;
|
|
Projectile.height = 34;
|
|
Projectile.aiStyle = ProjAIStyleID.GroundProjectile;
|
|
Projectile.friendly = true;
|
|
Projectile.penetrate = 6;
|
|
Projectile.extraUpdates = 1;
|
|
Projectile.DamageType = DamageClass.Melee;
|
|
Projectile.ignoreWater = true;
|
|
AIType = ProjectileID.BoulderStaffOfEarth;
|
|
Projectile.usesLocalNPCImmunity = true;
|
|
Projectile.localNPCHitCooldown = 10;
|
|
}
|
|
}
|
|
}
|