Hmm, tried your instructions to no avail. The problem I have is that after you say "I am ready", if you don't keep Yama targeted, he will eventually return to the cave entrance and give me the fail message every time. If I keep Yama targeted after saying "I am ready", the dialogue will continue (after he returns to the cave entrance) with the instruction to click the electrical charge spell. The problem here is that as soon as that instruction is triggered, the inactive clockwork poofs and is no longer able to be targeted, so the task inevitably fails. There is only a few seconds after the instruction to use the electrical charge spell before the task fails so I am going to setup a hot button command "target inactive clockwork" to see that will solve this issue.