dark phantom of chaos
So i attack he pitches his trigger activates i dolka and he dies?
This example is presuming that Zenmaines has both materials:
>Dolka attacks Zenmaines.
>Zenmaines may detach a material to prevent itself from being destroyed (this is a continuous effect and cannot be negated by Dolka).
>During the End Phase, the effect of Zenmaines activates to target and destroy a card on the field.
>You may detach a material from Dolka to negate this effect and destroy Zenmaines.
>Because Zenmaines would be destroyed by Dolka's effect, it may detach its second material to prevent its own destruction but it will not attempt to destroy another card because that effect can only activate once per turn.