I haven't looked at o5e in this context, but for A5e's Spellcasting Targeting rules, check out P. 494 which states, "Some, but not all, spells have a target listed in the spell block. This type of spell operates on the specified type of creatures or objects within range. For instance, the target...