public override void AI()
        {
            base.AI();
            int boltDust = SpellEffect.GetDust(0, 228, Element);

            if (Main.rand.NextBool())
            {
                boltDust = SpellEffect.GetDust(1, 269, Element);
            }
            Dust bolt = Dust.NewDustPerfect(projectile.Center, boltDust, projectile.velocity * 0.5f, Main.rand.Next(100, 175), default, Main.rand.NextFloat(0.6f, 1f));
Beispiel #2
0
 public override void AI()
 {
     base.AI();
     int  hexDust   = SpellEffect.GetDust(0, 27, Element);
     int  orbitDust = SpellEffect.GetDust(1, 159, Element);
     Dust hex       = Dust.NewDustPerfect(projectile.Center, hexDust, -projectile.velocity * 0.2f, Main.rand.Next(100, 175), default, Main.rand.NextFloat(0.8f, 1.2f));