Forum:Clear vice dragon

Does clear vice dragon effect works if the opponent attcks you, as it states If this card attacks an opponent's monster, the ATK of this card becomes twice the ATK of the attack target. thanks in advance