Attack Bonus
Your attack bonus with a melee weapon is the following:
Base attack bonus + Strength modifier + size modifier
With a ranged weapon, your attack bonus is the following:
Base attack bonus + Dexterity modifier + size modifier + range penalty