Exemple #1
0
    public virtual void ApplyEffect(SpaceObject target, LargeWeapon systemTargeted = null)
    {
        target.ApplyShieldDamage(AttackManager.Instance.GetShieldDamage());
        target.ApplyArmorDamage(AttackManager.Instance.GetArmorDamage());
        if (systemTargeted != null)
        {
            systemTargeted.SetIntegrity("Current", AttackManager.Instance.GetSystemDamage());
        }

        HUD.Instance.ActiveDamagePanel(target, AttackManager.Instance.GetArmorDamage());
    }