Does enemies block Line of Sight for the Ranged attack or only Permanent terrain blocks it?
Only terrain blocks LoS