If I am using a bow against an enemy who is in melee combat with an ally of mine, I get a -4 on my attack roll, unless I have the precise shot feat. (See page 184 in the Core Rules.
Do I suffer the same penalty when casting a
Ray of Frost? (Consistency would say yes, but the text seems to only talk about shooting / throwing and not casting?)If the ally and I were both in melee combat with my target, would I still get a penalty? (Probably yes, as the text doesn't mention at what range I am.)
If it were just me in melee with the enemy, would I still get a penalty?