I don't know, haven't played FF/Rife in ages. I had to rewrite that part anyway since FFH/Wildmana uses a different XP system. You will only get XP for actual damage, if you meant that bug, it is definetly fixed.
Please do not allow XP to be gained for ranged attacks. It encourages micromanagement, and that becomes a boring, but necessary chore.