Daleka, you simply forgot to put a [target=targettarget] conditional in your first macro. You were trying to cast earth shock on your main.