31 lines
760 B
C#
31 lines
760 B
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Projectiles.Summon
|
|
{
|
|
public class AquasScepterCloudFlash : ModProjectile, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Projectiles.Summon";
|
|
public override void SetStaticDefaults() {
|
|
// Sets the amount of frames this minion has on its spritesheet
|
|
Main.projFrames[Projectile.type] = 1;
|
|
}
|
|
|
|
public sealed override void SetDefaults() {
|
|
Projectile.width = 252;
|
|
Projectile.height = 78;
|
|
Projectile.tileCollide = false;
|
|
Projectile.timeLeft = 27;
|
|
Projectile.penetrate = -1;
|
|
Projectile.alpha = 125;
|
|
}
|
|
|
|
public override bool? CanDamage() => false;
|
|
|
|
public override void AI() {
|
|
Projectile.alpha += 5;
|
|
}
|
|
}
|
|
}
|