Files
CalamityModPublic/Projectiles/Magic/BigBeamofDeath2.cs
T
Andrew Marheine 5019a0680a 1 - Reduced Rage damage from 50% to 35%.
2 - Increased God Slayer Dash cooldown from 15 to 20 seconds.
3 - Fixed Amalgam issue where buffs would persist even if Amalgam was taken off.
4 - Exoblade no longer has weird HP damage scaling.
5 - Nerfed Celestus stealth strike damage from 65% to 40%.
6 - Moved Consecrated and Desecrated Water and Nycthemeron to post-2 mechs.
7 - Exorcism now requires 6 of each mech boss soul.
8 - Thanatos laser noise.
9 - Slowing debuffs now have a 30 second cooldown on bosses instead of 20 seconds.
10 - Adjusted the drop rates for various items.
11 - Genisis and Alpha Ray big Y laser uses ID static i-frames instead of local.
2021-08-08 01:03:03 -05:00

39 lines
1.1 KiB
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Magic
{
public class BigBeamofDeath2 : ModProjectile
{
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Big Beam of Death");
}
public override void SetDefaults()
{
projectile.width = 12;
projectile.height = 12;
projectile.friendly = true;
projectile.magic = true;
projectile.tileCollide = false;
projectile.usesIDStaticNPCImmunity = true;
projectile.idStaticNPCHitCooldown = 100;
projectile.penetrate = -1;
projectile.extraUpdates = 100;
projectile.timeLeft = 80;
}
public override void AI()
{
Vector2 vector33 = projectile.position;
vector33 -= projectile.velocity * 0.25f;
int num448 = Dust.NewDust(vector33, 1, 1, 206, 0f, 0f, 0, default, 3f);
Main.dust[num448].position = vector33;
Main.dust[num448].velocity *= 0.1f;
}
}
}