Files
CalamityModPublic/Projectiles/Magic/FabOrb.cs
T
Andrew Marheine 9cf78120ab 1 - Made Aquatic Scourge look better.
2 - Shortened Aquatic Scourge tail so it looks better.
3 - Scaled Aquatic Scourge size and length with difficulty mode.
4 - Rev+ Skeletron Prime no longer spawns Probes.
5 - Changed Fabstaff projectiles.
2020-07-03 19:38:52 -05:00

30 lines
828 B
C#

using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Magic
{
public class FabOrb : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Orb");
}
public override void SetDefaults()
{
projectile.width = 14;
projectile.height = 14;
projectile.friendly = true;
projectile.alpha = 255;
projectile.penetrate = -1;
projectile.timeLeft = 30;
projectile.magic = true;
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = 10;
}
public override void AI()
{
CalamityGlobalProjectile.MagnetSphereHitscan(projectile, 150f, 6f, 6f, 2, ModContent.ProjectileType<FabBolt>());
}
}
}