private void PostProcessProjectile(Projectile sourceProjectile, float effectChanceScalar)
        {
            InstaKillEnemyTypeBehaviour instakill = sourceProjectile.gameObject.GetOrAddComponent <InstaKillEnemyTypeBehaviour>();

            instakill.EnemyTypeToKill.AddRange(EasyEnemyTypeLists.ModInclusiveSkeletonEnemies);
            instakill.BossesToBonusDMG.AddRange(Skellebosses);
            instakill.bossBonusDMG = 7;
        }
Example #2
0
        private void PostProcessProjectile(Projectile sourceProjectile, float effectChanceScalar)
        {
            InstaKillEnemyTypeBehaviour instakill = sourceProjectile.gameObject.GetOrAddComponent <InstaKillEnemyTypeBehaviour>();

            instakill.EnemyTypeToKill.AddRange(EasyEnemyTypeLists.CubicEnemies);
            if (Owner.PlayerHasActiveSynergy("Eye of the Spider"))
            {
                instakill.EnemyTypeToKill.Add(EnemyGuidDatabase.Entries["phaser_spider"]);
            }
        }
        private void PostProcessBeam(BeamController sourceBeam)
        {
            Projectile proj = sourceBeam.GetComponent <Projectile>();

            if (proj)
            {
                InstaKillEnemyTypeBehaviour instakill = proj.gameObject.GetOrAddComponent <InstaKillEnemyTypeBehaviour>();
                instakill.EnemyTypeToKill.AddRange(EasyEnemyTypeLists.ModInclusiveSkeletonEnemies);
                instakill.BossesToBonusDMG.AddRange(Skellebosses);
                instakill.bossBonusDMG = 1;
            }
        }
        private void PostProcessProjectile(Projectile sourceProjectile, float effectChanceScalar)
        {
            InstaKillEnemyTypeBehaviour instakill = sourceProjectile.gameObject.GetOrAddComponent <InstaKillEnemyTypeBehaviour>();

            instakill.EnemyTypeToKill.AddRange(EasyEnemyTypeLists.ModInclusiveShotgunKin);
        }
        private void PostProcessProjectile(Projectile sourceProjectile, float effectChanceScalar)
        {
            InstaKillEnemyTypeBehaviour instakill = sourceProjectile.gameObject.GetOrAddComponent <InstaKillEnemyTypeBehaviour>();

            instakill.EnemyTypeToKill.Add(enemyToKillEngraved);
        }