F8 targets the closest monster (at least for me it does, probably depends on your keyboard setup in the config)

Then you can hit C to lock onto it and then your 1-10 (enter to cast) and it casts on it. Z sets AoE if you get links.

If something linked while fighting, and the first dies, you can F8 again to target THAT monster and start fighting it.


You can also tab around to pick who you want to fight. And in party, F1-F10 etc keys link to the person in the party depending on the order on the list.