loop on duration for enemy attack spritesheet