If - Conditions
Or - Any (Conditions) are true
Conditions
(Terrain cliff level at (Point(unitXY[0], unitXY[1]))) Greater than 2
(Terrain cliff level at (Point((unitXY[2] x 0.90), (unitXY[3] x 0.90)))) Greater than 2
(Terrain cliff level at (Point(unitXY[0], unitXY[3]))) Greater than 2
(Terrain cliff level at (Point(unitXY[2], unitXY[1]))) Greater than 2
(Terrain pathing at (Point(unitXY[0], unitXY[1])) of type Flyability is off) Equal to True
You are comparing the height level of the location of the bullet with a fixed height, we could compare that fixed height with a variable one, like Terrain diff level at Location of caster. By that the spell can be cast at any height.