I'm making a new class (well, updated old class) and one of the abilities is functionally very similar to Sneak Attack. But instead of adding damage to all your equipped weapons, I would like to have the script check to see if a) you have a Weapon Focus for the weapon and b) that weapon is a bow. I don't know much of the language so figuring out the syntax is a little beyond me. Would anyone be willing to help me out or point me in the right direction to something that's close so I can try to figure it out?