Пример #1
0
    public bool isSaveableAgainstWeapon(BaseUnit defender, Weapon attackingWeapon)
    {
        //TODO check invunerable save & special rules
        //Check special rules for saves
        bool hasCoverOrInvunerableSave = false;
        if(hasCoverOrInvunerableSave)
            return true;

        if(attackingWeapon.getArmorPierce() <= defender.getSavingThrow())
            return false;

        return true;
    }