Merge branch 'fixes-and-stuff' of https://github.com/UncleDanny/CalamityMod into fixes-and-stuff
This commit is contained in:
commit
28d5fc1dcd
1 file changed
+3
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user