Skip to content

Commit

Permalink
stacking candles reduces the amount of dust marginally
Browse files Browse the repository at this point in the history
  • Loading branch information
direwolf420 committed Jan 17, 2019
1 parent 852bda6 commit 7a02360
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Projectiles/Weapons/CandleDustDummy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public override void SetDefaults()
{
projectile.CloneDefaults(ProjectileID.WoodenArrowFriendly);
projectile.timeLeft = LifeTime;
projectile.alpha = 255;
}

//ai 0 is the timer until the arrow starts dropping (caps at 15)
Expand All @@ -55,6 +56,8 @@ public override bool PreAI()
new Color(255, 255, 255),
new Color(196, 0, 255)};

projectile.alpha = 255;

//projectile.ai[0] = 0; //fly straight
//kinda cheaty since the arrow AI makes itself only visible after a few ticks, so no need to make alpha
//if timeLeft is only between 2 and 0
Expand Down

0 comments on commit 7a02360

Please sign in to comment.