public override void SetStaticDefaults()
        {
            base.SetStaticDefaults();
            SquireMinionTypes.Add(projectile.type);
            ProjectileID.Sets.MinionTargettingFeature[projectile.type] = false;

            ProjectileID.Sets.Homing[projectile.type]     = true;
            ProjectileID.Sets.MinionShot[projectile.type] = true;

            // These below are needed for a minion
            // Denotes that this projectile is a pet or minion
            Main.projPet[projectile.type] = false;
            // This is needed so your minion can properly spawn when summoned and replaced when other minions are summoned
            ProjectileID.Sets.MinionSacrificable[projectile.type] = false;
            IdleLocationSets.trailingInAir.Add(projectile.type);
        }
Exemple #2
0
        public override void SetStaticDefaults()
        {
            base.SetStaticDefaults();
            SquireMinionTypes.Add(projectile.type);
            ProjectileID.Sets.MinionTargettingFeature[projectile.type] = false;

            ProjectileID.Sets.Homing[projectile.type]     = true;
            ProjectileID.Sets.MinionShot[projectile.type] = true;

            // These below are needed for a minion
            // Denotes that this projectile is a pet or minion
            Main.projPet[projectile.type] = false;
            // This is needed so your minion can properly spawn when summoned and replaced when other minions are summoned
            ProjectileID.Sets.MinionSacrificable[projectile.type] = false;
            // Don't mistake this with "if this is true, then it will automatically home". It is just for damage reduction for certain NPCs
        }