Ejemplo n.º 1
0
        public override void ModifyProjectile(Player player, Projectile projectile, Vector2 executePosition = default)
        {
            base.ModifyProjectile(player, projectile, executePosition);
            Airstrike airstrike = projectile.modProjectile as Airstrike;

            airstrike.Y          = executePosition.Y;
            projectile.netUpdate = true;
            projectile.ai[0]    += Main.rand.NextFloat(0, 621f);
            projectile.rotation += Main.rand.NextFloat(0, 621f);
            airstrike.color      = SetupColor(new Color(255, 217, 62), Element);
        }
Ejemplo n.º 2
0
 public General()
 {
     health       = 80; maxHP = 80; strength = 7; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 15; accuracy = 15; dexterity = 0; evasion = 0; type = "The General"; passive = new Airstrike(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = true; recruitable = false;
     phase        = 0; CreateDrops();
 }
Ejemplo n.º 3
0
 public AerospaceEngineer()
 {
     health       = 15; maxHP = 15; strength = 4; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 16; accuracy = 16; dexterity = 3; evasion = 0; type = "Aerospace Engineering Major"; passive = new Airstrike(this);
     quirk        = Quirk.GetQuirk(this); special = new Drone(); special2 = new Rocket();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "gain 1 charge";
 }