You have 10ft reach?And did you fly over the Wall of Dispel?
"That was a close one..., anyways I'm not daunted, all kobolds know arcane magic trumps faith magic" Kabol is casting Defensively (1d20+16)[23] DC 19
Same for Spellcraft
SpoilerDimension Door to A1
This assumes I'm still prone after my spell
Eye moves to Q18 and attacks
Ranged Touch Attack
(1d20+6)[18]
Ray
[1d8]
DC19