i should have been more exact in my description:
my spell will be a lightning that hits the first unit in its way
the problem about ur system is, that the area of possible units is not a narrow and long rect, it is a sector of a circle, close to a triangle
thx for trying to help me but ur suggestion sadly wont work