Merge branch 'fixes-and-stuff' of https://github.com/UncleDanny/CalamityMod into fixes-and-stuff

This commit is contained in:
termigator1359 committed 2020-09-13 11:08:29 -04:00
commit 28d5fc1dcd
1 file changed
+3 -2
+3 -2
View File
@@ -8,10 +8,11 @@ namespace CalamityMod.Projectiles.Enemy
{
public class DraedonLaser : ModProjectile
{
// The DrawBeam method relies on localAI[0] for its calculations. A different parameter won't work.
public float TrailLength
{
get => projectile.ai[0];
set => projectile.ai[0] = value;
get => projectile.localAI[0];
set => projectile.localAI[0] = value;
}
public const int MaxTrailPoints = 50;
public override void SetStaticDefaults()