I had a similar situation...
I was adjacent.. and i had no Ranged weapons... and an enemy with ranged weapon activated... so it will fight me... but how is this possible if i dont have a ranged weapon ???
You still do damage normally even though you were attacked at range. The ranged enemy just adds 1 extra pip on the die roll. Unless you both have ranged weapons in which case it would take place like a normal fight.