GetStab() public method

Gets the stab damage
public GetStab ( ) : int
return int
    public static int GetPlayerBaseDamage(WeaponMelee currentWeapon, string StrikeName)
    {
        int BaseDamage = 1;

        if (currentWeapon != null)
        {
            switch (StrikeName)
            {
            case "SLASH":
                BaseDamage = currentWeapon.GetSlash(); break;

            case "BASH":
                BaseDamage = currentWeapon.GetBash(); break;

            case "STAB":
            default:
                BaseDamage = currentWeapon.GetStab(); break;
            }
        }
        else
        {
            switch (StrikeName)
            {
            case "SLASH":
                BaseDamage = WeaponMelee.getMeleeSlash(); break;

            case "BASH":
                BaseDamage = WeaponMelee.getMeleeBash(); break;

            case "STAB":
            default:
                BaseDamage = WeaponMelee.getMeleeStab(); break;
            }
        }
        return(BaseDamage);
    }