I have some difficulty understanding the construction とか言う気だろう
Context: the protagonist is trying to learn a new skill and he is surprised by the move made by his teacher.
... Was that supposed to be the ambush (skill) ?
The part とか言う seems to refer to "something like" (By the way, I do not understand the だ just before)
I have found some hints here